07 December 2013

Enable Remote Desktop access from the command line

Run this command on the remote computer to allow incoming RDP connections:

reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f

You may also need to allow RDP access in the firewall:

netsh advfirewall firewall set rule group="remote desktop" new enable=Yes

No comments:

Post a Comment