You can enable Remote Desktop to your PC via the command line. It’s far faster and more reliable than doing it through the GUI as you won’t miss any steps.
This will not work on Windows Home edition, you must be at least Windows Pro or above.
To start, you’ll need an Administrator level command prompt. Then paste in the following registry, firewall, and user permission commands.
#Enable Remote Desktop - Equivalent to "Allow remote connections to this computer" in System Properties reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v fDenyTSConnections /t REG_DWORD /d 1 /f #Allow RDP through the firewall netsh advfirewall firewall set rule group="remote desktop" new enable=Yes #Authorise a specific domain user or group to connect net localgroup "remote desktop users" "domain.local\username" /add
Optional: Disable NTLM Authentication
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v UserAuthentication /t REG_DWORD /d 0 /f
Bonus: If you’re using an SSL VPN or Guacamole and everything works with the native Remote Desktop Connection client, but your web or linux based client can’t connect… Try to disable this component of the graphics driver.
I’ve found that this mostly applies to computers that got upgraded from Windows 7 to Windows 10, and do not have an up to date graphics driver.
#Disable WDDM reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v fEnableWddmDriver /t REG_DWORD /d 0 /f
You’re all set.
Find the computer name, and launch Remote Desktop Connection from your client PC.