Skip to content

Instantly share code, notes, and snippets.

@dpetzel
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dpetzel/5d170f4328f08b1d09a5 to your computer and use it in GitHub Desktop.
Save dpetzel/5d170f4328f08b1d09a5 to your computer and use it in GitHub Desktop.
set node=remote_pc_name
sc \\%node% start RemoteRegistry
reg add "\\%node%\HKLM\System\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /d 0 /f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment