Coding Robin

Remote Desktop Connection Error Code 0x904 Extended Error Code 0x7 Jun 2026

22 July 2013, posted by Thorsten Ball

Remote Desktop Connection Error Code 0x904 Extended Error Code 0x7 Jun 2026

RDP uses self-signed certificates that don't always auto-renew, causing connections to fail silently. Access the (via console or another method). Press Win + R , type certlm.msc , and hit Enter. Go to Remote Desktop > Certificates .

The most common cause for this specific error is an expired self-signed certificate on the remote server. www.remoteaccesspcdesktop.com Access the server locally or through an alternative remote tool. certlm.msc , and press Enter. Navigate to Certificates Remote Desktop Certificates Find the certificate used for Remote Desktop, check its expiration date , and delete it if expired. Open Command Prompt as Administrator and run: restart-service termserv -force (or restart the server).

: Ensure you are using the latest version of the Microsoft Remote Desktop app, especially if you recently upgraded to Windows 11.

Return to the tab and click Delete under the Connection settings profile to clear old session data. Step 4: Fix Network and DNS Configurations Go to Remote Desktop > Certificates

It started, as most digital catastrophes do, with a single popup window.

This is the most common culprit in modern environments (Windows 10, 11, and Server 2016/2022/2025). When a Windows 11 client attempts to connect to an older server (or vice versa), the TLS (Transport Layer Security) versions or specific cryptographic cipher suites do not align. For example, a detailed look in the server’s Event Viewer under these circumstances shows the error: "An unknown connection request was received from a remote client application, but none of the cipher suites supported by the client application are supported by the server. The TLS connection request has failed".

Run the following command (replace REMOTE_IP with the host's actual IP address): powershell Test-NetConnection -ComputerName REMOTE_IP -Port 3389 Use code with caution. certlm

: Use PowerShell to check if the remote port is reachable: Test-NetConnection [RemoteIP] -Port 3389 . Detailed Troubleshooting Guide 1. Fix Expired RDP Certificates (Most Common)

On the (if you have console access), enable NLA fallback:

On the (via console or remote PowerShell if possible): as most digital catastrophes do

: Ensure that RDP is allowed through the Windows Defender Firewall on both the client and host machines.

Disable . Troubleshooting Checklist Unable to RDP into some Windows Servers - Error code: 0x904

REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v MaxOutstandingConnections /t REG_DWORD /d 65536 your computer. Microsoft Learn disable Network Level Authentication (NLA) as a temporary security workaround to test the connection? Fix Remote Desktop Error Code 0x904: 4 Working Solutions

I love building web applications!

I am a flexible software developer. I work closely with my clients to help them realize their ideas & projects, from beginning to end, using a wide range of technologies.

Robin Mehner

Robin Mehner has over a decade of experience building & shipping software, using Ruby, JavaScript, Node.js, SQL & NoSQL databases, PHP, Go and many more technologies. He also loves to organize community events.

This is what we do for fun!