I Remote Desktop Connection Error Code 0x904 Install Portable [2026]
Press , type certlm.msc , and press Enter to open the Local Computer Certificate Store. Expand Remote Desktop and click Certificates .
The error 0x904 can also be triggered by a mismatch in the encryption cipher suites supported by the client and the server. This is a common scenario where a newer Windows 11 client attempts to connect to an older Windows Server (e.g., Server 2012 R2).
: Check the expiration date. If it has passed, right-click and the old certificate. Restart Service : Open Command Prompt as an administrator and run: restart-service termserv -force i remote desktop connection error code 0x904 install
Rename-Item -path "C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys" -NewName "MachineKeys_old" Use code with caution.
Expired self-signed certificates are the most common driver behind this error. Purging the stale certificate forces Windows to dynamically install a new one. Press , type certlm
Follow these sequential troubleshooting steps to resolve the issue on your host and client systems. 1. Regenerate Expired RDP Certificates
To perform a clean boot on Windows:
Resolving 0x904 requires moving from the general to the specific.
Log into the host machine locally or via an out-of-band management console (like Azure Serial Console or Hyper-V manager). This is a common scenario where a newer
Execute: Rename-Item -path "C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys" -NewName "MachineKeys_old" .
is a critical connection failure that typically happens immediately after a user inputs their login credentials or after upgrading a machine to Windows 11. The error message states, "This computer can't connect to the remote computer," frequently accompanied by Extended Error Code 0x7 .