Request Help

Request Help

We are happy to help! Please fill out this form or call us
Call: 866-438-6932

How To Enable Remote Desktop Terminal Services Remotely

So, after delivering a new server to a client and getting it setup on the network, joining the domain and configuring the nightly backup, I decide to take off and finish the rest of  the tasks remotely. Not until I drive back to the office and attempt to log in do I realize I had forgotten to enable remote desktop. This is not the first time this has happened, nor will it probably be the last. I decided to write up this how-to in case others wind up with the same issue.

Enabling Remote Desktop through the registry:

This particular client I dropped the server off to had other servers on site which did have remote desktop enabled. I logged into one of those servers to perform the following:

  1. Launch registry editor then: Start – Run – Regedit
  2. Click on File – Connect Network Registry
  3. The Select Computer screen appears then: Either type the name or IP address or click the Advanced, and then Find Now buttons
  4. The remote computer will show up at the bottom of registry editor:
  5. remote register editingUnderneath the remote computer, expand to HKLMSYSTEMCurrentControlSetControlTerminalServer

  6. In the right window pane, locate fDenyTSConnections and modify it by changing the “1” to a “0”
  7. After changing the value, right-click the remote computer on the left side and choose “Disconnect” and then close registry editor.

remote registry

Now the remote computer will need to be rebooted. If you need to know how to do this, follow these steps.

Rebooting a computer remotely

You can reboot a computer or server remotely from the command line or through computer management.

From the command line:

  1. Click Start – Run – CMD and hit Enter
  2. From the command prompt type:
  3. Shutdown – m \hostname –r
  4. If you receive an error that the workstation is in use and has been locked, you can force a shutdown by typing:
  5. Shutdown –m \hostname –r –f
  6. Be careful with the above command as it will force running applications to terminate.

From Computer Management:

  1. Open Computer Management by right-clicking on the My Computer icon and choosing “Manage”
  2. Click on “Action” and then “Connect to another computer”
  3. Type the name or IP address or click on Browse to find it and click “OK” then you should see the remote computer name next to “Computer Management
  4. Right-click on the computer name and choose “Properties”
  5. Click on the Advanced tab
  6. Underneath Startup and Recovery click the “Settings” button
  7. At the very bottom, click the “Shutdown” button which will bring up shutdown options.
  8. Underneath Action, choose “Restart”
  9. As in the force command from the command line option, if you receive an error, you can try again and choose the “If Hung” option underneath Force Apps Closed
  10. Click OK and the server will reboot
    1. After the server has rebooted, Remote Desktop (Terminal Services) should be up and running and accepting connections.

      John Best
      MCSE, MCSA, MCDBA, CCNA
      Director of IT
      DTI Data
      (727) 345-9665

One Response to “How To Enable Remote Desktop Terminal Services Remotely”

  1. Augustina October 20, 2011 10:40 am #

    Shiver me timbers, them’s some great inoframotin.

Leave a Reply

//www.googleadservices.com/pagead/conversion.js