Azure VM cannot connect to RDP (NLA, Manual)
Today I had to restore a virtual machine from a backup from 2 weeks ago. Once booted I received the error message that I was not able to connect because of 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.
Normally you might want to connect to your Hyper visor and create a remote desktop connection. However in Azure this is not possible. To regain access to your virtual machine follow the steps below.
STEP 1: Go to your virtual machine in the Azure Portal (https://portal.azure.com) From there go to Run command
STEP 2: Select DisableNLA and click on Run
Now give it a minute or 2, and you should receive the following result. You should now be able to connect again to your virtual machine. Don’t forget to solve your network problems and re-enable NLA again.
Thanks for posting this fix! I had never noticed this section with commands that can be run until your post. Great info, thanks!