Microsoft · Windows
Require Network Level Authentication for Remote Desktop (UserAuthentication)
When set to 1, users must authenticate before a full Remote Desktop session is created (Network Level Authentication, NLA).
Where it lives
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
Values
| Name | Type | Data and meaning | Default |
|---|---|---|---|
UserAuthentication | REG_DWORD | 0 NLA not required1 NLA required | 1 on current Windows releases |
In plain English
NLA makes the client prove the user's credentials (CredSSP) before the server builds a logon session and shows the sign-in screen. It cuts the attack surface of the listener and saves server resources.
Turn it off (0) only to troubleshoot, for example when a user must change an expired password through RDP or the machine has lost its domain trust.
| Restart | Applies to new connections. |
|---|---|
| Group Policy | Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Security > Require user authentication for remote connections by using Network Level Authentication |
| Risk | Setting 0 exposes the pre-authentication logon screen to the network. |
Official sources
- Prepare a Windows VHD or VHDX to upload to Azure (configure NLA) · checked 2026-12-05
Verified Confirmed automatically on the cited source.