[Solved] The remote computer requires network level authentication

While working on domain-controlled systems, upon trying to remotely access computers, users have reported the following error:





“The remote computer that you are trying to connect to requires network level authentication (NLA), but your windows domain controller cannot be contacted to perform NLA. If you are an administrator on the remote computer, you can disable NLA by using the options on the remote tab of the System Properties dialog box.”

 

The Remote Computer Requires Network Level Authentication

Cause

The crux of the error suggests that the domain controller cannot be contacted, thus network level authentication cannot be performed. The error has been reported even when Network Level Authentication was enabled.

Our strategy towards dealing with the issue would be to totally disable Network Level Authentication. While the NLA provides extra security, we perhaps have no choice here.

Solution 1] Disable NLA using Properties

1] Press Win + R to open the Run window and type the command sysdm.cpl. Press Enter to open the System Properties window.

2] In the Remote tab, uncheck the option for “Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended).”

Disable Remote Assitance

 

3] Click on Apply and then OK to save the settings.

 

Solution 2] Disable NLA using Registry

If the above method does not work, we can disable NLA from the Registry itself.

1] Press Win + R to open the Run window and type the command regedit. Press Enter to open the Registry Editor.

2] Select File and then Connect Network Registry. Wait till the network connects.

3] Navigate to the following path:

HKLM  >>SYSTEM >> CurrentControlSet >> Control  >>Terminal Server >> WinStations >> RDP-Tcp





4] Change the values of the entries SecurityLayer and UserAuthentication to 0.

5] Close the Registry Editor.

6] Restart the system.

 

Solution 3] Disable NLA using Powershell

1] Press Win + R to open the Run window and type the command PowerShell. Press Enter to open the Powershell window.

2] Copy-paste the following command in Powershell:

$TargetMachine = “Name of the target machine”

(Get-WmiObject -class “Win32_TSGeneralSetting” -Namespace root\cimv2\terminalservices -ComputerName $TargetMachine -Filter “TerminalName=’RDP-tcp‘”).SetUserAuthenticationRequired(0)

Where “Name of the target machine” is the target machine’s name.

3] Press Enter to execute the command and restart the system once done.

Hope it helps!


css.php