Azure VM - The remote computer that you are trying to connect to requires Network Level Authentication (NLA)
SOLVED: Azure VM - The remote computer that you are trying to connect to requires Network Level Authentication (NLA). Temporarily disable NLA using the Azure portal run command.
Error: The remote computer that you are trying to connect to requires Network Level Authentication (NLA)
Error when trying to connect to an Azure VM using remote desktop
Temporarily disable NLA using the Azure portal run command
Virtual Machine - Run command
Disable NLA
Solution: Temporarily disable NLA
Virtual Machine - Run command
Disable NLA
Click Run
Restart the VM
Re-enable NLA
Run the following commands on the VM to re-enable NLA
REG add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v disabledomaincreds /t REG_DWORD /d 0 /f REG add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v UserAuthentication /t REG_DWORD /d 1 /f
References:
by Author
Troubleshoot authentication errors when you use RDP to connect to Azure VM
https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/cannot-connect-rdp-azure-vm
Run scripts in your Windows VM by using action Run Commands
https://learn.microsoft.com/en-us/azure/virtual-machines/windows/run-command
Comments