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.
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
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!