Skip to main content

I Remote Desktop Connection Error Code 0x904 Install =link= Jun 2026

Use PowerShell to verify the RDP port (3389) is actually reachable: Test-NetConnection [ServerIP] -Port 3389 5. Disable Network Level Authentication (NLA) for Testing

Log into the target/remote machine locally or via an alternative management tool.

If you want, tell me your Windows version (e.g., Windows 10 22H2, Windows Server 2019) and whether this is the client or host install — I’ll give exact commands and tailored steps.

To use this method:

A: Yes. On Windows Server 2016, 2019, and 2022, the 0x904 error appears on the client machine, not the server. You must apply these fixes to the computer initiating the connection.

Rename-Item -path "C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys" -NewName "MachineKeys_old" Use code with caution.

While the initial pop-up implies a generic network drop-out, deep systemic issues within Windows and corporate network environments cause this specific code: i remote desktop connection error code 0x904 install

Security software blocking Port 3389.

Sometimes the native Windows RDP client ( mstsc.exe ) fails. Updating it can resolve 0x904 errors.

An expired or corrupted self-signed certificate on the remote host computer causes the majority of 0x904 errors. To force Windows to generate a clean, unexpired certificate, complete the following steps: Use PowerShell to verify the RDP port (3389)

This article provides a deep dive into the root causes of the 0x904 error and delivers to resolve it permanently. We will cover registry fixes, installation media corruption, permission structures, and specific workarounds for Windows 10, Windows 11, and Windows Server environments.

If the certificate has expired, right-click it and select .

typically signals a failure in the initial handshake between the client and host To use this method: A: Yes

Press Win + R , type certlm.msc , and hit to open the Local Computer Certificate Store.