How to Remotely Enable Remote Desktop Connection

This has been very useful for me a number of times, how to remotely enable Remote Desktop Connection (assuming you’re an admin on the remote machine).

Use regedit (go start->run->type regedit->ok).
Connect to the remote machine (In regedit go file->Connect network registry…->Enter the remote machine’s name (no \\)->ok)
Go to this registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\fDenyTSConnections
if it doesn’t exist create it as a REG_DWORD (new DWORD Value), set it to 0

You may have to reboot the remote machine to get it to pick up.  Try remote desktop, if it doesn’t work run this command to reboot the remote machine:

shutdown -m \\theMachine -r

Thanks to many sites that I’ve found this on over the years, the most recent one being oreilly’s site:
http://oreilly.com/windows/archive/server-hacks-remote-desktop.html

Advertisements
  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: