I Remote Desktop Connection Error Code 0x904 Better
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.
Fix E – Align hostname with certificate
Ensure client connects using the exact hostname on the certificate: i remote desktop connection error code 0x904 better
Final recommendation: Always try the CredSSP AllowEncryptionOracle = 2 registry fix first. It works for 80% of users. If not, move to Group Policy, and as a last resort, downgrade to RDP Security Layer. Enable Remote Desktop : Ensure Remote Desktop is
Step 3: Disable Network Level Authentication (NLA) Fix E – Align hostname with certificate Ensure
Fix C – Replace self-signed cert with a trusted one (recommended)
On RDP server: