Remote Desktop Connection Error Code 0x904 Extended Error Code 0x7 [2024]
Remote Desktop Protocol (RDP) is a core Windows feature for administering and accessing machines remotely. Users sometimes encounter connection failures identified by numeric error codes; one such combination is “error code 0x904” with an extended error code “0x7.” This essay explains probable causes, diagnostic steps, and practical remedies for that error pair, and offers guidance to prevent recurrence.
When combined, these errors tell a clear story: Your RDP client and server cannot complete a TLS handshake. The server may support only older, insecure protocols (like RDP Security Layer instead of TLS 1.0/1.1/1.2), or a network device is interfering with the encrypted traffic. Remote Desktop Protocol (RDP) is a core Windows
| Environment | Most likely fix | |-------------|----------------| | Domain-joined, mixed Windows 10/11 & Server 2016/2019 | Apply CredSSP updates + set AllowEncryptionOracle=2 on clients | | Older Windows 7 client to Windows 10/11 host | Update Windows 7 with KB4490628 + KB4474419 + CredSSP patches | | Third-party RDP client (Mac/Linux) | Switch to xfreerdp with --sec=nla or --sec=rdp flags | | Virtual machine (Hyper-V/VMware) | Check VM’s RDP security template in Hyper‑V Manager or vSphere | The server may support only older, insecure protocols
The target machine may have reached its maximum concurrent RDP sessions (e.g., Windows 10 Pro allows only 1 active session). Error 0x904 occurs when trying to reconnect to a disconnected session that is locked or in a bad state. "Another user is logged on
"Another user is logged on. Your connection has been queued. Please wait. Estimated wait time: 34 years, 2 months, 11 days, 4 hours, 7 minutes."
If that works, the issue is NLA/CredSSP.
