How to enable remote desktop with cmd

In this article let’s discuss about How to enable remote desktop with cmd. Let’s go through the following methods without any delay.

Method 1:

reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
netsh advfirewall firewall set rule group="remote desktop" new enable=Yes

If you are facing any issues with the above approach then try the alternative that is given below. It may look similar by have a try!

Method 2 :

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

Hope the above solution works.

Realted Posts : How to install pyspark