Posted on

Remotely Enabling Remote Desktop

Windows Remote Management (WinRM) is enabled By default on a Windows Server, however Remote Desktop (RDP) is Disabled. 

Enabling RDP remotely by command line:

To enable RDP with the Command Prompt, use the following steps.

  1. Launch the Command Prompt as Administrator.
  2. Type the following command:
1Reg add “\\computername\HKLM\SYSTEM\CurentControlSet\Control\Terminal Server”  /v fDenyTSConnections /t REG_DWORD /d 0 /f

Where ‘Computername’ is the name of the computer you wish to enable RDP on.