I Remote Desktop Connection Error Code 0x904 Better
Here’s a concise review and troubleshooting guide for Remote Desktop Connection error code 0x904:
Step 2: Verify Remote Desktop Settings
- Enable Remote Desktop: Ensure Remote Desktop is enabled on the remote computer. Go to Settings > System > Remote Desktop, and toggle the switch to On.
- Check firewall settings: Ensure the Windows Firewall allows Remote Desktop connections. Go to Control Panel > System and Security > Windows Defender Firewall, and click Allow an app or feature through Windows Defender Firewall. Make sure Remote Desktop is allowed.
Conclusion
Error code 0x904 is rarely a sign of a catastrophic hardware failure; it is almost always a navigation issue. Your computer is essentially "lost" on the network. By verifying the IP address, flushing your DNS cache, and ensuring Network Discovery is enabled, you can quickly resolve this error and restore your remote workflow.
If none of these steps work, contact your network administrator to check if the target machine is online and reachable on the network.
Remote Desktop error code is often a result of expired or corrupt certificates unstable network connections Windows 11 compatibility bugs www.remoteaccesspcdesktop.com Most Effective Fixes Renew RDP Certificates (Primary Solution) i remote desktop connection error code 0x904 better
: This error is frequently caused by expired self-signed certificates on the target server. Log into the target server directly. Open the Certificates MMC snap-in ( certlm.msc Remote Desktop Certificates the expired certificate. Restart the service via Command Prompt (Admin): restart-service termserv -force . Windows will automatically generate a fresh certificate. Fix Certificate Corruption (Azure VMs)
: If your target is an Azure Virtual Machine, the certificate store might be corrupt. In the Azure Portal, use the Run Command tool to run this PowerShell script:
Rename-Item -path "C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys" -NewName "MachineKeys_old" the server to reset the store. Windows 11 Workarounds : Windows 11 (builds 22H2 and later) has known RDP bugs. Use the IP Address : Instead of using the computer's hostname (e.g., ), type in its direct IP address (e.g., 192.168.1.50 Switch Apps Remote Desktop app from the Microsoft Store instead of the built-in "Remote Desktop Connection" ( Here’s a concise review and troubleshooting guide for
), as it uses a different networking stack that often bypasses this error. Network and Firewall Stability is open on the target computer's firewall.
If using a VPN, a slow or unstable connection can trigger 0x904. Reconnect to your VPN or try a more stable internet source. www.remoteaccesspcdesktop.com Are you connecting to a local office computer Azure Virtual Machine Fix Remote Desktop Error Code 0x904: 4 Working Solutions
Fix F – Disable certificate revocation check (for internal networks)
On client, if CRL/OCSP is blocked:
HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client
Create DWORD: "AllowCertRevocationCheck" = 0
Or via GPO: "Turn off automatic root certificates update" – but better to fix network access to CRL.
2. Deep Root Cause Analysis
Unlike generic connection errors, 0x904 is security-layer specific. It occurs after TCP handshake but before user authentication.
| Layer | What fails | Why | |-------|------------|-----| | Network | No | TCP port 3389 or custom port is reachable. | | TLS handshake | Yes | Certificate chain cannot be verified by the client. | | CredSSP | Not reached | The error occurs before NLA (Network Level Authentication). | Enable Remote Desktop : Ensure Remote Desktop is