Remote Desktop Connection Error Code 0x904 Extended Error Code 0x7 Link

Log into the remote server (via a console or alternative remote tool). Press , type certlm.msc , and press Enter . Navigate to Remote Desktop > Certificates .

Check the expiration date of the certificate. If it is expired, right-click and it.

Sometimes, Network Level Authentication (NLA) or encryption mismatches cause the 0x904 error. On the remote host, open . Log into the remote server (via a console

For users seeing this error on Azure Virtual Machines, renaming the key store folder can force Windows to rebuild the certificate environment. In the , go to your VM and select Run command .

Disable . Troubleshooting Checklist Unable to RDP into some Windows Servers - Error code: 0x904 Check the expiration date of the certificate

Enable and set it to RDP .

If you can connect to some servers but not others on the same network, an expired certificate is the most likely culprit. On the remote host, open

Navigate to .

Windows will automatically generate a new, valid self-signed certificate.