Enable Remote Desktop via Command Prompt in Windows 10

Stefan
Enable Remote Desktop via Command Prompt in Windows 10

Remote Desktop allows Windows users to connect to your computer's desktop. Remote Desktop is standard functionality in Windows and can be enabled through the Control Panel.

However, if for some reason you want to enable Remote Desktop via Command Prompt then read on.

Enabling Remote Desktop via Command Prompt is recommended if you want to use scripting or are a system administrator.

Enable Remote Desktop via Command Prompt

To enable remote desktop in Windows via the command prompt (also known as Command Prompt), you must first add a registry key in the Windows registry.

After adding the registry key to enable remote desktop you will need to create a exception to the Windows Firewall institutions.

To get started, open a Command Prompt as an administrator.

In the Windows search window type: Command Prompt. Right-click on the Command Prompt result and choose Run as Administrator.

open command prompt windows

In the Command Prompt window, type the following command:

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

Press Enter to confirm the command. Then type the following command:

netsh advfirewall firewall set rule group="Extern bureaublad" new enable=yes

enable remote desktop

You just added a key to the Windows registry to enable remote desktop and created an exception in the Windows Firewall to allow remote desktop.

I hope this helped you. Thank you for reading!


Problem solved?


Help other people too.
Share this article on a website, forum or via social media.

Join our new computer forum for questions and computer help.
Do you have a computer question?

The email address will not be published. Required fields are marked with *