Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.