I Remote Desktop Connection Error Code 0x904 Better Jun 2026

RDP permissions might have been disabled during a recent Windows update. Press Win + I to open on the remote computer. Navigate to System , then click on Remote Desktop . Toggle the switch to On . Click Advanced settings .

The 0x904 error appears as a pop-up dialog: “Error code: 0x904 Extended error code: 0x7.” It generally means the client cannot properly negotiate a secure connection with the remote server.

$path = "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" Set-ItemProperty -Path $path -Name "SecurityLayer" -Value 0 -Type DWord

If you need SSL/TLS, choose SSL (TLS 1.0) only if the client supports it. Modern Windows prefers TLS 1.2+. i remote desktop connection error code 0x904 better

Delete the default RDP connection file cache:

: If you are using a VPN, disconnect and reconnect, or check if the bandwidth is sufficient for a remote session.

To prevent error 0x904 and other latency-based disconnection codes in the future, optimize your setup with these best practices: RDP permissions might have been disabled during a

: Simple reboots can often clear stuck sessions or temporary network glitches.

Completely bypass the RDP security layer by tunneling RDP through SSH.

The most common "silent" cause for this error is an expired self-signed certificate on the remote server. If a certificate expires, the client may reject the connection without a clear warning. www.remoteaccesspcdesktop.com Access the Server: Log in locally or via a different remote tool. Manage Certificates: certlm.msc , and hit Enter. Locate Certificate: Remote Desktop Certificates Certificates If the certificate is expired, right-click and Restart Service: Open an elevated Command Prompt and run: restart-service termserv -force Toggle the switch to On

Restart-Service "TermService" Write-Host "Fix applied. Restart remote PC for full effect." -ForegroundColor Green

Avoid wasting time on superficial checks. Use the targeted solutions above for a reliable fix.

Remember these key takeaways:

Corrupted login credentials saved in the Windows Credential Manager can cause authentication loops that terminate with error 0x904.