Bitdefender Antivirus — the free edition, at least — appears to be interfering with Remote Desktop Protocol (RDP) connections on Windows. Affected users may receive the following error when they try to log on to a remote PC or server with Network Level Authentication (NLA) enabled:
An authentication error has occurred.
The Local Security Authority cannot be contacted.
This could be due to an expired password.
While an expired password or a server-side misconfiguration can cause this error, it may also indicate a client-side issue. In this case, the error appears to be caused by Bitdefender Antivirus replacing the remote computer’s certificate in order to inspect encrypted RDP traffic. This process breaks Network Level Authentication and causes the connection to fail.
One workaround is to add file-level exclusions in Bitdefender for both the 64-bit and 32-bit versions of the Windows RDP client:
C:\Windows\system32\mstsc.exe
C:\Windows\syswow64\mstsc.exe
This is not an ideal solution, but the free version of Bitdefender Antivirus has a limited control panel and does not provide alternative workarounds.
References
- Bitdefender Antivirus Free Edition breaking RDP : BitDefender
- Remote Desktop Connection Issue [SOLVED] – Microsoft Community
- Bitdefender Antivirus Free – remote Desktop block — The Bitdefender Expert Community
- AWS ec2 windows login error saying An authentication error has occured. The local security authority cannot be contacted – Stack Overflow