Мой плейлист

I Remote Desktop Connection Error | Code 0x904 Better

Happy (and stable) remote connecting. – Systems engineer specializing in Windows RDP, certificate services, and remote work infrastructure. If this article helped you, consider sharing it with a colleague who still restarts their router for error 0x904.

In technical terms, 0x904 translates to: SSL_ERR_NO_AUTH_CERT or a related certificate validation failure. In plain English: The remote computer refused to establish a secure connection because it couldn’t verify the identity of the client or server—or because the encryption protocols don’t match.

| Step | Action | Expected Result | |------|--------|------------------| | 1 | Can you ping the remote PC by hostname and IP? | Full reply from both | | 2 | Is Remote Desktop enabled on the host? | Settings > System > Remote Desktop = ON | | 3 | Does the user account have permission? | User is in “Remote Desktop Users” group | | 4 | Is the remote PC awake (not in sleep/hibernate)? | Network activity or WoL configured | | 5 | Is the local date/time correct? | Within 5 minutes of the remote machine | i remote desktop connection error code 0x904 better

✅ – Request a machine certificate from your domain CA and bind it to RDP via wmic or the registry.

✅ – For business environments, an RD Gateway handles SSL certificates centrally, and clients never see raw error 0x904. Conclusion: You Deserve a Better RDP Experience Error code 0x904 is not a dead end—it’s a sign that your RDP security layer needs attention. By following this guide, you’ve moved past the generic “restart your computer” advice and implemented better fixes: resetting certificates, adjusting security layers, automating the repair, and preventing future failures. Happy (and stable) remote connecting

# Fix RDP Error 0x904 - Certificate & Security Layer Reset Write-Host "Fixing RDP Error 0x904..." -ForegroundColor Cyan Stop-Service "TermService" -Force Get-ChildItem Cert:\LocalMachine\Remote Desktop | Remove-Item Start-Service "TermService" 2. Force RDP security layer to RDP (bypass SSL cert issues) $path = "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" Set-ItemProperty -Path $path -Name "SecurityLayer" -Value 0 -Type DWord 3. Enable CredSSP vulnerable mode as fallback Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\CredentialsDelegation" -Name "AllowEncryptionOracle" -Value 2 -Type DWord 4. Restart RDP listener Restart-Service "TermService" Write-Host "Fix applied. Restart remote PC for full effect." -ForegroundColor Green

✅ – The #1 cause of sudden 0x904 is a mismatch in CredSSP versions. Enable auto-updates on both client and host. | Full reply from both | | 2

If you’ve searched for “i remote desktop connection error code 0x904 better,” you are likely tired of generic advice that doesn’t work. You don’t just want a fix—you want a better fix. A permanent solution. An understanding of why this happens so it never steals another hour of your productivity.