Windows : Enable RDP from command line

By | July 5, 2014

Here is a few commands to enable or disable Remote Desktop Protocol and Remote Assistance on Windows 7 and Windows Server 2008 or greater through the command line.

Enable RDP :

Disable RDP :

Command to open inbound RDP port (tcp-3389) on Windows Firewall :


Enable Remote Assistance :

Disable Remote Assistance :