Microsoft:RemotelyEnableRemoteDesktop

From My notepad
Jump to: navigation, search

Original link: Windows Server Hacks: Remotely Enable Remote Desktop

To enable/disable Windows Remote Desktop edit the following key:

HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\fDenyTSConnection (REG_DWORD)

  • Value 0: Remote Desktop Enabled
  • Value 1: Remote Desktop Disabled

To modify the registry of a remote computer, open regedit and go to File -> Connect Network Registry...

Once you've set the registry values, issue a remote reboot command:

shutdown -m \\pc_name -r

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox