PowerShell Command to Enable Remote Desktop in Windows

Опубликовано: 10 Сентябрь 2024
на канале: RealClearComputing
169
0

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"