Install ((link)) - I Remote Desktop Connection Error Code 0x904
Search for "Allow an app through Windows Firewall" in the Start menu.
If you see multiple entries (e.g., "Remote Desktop Connection"), ensure they are all allowed.
: Sometimes, a simple rule change is needed. As suggested by users on Spiceworks Community , you verify that both "Remote Desktop" and "Remote Desktop (WebSocket)" are allowed through the Windows Firewall on both ends.
A second, though less common, trigger for 0x904 post-installation involves the service. On Windows Server editions (2016, 2019, 2022), if you install the RDS role but fail to properly configure a licensing server, the system enters an initial grace period (120 days). However, certain cumulative updates can prematurely enforce license validation. If the licensing service is stopped or misconfigured, the RDP stack rejects incoming connections with a non-specific error—often 0x904—before the login prompt fully renders. i remote desktop connection error code 0x904 install
Network connectivity is a frequent culprit:
To perform a clean boot on Windows:
Execute: Rename-Item -path "C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys" -NewName "MachineKeys_old" . Search for "Allow an app through Windows Firewall"
Windows Defender Firewall often blocks incoming remote connections by default.
Unlike many RDP errors that relate to network connectivity or firewalls, error 0x904 is specifically a . It commonly occurs in the following scenarios:
If you're still experiencing issues, you can manually install the RDC client update: As suggested by users on Spiceworks Community ,
If you just installed a new server, updated Windows 11, or deployed a virtual machine (VM) and find yourself locked out, this comprehensive deep-dive article provides the actionable technical procedures required to restore your RDP infrastructure. Understanding the Root Causes of Error 0x904
A common pattern for the 0x904 error is a Windows 11 client failing to connect, while a Windows 10 client succeeds. This is often due to TLS/SSL protocol differences:
To regenerate the certificate, restart the core service. Open PowerShell or Command Prompt as an Administrator and execute: powershell Restart-Service termserv -Force Use code with caution.
If you are trying to connect to a remote computer using Remote Desktop Protocol (RDP) and are stopped by error code 0x904, it indicates a session conflict. Essentially, the remote computer thinks you are already logged in locally (physically at the machine) or in another session, and it cannot create a new connection for you.
Open via the run dialogue box with administrative permissions.