How to Enable Remote Desktop from Command Line in 2024

HelpWire
HelpWire
4.3 هزار بار بازدید - 2 سال پیش - The video demonstrates how to
The video demonstrates how to enable Remote Desktop on Windows 10 with CMD, and open the necessary firewall ports that allow for a successful connection on a Windows 10 machine.

A complete step-by-step guide on how to enable Remote Desktop from Command Line you can find on our blog: https://www.helpwire.app/blog/enable-....

To enable Remote Desktop via the command line:
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f

Enable Remote Desktop via Windows Firewall by entering the following command:
netsh advfirewall firewall set rule group="remote desktop" new enable=Yes

To disable remote desktop with command prompt:
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 1 /f

Disable Remote Desktop (via the Windows Firewall) by
netsh advfirewall firewall set rule group="remote desktop" new enable=No

Content:
0:00 Intro
0:13 Enable RDP using Command Prompt
1:00 Add RDP port into Firewall
1:40 Disable RDP using Command Prompt

#remotedesktop  #windows10  #commandprompt  #rdp
2 سال پیش در تاریخ 1401/09/11 منتشر شده است.
4,309 بـار بازدید شده
... بیشتر