Forum Discussion

suedely's avatar
suedely
Copper Contributor
Feb 24, 2023

Windows 11 Enabling Remote Desktop using Powershell & disabling NLA

When I attempt to run the following command to enable RDP & disable NLA in powershell, it only updates in "System Properties --> Remote". It doesn't update in the Settings App under Remote desktop settings.

Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -name 'fDenyTSConnections' -value 0"
Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -Name 'UserAuthentication' -Value 0"

  • Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -Name 'SecurityLayer' -Value 0

Resources