More output
This commit is contained in:
@@ -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."
|
||||
}
|
||||
Reference in New Issue
Block a user