Remote Desktop Connection Error Code 0x904 Extended Error Code 0x7 [2021]

Title: Diagnosing and Resolving Remote Desktop Connection Error Code 0x904 with Extended Code 0x7

Check for an expired certificate. If it is past its date, right-click and Open Command Prompt as an administrator and run: net stop termservice && net start termservice Open Command Prompt on the host

  1. Open Command Prompt on the host.
  2. Run: netstat -an | find "3389"
  3. You should see a result showing TCP 0.0.0.0:3389 0.0.0.0:0 LISTENING.
  4. If this is not present, ensure the "Remote Desktop Services" service is running (Method 3) and that RDP is enabled in System Properties (sysdm.cpl > Remote tab).

If you use a third-party antivirus (like Norton or McAfee), you may need to manually open TCP port 3389. Step 4: Clear the RDP Cache (Client Side) If you use a third-party antivirus (like Norton

  • Review event logs (server & client)

    The Remote Desktop Connection error code 0x904 (Extended error code 0x7) is a generic network-related failure that prevents a client from establishing a session with a remote host. While it is often caused by unstable network conditions, it can also stem from expired security certificates, firewall blocks, or specific Windows 11 compatibility issues. Common Causes of Error 0x904 Try alternate client or network:

    Find Remote Desktop and ensure both Private and Public boxes are checked.

    Standard Fix: Log into the host locally, open the Certificates MMC snap-in (certlm.msc), and navigate to Remote Desktop > Certificates. If the certificate is expired, delete it and restart the Remote Desktop Services (termserv) to force Windows to generate a new one.

  • Try alternate client or network: