I Remote Desktop Connection Error Code 0x904 Install ((install))

Go to Settings > Windows Update to ensure you have the latest RDP client components. 3. Adjust Firewall Settings Ensure that Port 3389 is open for RDP in your firewall. Search for "Allow an app through Windows Firewall." Click Change settings (admin rights required). Check Remote Desktop for both Public and Private networks. 4. Use IP Address Instead of Hostname

Error 0x904 isn’t just a generic “can’t connect.” It usually means the configuration on the target machine is missing a required role service or is stuck in a “listening but not accepting” state.

2. Clear Corrupted Cryptographic MachineKeys (For Azure and Cloud VMs) i remote desktop connection error code 0x904 install

To renew an expired RDP certificate:

If this error happens frequently, you can adjust the Group Policy settings on the remote computer to manage how console sessions are handled. Go to Settings > Windows Update to ensure

Use the dedicated Microsoft Remote Desktop app, which often bypasses this bug.

For those using Azure, a corrupt certificate store often prevents new certificates from being created. Search for "Allow an app through Windows Firewall

The most frequent cause is an expired self-signed certificate on the remote host that failed to auto-renew. Log into the remote server (locally or via another tool). Open the Certificates MMC snap-in ( certlm.msc Remote Desktop > Certificates Check the expiration date. If it’s expired, Restart the Remote Desktop Services restart-service termserv -force in PowerShell) to force Windows to generate a new one. 2. Adjust Firewall Settings

The error typically surfaces alongside an extended error code (such as 0x7 or 0x0 ). The standard prompt states: "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."

Check the expiration date. If expired, right-click and Delete the old certificate.