Remote Desktop Connection Error Code 0x904 Extended Error Code 0x7 Best 🎯 Instant
A single misconfigured firewall setting can trigger this error. Ensure RDP traffic is allowed on both the source and destination computers.
Press Win + R , type , and hit Enter to open the Local Computer Certificates manager. Navigate to Remote Desktop > Certificates .
Open the Control Panel and go to .
If you are still experiencing issues after trying these fixes, let me know you are using (e.g., home Wi-Fi, corporate VPN, or an enterprise domain) so we can narrow down a specific network solution. Share public link A single misconfigured firewall setting can trigger this
Misconfigured VPN tunnels dropping the UDP packets used by modern RDP.
In plain English: Your computer and the remote server can’t agree on how to verify your login securely.
Modern versions of Windows (like Windows 10, 11, and Server 2019/2022) have stricter default security policies. If you are connecting from a newer machine (e.g., Windows 11) to an older system (like Windows 7, XP, or Server 2008), the older system may not support the newer TLS versions and cipher suites required by the new client. The resulting mismatch is reported as the error code 0x904 . Navigate to Remote Desktop > Certificates
Go to , select Certificates , click Add , choose Computer Account , and click Finish .
This combination of codes strongly suggests that the issue is related to the security handshake between the client and the server. This handshake is responsible for authenticating the user and encrypting the session. When it fails, you will see this error, regardless of whether the network connection itself is technically "working" (like passing a ping test).
Since extended error 0x7 often means "cannot store the license," deleting the corrupted cache forces a fresh license negotiation. Share public link Misconfigured VPN tunnels dropping the
Security policies requiring strict encryption can cause the connection to drop if the client and host protocols do not align perfectly.
Open gpedit.msc and navigate to: Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Security .
When you see the error message "This computer can't connect to the remote computer" followed by "Error code: 0x904" and "Extended error code: 0x7" , it's the RDP client's way of saying that a connection to the target machine cannot be established. The 0x904 code typically points to a failure in the early stages of the connection handshake, such as network instability, encryption mismatches, or authentication problems. The accompanying 0x7 extension is Microsoft's way of providing a more specific classification of the failure, often indicating an authentication or security negotiation issue.