Skip to content

Instantly share code, notes, and snippets.

@ndelitski
Last active August 29, 2015 14:02
Show Gist options
  • Save ndelitski/14374f9bbbcce129a3cf to your computer and use it in GitHub Desktop.
Save ndelitski/14374f9bbbcce129a3cf to your computer and use it in GitHub Desktop.
#Enable RDP
Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -name "UserAuthentication" -Value 0
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