PowerShell Command to Enable Remote Desktop in Windows

Опубликовано: 16 Март 2026
на канале: RealClearComputing
561
2

In this quick tutorial, we'll provide you with the two essential commands to enable Remote Desktop on Microsoft Windows. Whether you're on Windows 10, Windows 11, or Windows Server, this method works seamlessly across platforms.

Commands to Enable Remote Desktop:
Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server" -Name "fDenyTSConnections" -Value 0
Enable-NetFirewallRule -DisplayGroup "Remote Desktop"