Remote Desktop Frequently Asked Questions

Complete FAQ for the Windows Remote Desktop Protocol (RDP)

How to remotely enable Remote Desktop

Share this page with friends, or bookmark it for yourself:

Sometimes you're in a situation where you want to remotely access a computer, but Remote Desktop/Terminal Services isn't enabled on the machine. You might think you're stuck at this point, but if you have credentials on the machine and can remotely access the registry, you can actually enable remote desktop remotely.

Here's the procedure:

  1. Start Registry Editor on your local machine (by default, this is located at c:\windows\regedit.exe)
  2. Click the File menu, then click "Connect Network Registry"
  3. Either type the name of the remote server in the dialog box or browse Active Directory to locate the machine
  4. Click OK
  5. You may get a credentials screen – if so, enter in the credentials for the machine and hit OK
  6. You are now connected to the registry of the remote computer
  7. Go to the following registry key:

    HKEY_LOCAL_MACHINE\
        System\CurrentControlSet\Control\TerminalServer

  8. If the fDenyTSConnections value doesn't exist, create a new DWORD value named fDenyTSConnections
  9. Open the fDenyTSConnections value. The possible values for this setting are as follows:
    0x0
    Enable remote desktop
    0x1
    Disable remote desktop
  10. Set the value to 1 and click OK
  11. To make the change take effect, you will need to reboot the remote server
  12. You can reboot the remote server by opening a command prompt and executing the following command:
    shutdown /m \\servername /r
  13. Wait for the remote server to reboot – this usually takes a minute or two
  14. Remote Desktop is now enabled on the remote machine