How To Disable NLA Remotely & Locally? Easy Ways

You can turn it off using the Registry Editor or PowerShell

Reading time icon 3 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Key notes

  • It would be best if you disabled it when your Windows won’t let you establish a connection to a remote device due to NLA. 
  • Here, we will discuss some popular ways to disable it safely on remote or local computers.
DIsable NLA

NLA (Network Level  Authentication) is an authentication tool that prompts to input credentials before accessing a remote computer.

It provides you with extra security while establishing a remote connection. However, if you want to disable NLA, you are at the right place.

Here in this guide, we will discuss some of the easiest ways to disable it in no time. Let’s get started! 

How to disable NLA on a remote computer?

Before moving to the actual steps to disable Network Level  Authentication, make sure you go through these checks:

  • Administrative access to the machine for which you are attempting to disable NLA.
  • Connection to the computer remotely or physical access to the machine, depending on whether you are trying to disable NLA remotely or locally.
  • A Remote Desktop client is installed on your local machine and the IP address or hostname of the device you are trying to connect to.
  • Need to have access to the system’s desktop environment.
  • Should know primary Windows navigation and locate and access the relevant settings and options in the Windows operating system.

1. Using the Registry Editor

Tip icon Tip
Before making changes to Registry Editor, take a backup of registry files. To do so, go to File, then click Export. Save the .reg file at the desired location.

If anything goes wrong, on Registry Editor, click File, and then Import. Choose this .reg file to restore the registry entries.
  1. Press Windows + R to open the Run window.REGEDIT RUN COMMAND
  2. Type Regedit and press Ctrl + Shift + Enter to open Registry Editor with admin rights. 
  3. Go to File, then click Connect Network Registry. Connect Network Registry - Disable NLA
  4. Enter the remote computer name and click OK
  5. Follow this path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
  6. Go to the DWORD SecurityLayer, double-click on it, and change the Value data to 0.Security Layer - disable NLA
  7. Also, locate and double-click UserAuthentication and change the Value data to 0.User authentication

2. Use the Windows PowerShell

  1. Press the Windows key, type PowerShell, and click Run as administratorPowershell  Disable NLA
  2. Copy and paste the following command and replace the  Target-Machine-Name with your device’s name, and press Enter: $TargetServer = "Server_with_NLA_Enabled"(Get-WmiObject -class "Win32_TSGeneralSetting" -Namespace root\cimv2\terminalservices -ComputerName $TargetServer -Filter "TerminalName='RDP-tcp'").SetUserAuthenticationRequired(0)
  3. Once the process is complete, restart the computer. 

How do I turn off NLA on the local computer?

1. Use the Group Policy Editor

  1. Press Windows + R to open the Run box. GPEDIT - NLA disabled
  2. Type gpedit.msc and press Enter to open the Group Policy Management Console.
  3. Follow this path: Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\SecurityRequire user authentication for remote connections by using Network Level Authentication - disable NLA
  4. Double-click Require user authentication for remote connections by using Network Level Authentication and place a checkmark next to Disabled.Disabled
  5. Click Apply and OK and restart your PC.

2. Use the PowerShell 

  1. Press the Windows key, type PowerShell, and click Run as administratorPowershell Disable NLA
  2. Copy and paste the following command and replace the  Target-Machine-Name with your device’s name, and press Enter: $TargetMachine = “Target-Machine-Name”(Get-WmiObject -class “Win32_TSGeneralSetting” -Namespace root\cimv2\terminalservices -ComputerName $TargetMachine -Filter “TerminalName=’RDP-tcp'”).SetUserAuthenticationRequired(0)
  3. Please let the process get complete and restart your computer. 

3. Use the System Properties

  1. Press Windows + R to open the Run window.SYSDM.CPL - disable NLA
  2. Type sysdm.cpl and press Enter to open System Properties.
  3. Switch to the Remote tab, and remove the checkmark next to Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended).Allow connections
  4. Click Apply and OK.

So, these are methods that you can follow to disable NLA remotely and locally. Try them and let us know which way worked for you in the comments below.

More about the topics: Remote Desktop Connection