Azure VM: Remote Computer Requires Network Level Authentication (2024)

ByPrajwal Desai

After creating a VM in Azure, when I attempted to access it via RDP, I encountered the error “The remote computer requires network level authentication, which your computer does not support.” In this post, I will show you how to remotely disable Network Level Authentication (NLA) on an Azure virtual machine.

The process of creating a new virtual machine in Azure only took a short while, and the machine was soon operational. The VM was running the latest version of the Windows 10 operating system. When I attempted to RDP this Azure VM, I immediately got an error related to NLA. See also how to troubleshoot issues when you can’t RDP into an Azure VM using AAD credentials.

When you create a virtual machine in Azure, the Windows client OS has network level authentication (NLA) enabled by default. With Network Level Authentication, user authentication is finished before you connect to a remote desktop and the logon screen shows up. The only workaround is to disable the NLA because it can occasionally prevent you from connecting via RDP to an Azure VM.

Azure VM: Remote Computer Requires Network Level Authentication (1)

Azure VM: Remote Computer Requires Network Level Authentication

The following error appeared when I attempted to RDP into an Azure VM. Remote Desktop Connection: The remote computer requires network level authentication, which your computer does not support. For assistance, contact your system administrator or technical support.

To resolve this error, you must disable the network level authentication on the Azure VM. Since you cannot RDP the VM, you cannot log in to this virtual machine. In these situations, Microsoft allows you to use “Run Command” on a remote VM hosted in Azure, using which you can turn off NLA.

Azure VM: Remote Computer Requires Network Level Authentication (2)

If you want to disable NLA on Azure VM, you can utilize the Run command feature. The Run Command uses the VM agent to let you run a script inside the virtual machine. This can be helpful for troubleshooting and recovery, and for general machine and application maintenance.

In the Azure portal, go to Virtual Machines and select the Azure VM on which you want to disable NLA. On the left pane, select Run Command under Operations. From the list of run commands, select “DisableNLA.”

Azure VM: Remote Computer Requires Network Level Authentication (3)

The DisableNLA run command in Azure is actually a registry code that turns off the network level authentication on the remote Azure VM.

Disables Network Level Authentication (NLA): You can use this script to disable NLA if RDP connections are failing with 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.’ or error ‘An authentication error has occurred. The Local Security Authority cannot be contacted.’ NLA is a security feature that should only be disabled temporarily to allow RDP connections to succeed until the domain controller connectivity issue has been resolved.

To initiate the Disable NLA run command script, select Run.

Azure VM: Remote Computer Requires Network Level Authentication (4)

The script execution begins where it runs the following code on the virtual machine and disables the network level authentication. Do note that the script uses a code that turns off the NLA via registry.

Write-Output 'Configuring registry to disable Network Level Authentication (NLA).'$path = 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp'Set-ItemProperty -Path $path -Name UserAuthentication -Type DWord -Value 0Write-Output 'Restart the VM for the change to take effect.'

You must restart the VM after the script completes for the change to take effect. The script itself does not restart the VM.

Azure VM: Remote Computer Requires Network Level Authentication (5)

After you have successfully disabled the NLA on Azure VM, you must restart the virtual machine. Select the Virtual Machine and in the Overview tab, use the Restart option.

Azure VM: Remote Computer Requires Network Level Authentication (6)

After the VM restart is complete, you can now RDP to the Azure VM. I hope the steps covered in this post helped you to resolve the NLA error. Kindly let me know in the comments section in case you have any questions.

Azure VM: Remote Computer Requires Network Level Authentication (7)

Need more help?

If you need further assistance on the above article or want to discuss other technical issues, check out some of these options.

Forums

Contact

Azure VM: Remote Computer Requires Network Level Authentication (2024)
Top Articles
Must Learn KQL Part 1: Tools and Resources
Reduce Shipping Errors: Our Top 10 Tips - Boostmyshop
Truist Bank Near Here
Chatiw.ib
Nwi Police Blotter
According To The Wall Street Journal Weegy
Computer Repair Tryon North Carolina
Produzione mondiale di vino
No Credit Check Apartments In West Palm Beach Fl
Jet Ski Rental Conneaut Lake Pa
4Chan Louisville
83600 Block Of 11Th Street East Palmdale Ca
Hmr Properties
Magic Mike's Last Dance Showtimes Near Marcus Cedar Creek Cinema
Curtains - Cheap Ready Made Curtains - Deconovo UK
Kris Carolla Obituary
Slope Tyrones Unblocked Games
Everything We Know About Gladiator 2
使用 RHEL 8 时的注意事项 | Red Hat Product Documentation
Officialmilarosee
Effingham Bookings Florence Sc
Reptile Expo Fayetteville Nc
Baja Boats For Sale On Craigslist
Talkstreamlive
Rust Belt Revival Auctions
Shoe Station Store Locator
2021 MTV Video Music Awards: See the Complete List of Nominees - E! Online
What Equals 16
Poochies Liquor Store
Labcorp.leavepro.com
Best Town Hall 11
Yayo - RimWorld Wiki
Mami No 1 Ott
"Pure Onyx" by xxoom from Patreon | Kemono
Persona 4 Golden Taotie Fusion Calculator
Housing Assistance Rental Assistance Program RAP
How to Get Into UCLA: Admissions Stats + Tips
Gas Prices In Henderson Kentucky
Does Iherb Accept Ebt
Synchrony Manage Account
Temu Y2K
Rs3 Bis Perks
Cranston Sewer Tax
Lonely Wife Dating Club בקורות וחוות דעת משתמשים 2021
Sdn Fertitta 2024
3 Zodiac Signs Whose Wishes Come True After The Pisces Moon On September 16
Parent Portal Pat Med
Penny Paws San Antonio Photos
Craigslist Sparta Nj
O'reilly's On Marbach
Anthony Weary Obituary Erie Pa
Latest Posts
Article information

Author: Jerrold Considine

Last Updated:

Views: 6331

Rating: 4.8 / 5 (58 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Jerrold Considine

Birthday: 1993-11-03

Address: Suite 447 3463 Marybelle Circles, New Marlin, AL 20765

Phone: +5816749283868

Job: Sales Executive

Hobby: Air sports, Sand art, Electronics, LARPing, Baseball, Book restoration, Puzzles

Introduction: My name is Jerrold Considine, I am a combative, cheerful, encouraging, happy, enthusiastic, funny, kind person who loves writing and wants to share my knowledge and understanding with you.