Forum Discussion
suedely
Feb 24, 2023Copper Contributor
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"
- suedelyCopper ContributorThis is also happening in Windows 10 21H2.
- FarmhouseNetworkingCopper ContributorSet-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -Name 'SecurityLayer' -Value 0