Enable RDP remotely on Windows PC

There are different methods to remotely enable RDP on a Windows Desktop PC. My preference goes to the PsExec method in a domain managed environment.

You can download the PsExec tool here. Unzip the PStools file and place the files in a directory you can easily access. For this method you only need PsExec.exe. Start a command prompt screen as admin and use the following commands:

Enable RDP in registry:

psexec.exe \\<computer name> reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
Disable firewall rule for RDP:
psexec.exe \\<computer name> netsh firewall set service RemoteDesktop enable

Source:
https://4sysops.com/archives/enable-remote-desktop-remotely-on-windows-10/

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.