How to Enable/Disable Remote Desktop Using PowerShell

preview_player
Показать описание
In this video I will show you guys how to Enable or disable Windows 10 Remote Desktop using PowerShell. You can also try this method on your other Windows OS like Windows 7, Windows 8.1 or Windows Server OS.

Enable Remote Desktop: Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -name "fDenyTSConnections" -value 0

Disable Remote Desktop: Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -name "fDenyTSConnections" -value 1

Enable Remote Desktop From Firewall: Enable-NetFirewallRule -DisplayGroup "Remote Desktop"

Disable Remote Desktop From Firewall: Disable-NetFirewallRule -DisplayGroup "Remote Desktop"

Note:- This video has followed all the YouTube community guideline rules. The purpose of this video is to share my knowledge with everyone that is totally Legal, Informational and for Educational purpose. I totally do not support any types of illegal acts or videos. The videos are completely for legal purposes.

✅ ✅ ✅ My YouTube Parts -✅ ✅ ✅

___________________________________

Please Do Like, Share & Subscribe -Need Your Support

#RemoteDesktop #Powershell
Рекомендации по теме
Комментарии
Автор

How do I exit the cmd prompt in the remote desktop? In the remote desktop, I'm stuck on the cmd prompt. Thanks for your help.

wxwjxzd
Автор

Hi Like your Video, I need to do enable /Disable on remote computer, can u help me

rajbamane