Sunday, December 27, 2015

How to enable Remote Desktop remotely through registry

How many times you tried that remote desktop and it fail, you are sure remote desktop is enabled; yet you can ping it but cant login remotely.

It happen to all of us. For example if you dis-joined a computer from the domain remote desktop get reset to default setting (disabled state).

Thank God that we have alternative way to enabled it back remotely; through Registry :)

Prerequisites:

  1. Network connection to desired computer.
  2. Remote registry service enabled.
  3. Administrators privilege.
Action:
  1. From another computer open registry (regedit.exe) from cmd or run with administrator privilege.
  2. From your registry console choose File > connect network registry then type your desired destination computer.
  3. Navigate to below registry key and change the REG_DWORD key "fDenyTSConnections" value to {1} to Disable it.
 HKLM\System\CurrentControlSet\Control\Terminal Server


Happy solving! 

No comments: