Short answer: an older Infineon TPM can cause Remote Desktop to report “The Local Security Authority cannot be contacted”. In our case we updated the TPM firmware, then repaired a stale Entra device registration before the existing web-account RDP shortcut was confirmed working. Check both the TLS/TPM evidence and device registration. Do not assume a firmware update alone proves the connection is fixed.
A customer reported that Remote Desktop to an Entra joined workstation failed even though Microsoft 365 sign-in and MFA succeeded. The investigation found a TPM firmware problem. The completed recovery also included removing a stale duplicate Entra device record and running device registration recovery. The existing Remote Desktop shortcut then connected successfully. A later case showed why the temporary TLS workaround also needs to be removed after the repair.
Fixed by Brendan Ramstadius, Senior Technician at GCIT, with Kenn Cruz, IT Support Specialist. Written up by Elliot Munro, CISO.
Symptoms
You connect with Remote Desktop Connection (mstsc) to a Windows 10 or Windows 11 PC that is joined to Microsoft Entra ID. You may be prompted to sign in with your work account and approve MFA, and then the connection fails with:
An authentication error has occurred.
The Local Security Authority cannot be contactedRemote computer: [computer name]
This could be due to an expired password.
Please update your password if it has expired.
For assistance, contact your administrator or technical support.

Selecting See details usually shows “Error code: 0x0, Extended error code: 0x0”, which does not help much. People also search for this as “RDP LSA cannot be contacted Azure AD”, “Remote Desktop authentication error Entra joined” or “RDP local security authority error not password”.
A later variant, on a different PC, looked like this:
This computer can’t connect to the remote computer.
Try connecting again. If the problem continues, contact the owner of the remote computer or your network administrator.
Error code: 0x904
Extended error code: 0x7
Clues that point to the TPM rather than the account:
- Sign-in logs in Entra ID show the Remote Desktop sign-in and MFA as successful.
Test-NetConnection [remote PC] -Port 3389succeeds, and other people can connect to the same PC.- The remote PC’s Security log shows no failed logon (event 4625), because the connection never gets far enough to try a logon.
- The connecting PC’s Applications and Services Logs > Microsoft > Windows > TerminalServices-RDPClient > Operational log shows the secure (TLS) handshake failing before the connection is dropped.
- The remote PC’s Applications and Services Logs > Microsoft > Windows > Crypto-NCrypt > Operational log shows “Cryptographic operation failed” events at the moment you try to connect. Microsoft’s Q&A answer on this issue describes error 0x40290423, “The requested salt size for signing with RSAPSS does not match what the TPM uses”.
Affected Software
- Application: Remote Desktop Connection (mstsc.exe) using web account or Entra ID sign-in
- Platform: Windows 10 and Windows 11 PCs joined to Microsoft Entra ID
- Hardware: PCs with an older Infineon (IFX) TPM 2.0 chip. In our case an HP ProDesk 600 G4 whose TPM reported a specification sub-version of 1.16.
Cause
Remote Desktop to an Entra ID joined PC uses Network Level Authentication over a TLS connection, and the remote PC proves its identity with a key stored in its TPM. Modern Windows offers an RSA-PSS signature (shown in Windows as RSAE-PSS/SHA256) for that step. TPM 2.0 firmware at version 1.16 or earlier on some Infineon chips cannot produce a valid RSA-PSS signature with the salt size Windows asks for. The handshake aborts, and Remote Desktop reports it as the generic “Local Security Authority cannot be contacted” error.
Because the failure happens before Windows checks the password, resetting passwords, changing the user name format, adding the user to Remote Desktop Users, or changing the RDP security layer makes no difference. We tried all of those before the Crypto-NCrypt log and the TPM version gave it away.
The 0x904 variant came from the stopgap. To get the meeting room PC working quickly, the RSA-PSS entries had been removed from Windows’ TLS signature list on both PCs. Once the TPM was updated, connections to some PCs started failing with 0x904 extended 0x7 until the default list was put back.
Resolution
Step 1: Confirm the TPM is the problem
- On the remote PC (the one you are connecting to), press Windows + R, type
tpm.mscand press Enter. - Under TPM Manufacturer Information, note the Manufacturer Name and Manufacturer Version. IFX means Infineon.
- For the specification sub-version, run this in an elevated PowerShell window:
Get-CimInstance -Namespace root\cimv2\Security\MicrosoftTpm -ClassName Win32_Tpm | Select-Object ManufacturerVersion, SpecVersion
A SpecVersion ending in 1.16 or lower on an Infineon TPM matches this issue. - Try a connection and check Crypto-NCrypt > Operational on the remote PC for errors at that time.

