Skip to content

Instantly share code, notes, and snippets.

@kmondesir
Last active February 24, 2021 13:06
Show Gist options
  • Save kmondesir/84a5e9bdd702f185f2eecbd6891a20f7 to your computer and use it in GitHub Desktop.
Save kmondesir/84a5e9bdd702f185f2eecbd6891a20f7 to your computer and use it in GitHub Desktop.
# Make sure to run the shell with administrator credentials
Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -name "fDenyTSConnections" -value 0
Enable-NetFirewallRule -DisplayGroup "Remote Desktop"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment