Remotely Enable Remote Desktop

There are times when accessing a computer with remote desktop is essential. However, what do you if you forget to enable remote desktop before you deploy the machine at a remote location. The only difference between enabling remote desktop and disabling it is a simple registry setting. Thankfully we can remotely edit the registry to enable remote desktop.

Logon to a XP workstation or 2000/2003 Server with administrator permissions.

Start the registry editor by choosing Start > Run. Type “regedit” and click OK.

Next, select File > Connect Network Registry

Type in the computer name you want to connect to in the object name field.

Click OK and you should see a new computer node appear in the tree.

Expand the new node and browse to following registry key.

HKLMSYSTEMCurrentControlSetControlTerminal Server

In the Terminal Server key locate the REG_WORD value fDenyTSConnection. Edit the fDenyTSConnection DWORD and change the value field from 1 to 0 and click OK.

Right-click on the computer node in the left tree and select Disconnect.

You should now be able to use remote desktop to connect to the remote machine. It may be necessary to reboot the machine remotely as well. If so, you can simply run this command at a command prompt.

shutdown -m servername r
Tags: , ,

3 Comments so far »

  1. Jameson Perham said,

    Wrote on January 21, 2008 @ 6:41 pm

    That is so helpful thanks!

  2. on line keno said,

    Wrote on July 18, 2008 @ 9:42 pm

    on line keno…

    southeastern bleary maintenances Darius …

  3. california sundowner card room said,

    Wrote on November 2, 2008 @ 6:10 pm

    california sundowner card room…

    reeling slingshot hands floppies …

Comment RSS · TrackBack URI

Leave a Comment

Name: (Required)

E-mail: (Required)

Website:

Comment: