What Is Network Level Authentication (NLA)? Enable, Disable and Fix RDP Errors

On this page
Network Level Authentication (NLA) is a Remote Desktop (RDP) security feature that makes you sign in before a remote session is created. Without NLA, the remote PC starts a full Windows session and shows its login screen to anyone who connects; with NLA, your credentials are checked first, so unauthenticated users never reach the desktop. Keep NLA on unless you have a specific reason to turn it off.
NLA at a glance
| Question | Answer |
|---|---|
| What is it? | Pre-authentication for Remote Desktop connections |
| How does it work? | The client proves who you are with CredSSP over TLS before the server starts a session |
| Default? | On by default in Windows 10, Windows 11 and Windows Server |
| Main benefit | Blocks unauthenticated attackers and reduces denial-of-service and pre-login exploit risk (such as BlueKeep, CVE-2019-0708) |
| Needs | An RDP client that supports CredSSP (all current Windows, Mac and mobile Microsoft clients do) |
How Network Level Authentication works
- Your Remote Desktop client connects to the remote PC on port 3389.
- A TLS-encrypted channel is set up.
- The client sends your credentials through the CredSSP (Credential Security Support Provider) protocol, which authenticates with Kerberos or NTLM.
- Only if you are authenticated does the server create a Windows session and show the desktop.
Without NLA, step 4 happens first: the server spends memory and CPU drawing a login screen for anyone, which attackers can abuse.
Why NLA matters for security
- Stops anonymous access to the Windows logon screen.
- Reduces exposure to pre-authentication exploits. For example, NLA was a key mitigation for the "wormable" BlueKeep RDP flaw, because attackers needed valid credentials first.
- Limits resource-exhaustion attacks that open many fake sessions.
NLA is not enough on its own. Never expose RDP (port 3389) directly to the internet: use a VPN or Remote Desktop Gateway, strong passwords, account lockout, and multi-factor authentication. See types of authentication and network security testing.
How to enable or disable NLA in Windows 11 and 10
Remote Desktop hosting requires Windows 11/10 Pro, Enterprise or Education (Home can only connect out).
Method 1: Settings (Windows 11)
- Open Settings → System → Remote Desktop.
- Turn on Remote Desktop.
- Click the arrow next to it and tick or untick "Require devices to use Network Level Authentication to connect".
Method 2: System Properties (Windows 10 and 11)
- Press Win + R, type
SystemPropertiesRemoteand press Enter. - Under Remote Desktop, choose Allow remote connections to this computer.
- Tick "Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended)" to enable NLA, or untick it to disable.
Method 3: Group Policy (Pro/Enterprise, or for many PCs)
gpedit.msc → 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" → Enabled (or Disabled). Run gpupdate /force.
Method 4: Registry
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp, value UserAuthentication (DWORD): 1 = NLA on, 0 = NLA off. Back up the registry before editing.
Method 5: PowerShell (also for a remote server)
Run PowerShell as administrator:
(Get-CimInstance -ClassName Win32_TSGeneralSetting -Namespace root\cimv2\terminalservices -Filter "TerminalName='RDP-tcp'").UserAuthenticationRequired shows the current setting (1 = on).
To change it: Get-CimInstance -ClassName Win32_TSGeneralSetting -Namespace root\cimv2\terminalservices -Filter "TerminalName='RDP-tcp'" | Invoke-CimMethod -MethodName SetUserAuthenticationRequired -Arguments @{UserAuthenticationRequired=1} (use 0 to turn it off). Add -ComputerName SERVER01 to Get-CimInstance to change a remote machine you manage.
Common NLA errors and fixes
| Error message | Cause | Fix |
|---|---|---|
| "The remote computer requires Network Level Authentication, which your computer does not support" | Very old client, or CredSSP disabled on the client | Update Windows and the Remote Desktop app; on very old systems enable CredSSP |
| "An authentication error has occurred. The function requested is not supported" / "CredSSP encryption oracle remediation" | Client and server have different CredSSP security updates | Install the latest Windows updates on both machines (don't weaken the Encryption Oracle policy permanently) |
| "The remote computer requires NLA, but your Windows domain controller cannot be contacted" | Server can't reach a domain controller, or time/DNS mismatch | Check DNS and time sync; sign in with a local admin account; temporarily disable NLA on the server via console if you are locked out |
| "Your credentials did not work" | Wrong username format or password, or a Microsoft account / Windows Hello PIN-only account | Use MicrosoftAccount\[email protected] or the full account email and your password, not the PIN |
| Can't connect at all | Remote Desktop off, firewall, PC asleep, wrong edition | Enable Remote Desktop, allow it in Windows Defender Firewall, check the PC is Pro and awake |
Should you ever disable NLA?
Only briefly, to fix a problem such as a locked-out domain account or a very old client that can't be updated, and only on a network you control. Turn it back on as soon as the issue is fixed.
FAQ
Is Remote Desktop with NLA more secure?
Yes. It requires valid credentials before a session starts, which blocks anonymous connection attempts and several pre-login exploits.
Does NLA work with Mac, iPhone or Android?
Yes. Microsoft's Windows App (formerly Remote Desktop) on macOS, iOS and Android supports NLA.
What port does Remote Desktop use?
TCP 3389 (and UDP 3389 for better performance). Don't open it to the internet; use a VPN or RD Gateway.
Is NLA the same as two-factor authentication?
No. NLA checks your password before the session; add MFA (for example through RD Gateway or Microsoft Entra) for a second factor. See single-factor authentication.