Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AhmedSakrr/598130b6777630928363be1ecac81c19 to your computer and use it in GitHub Desktop.
Save AhmedSakrr/598130b6777630928363be1ecac81c19 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