Step 2: Update the TPM firmware
- Download the TPM firmware update for that exact model from the PC maker (HP, Dell, Lenovo and others publish these as separate updates, often called a TPM configuration or TPM firmware utility).
- Make sure you have the BitLocker recovery key for the PC, then suspend BitLocker from an elevated PowerShell window:
Suspend-BitLocker -MountPoint "C:" -RebootCount 2 - Read the vendor instructions. On the HP model we fixed, the utility needed Intel virtualisation (VT-x) turned off in the firmware first. We did this remotely with HP’s Client Management Script Library (HP CMSL) PowerShell module rather than visiting the PC.
- Run the update and restart. The PC may stop at a firmware screen asking you to press F1 to continue, so have someone near the keyboard.
- Turn virtualisation back on if you turned it off. While it is off, Windows Hello PIN sign-in may not work, so sign in with the password in the meantime.
- Check
tpm.mscagain. On our PC the Manufacturer Version changed from 7.63 to 7.85. The successful RDP test was recorded after the device registration recovery in the next step.
Step 3: Clean up the device record
- In the Microsoft Entra admin centre, inspect the device records. Match the current device ID from
dsregcmd /statusbefore identifying a stale duplicate. Do not delete a record based only on a matching PC name. - On the PC, run
dsregcmd /forcerecoveryfrom an elevated prompt and sign in when asked. Then rundsregcmd /statusand confirm AzureAdJoined : YES. - Retest the original web-account Remote Desktop shortcut. In the completed case, this connected successfully after the stale device record was removed and registration recovery completed.
Step 4: Only if the firmware cannot be updated straight away
- On the remote PC, open Registry Editor and go to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Cryptography\Configuration\Local\SSL\00010003 - Export the key as a backup, then open the Functions value and remove the three entries
RSAE-PSS/SHA256,RSAE-PSS/SHA384andRSAE-PSS/SHA512. - Restart the PC. Windows then falls back to an older signature type the TPM can handle.
- Record the change against the PC and put the original list back as soon as the firmware is updated.
Important Notes
- The stopgap can cause error 0x904. After our TPM update, other connections failed with “Error code: 0x904, Extended error code: 0x7” from PCs that still had RSA-PSS removed. Restoring the default Functions list fixed them straight away. We then checked the value on every PC at the site. The healthy list had 12 entries including the three RSAE-PSS entries, and any PC with 9 entries still carried the workaround. If you see 0x904 extended 0x7 after anyone has hardened TLS settings, compare this value with a working PC first.
- Do not apply the workaround fleet wide. Removing RSA-PSS affects all TLS on that PC, not just Remote Desktop, and some websites and services prefer it.
- Disabling NLA is not a fix. Some older guides suggest turning off Network Level Authentication or editing the .rdp file. That exposes the PC to attacks before sign-in, and it no longer works for Entra ID sign-in anyway.
- Watch shared PCs. Microsoft notes that web account sign-in for Remote Desktop only asks the user to re-authenticate about every 30 days by default. On shared meeting room PCs, give each person their own Windows profile, or use a Conditional Access sign-in frequency policy, so one person’s saved shortcut does not sign the next person straight in.
The same stopgap can also break app sign-in. On one PC it stopped FYI Desktop signing in to Microsoft until the default list was restored and the firmware updated. See FYI Desktop: SSL Connection Could Not Be Established.
Related Resources
- Microsoft Q&A: RDP to Entra joined PC, “The local security authority cannot be contacted” (TPM and RSA-PSS)
- Microsoft Learn: Connect to remote Microsoft Entra joined devices
- Microsoft Learn: Cipher suites in TLS/SSL (Schannel SSP)
- Fix: RDP NLA “Domain Controller Cannot Be Contacted” Error
- Fix: “We Can’t Open That Page Right Now” at Windows Sign-in
- What to Do When Windows Asks for a BitLocker Recovery Key
- GCIT hardware and device management
If Remote Desktop between your office PCs keeps failing, or you want firmware and TLS changes tracked properly across your fleet, get in touch with our team.