More output

This commit is contained in:
2023-11-06 12:47:50 +01:00
parent accecefbe1
commit e7bb83276a
2 changed files with 3 additions and 0 deletions

View File

@@ -82,6 +82,8 @@ function SetupEleveReg {
function EnableRDP {
Write-Host "Enabling RDP..."
Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server" -Name "fDenyTSConnections" -Value 0
Enable-NetFirewallRule -Group "@FirewallAPI.dll,-28752"
Write-Host "RDP enabled."
}