An Azure service that is used to provision Windows and Linux virtual machines.
And i also checked my network and can i ask for help ?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm trying to connect to an Azure Windows VM using RDP.
I receive the error: [extra error]
I have already tried restarting the VM and verifying the NSG rules. What else should I check?
An Azure service that is used to provision Windows and Linux virtual machines.
And i also checked my network and can i ask for help ?
AI answer
Since restarting the VM and verifying NSG rules were already done, check the VM-side RDP authentication settings next.
REG add "HKLM\SYSTEM\CurrentControlSet\Services\gpsvc" /v Start /t REG_DWORD /d 4 /f
After the issue is fixed, restore it:
sc config gpsvc start= auto
sc start gpsvc
gpupdate /force
If the setting gets reverted again, an Active Directory policy is causing the problem. reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v UserAuthentication /t REG_DWORD /d 0
Then restart the VM and test RDP again. After resolving the issue, re-enable NLA and restart the VM:
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
reg query "HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS x.x\Server" /v Enabled
If the returned value is not 1, that protocol is disabled and must be enabled. reg query "HKLM\SYSTEM\CurrentControlSet\Control\Lsa\FIPSAlgorithmPolicy" /v Enabled
If it returns 1, change it to 0. Query the current RDP minimum encryption level:
reg query "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v MinEncryptionLevel
If it returns 4, change it to 2 and restart the VM.If the problem is specifically an authentication error, the most relevant next checks are NLA, domain communication, TLS, FIPS, and MinEncryptionLevel.
References: