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.
- Launch the Command Prompt as Administrator.
- Type the following command:
1 | Reg 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.