I Remote Desktop Connection Error Code 0x904 Install Info

Troubleshooting Remote Desktop Connection Error Code 0x904: A Comprehensive Guide

Subject: i remote desktop connection error code 0x904 install

1. Symptom Summary

When attempting to install an update, patch, or feature related to Remote Desktop Connection (mstsc.exe) or when an RDP session initialization triggers an automatic component installation, the system returns: i remote desktop connection error code 0x904 install

. While it often appears as a generic network issue, it is frequently caused by expired security certificates, firewall blocks, or network instability. Common Root Causes Expired RDP Certificates: Identify: On the host computer, press Win +

Step 3 – Reinstall RDP client via DISM (Windows 10/11)

dism /online /add-capability /capabilityname:App.Support.RemoteDesktop~~~~0.0.1.0
dism /online /add-package /packagepath:C:\Windows\WinSxS\amd64_microsoft-windows-terminal* /norestart

Identify: On the host computer, press Win + R, type certlm.msc, and navigate to Remote Desktop > Certificates. Note: If you are using a legacy client

Enter the following command to rename the key folder:Rename-Item -path "C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys" -NewName "MachineKeys_old". Reboot the server to regenerate the keys. 4. Configure Firewall Exceptions

If a Group Policy, disk quota, or file system filter driver (antivirus, backup software) marks the target path as write-protected or read-only, the installation fails with 0x904.

Adjust Firewall Settings: Ensure that both Remote Desktop and Remote Desktop (WebSocket) are allowed through the Windows Defender Firewall on both the client and server.