I Remote Desktop Connection Error Code 0x904 Better 【OFFICIAL | Anthology】

  • Reinstall from Store, or better yet, use the classic mstsc:

  • Error 0x904 is annoying but fixable. The registry reset method works ~90% of the time. If you're in a corporate environment, your IT may need to reissue RDP CALs. For personal use, clearing cache + NLA tweak usually resolves it without reinstalling anything.

    Rating for Microsoft's error handling: ⭐⭐☆☆☆ (Poor – error messages are vague, forcing registry edits)
    Fix effectiveness: ⭐⭐⭐⭐☆ (Good if you follow the steps above)

    Would you like a step-by-step PowerShell script to automate the registry fix?

    Troubleshooting Remote Desktop Connection Error Code 0x904: A Comprehensive Guide

    Are you frustrated with the Remote Desktop Connection error code 0x904? You're not alone! Many users have reported encountering this issue while trying to establish a remote desktop connection. In this blog post, we'll explore the possible causes of error code 0x904 and provide you with practical solutions to resolve it.

    What is Error Code 0x904?

    Error code 0x904 is a common issue that occurs when trying to establish a Remote Desktop Connection (RDC) to a Windows machine. The error message typically reads: "The remote computer disconnected. The error code is 0x904." This error can occur due to various reasons, including network connectivity issues, incorrect configuration, or problems with the remote desktop software.

    Causes of Error Code 0x904

    After analyzing various user reports and technical forums, we've identified some common causes of error code 0x904: i remote desktop connection error code 0x904 better

    Solutions to Resolve Error Code 0x904

    Don't worry; we've got you covered! Here are some step-by-step solutions to help you resolve error code 0x904:

    Solution 1: Check Network Connectivity

    Solution 2: Verify RDC Configuration

  • Try configuring the RDC settings to use a different authentication method (e.g., NTLMv2).
  • Solution 3: Update Remote Desktop Software

    Solution 4: Disable Firewall or Antivirus Software

    Solution 5: Check Event Logs

    Conclusion

    Error code 0x904 can be frustrating, but with these solutions, you should be able to resolve the issue and establish a successful Remote Desktop Connection. If you're still experiencing problems, feel free to leave a comment below, and we'll do our best to help you troubleshoot the issue.

    Additional Tips

    By following these solutions and tips, you should be able to overcome error code 0x904 and enjoy a seamless remote desktop experience.


    On client, if CRL/OCSP is blocked:

    HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client
    Create DWORD: "AllowCertRevocationCheck" = 0
    

    Or via GPO: "Turn off automatic root certificates update" – but better to fix network access to CRL.


  • Check remote settings
  • Confirm credentials
  • Update RDP clients and Windows
  • Adjust NLA / security layer
  • Review Group Policy / Remote Desktop Services settings
  • Firewall and port forwarding
  • Certificate or TLS issues
  • Check event logs
  • Test from another client
  • Specific updates (e.g., KB5005611, KB5022286) fixed known 0x904 bugs. Check for and install all pending updates, especially Preview or Optional updates if the error persists.

    Better because: Microsoft has patched licensing handshake flaws in several recent cumulative updates.


    Error code 0x904 in Microsoft Remote Desktop Connection (RDP) typically indicates a licensing or security compatibility issue between the client and the remote host. It often appears with a message like: Reinstall from Store, or better yet, use the

    "The remote session was disconnected because there is no Remote Desktop License Server available to provide a license."

    Or simply: Error code: 0x904.

    This error is common after Windows updates, changes to licensing mode, or when connecting to certain Windows Server editions (e.g., Server 2016/2019/2022) from Windows 10/11 Pro or Enterprise clients.

    If you control the remote Windows Server:

    Better because: It aligns the host’s expectation with the client’s capability, avoiding the license server demand.

    On the remote (host) computer:

  • Click OK, then run gpupdate /force in Command Prompt.
  • Better approach: If you need SSL/TLS, choose SSL (TLS 1.0) only if the client supports it. Modern Windows prefers TLS 1.2+.