I Remote Desktop Connection Error Code 0x904 Better Jun 2026
If Network Discovery is turned off, Windows cannot find other computers on the network.
Search for "Allow an app through Windows Firewall" in the Start menu. Enable Features: Ensure both Remote Desktop Remote Desktop (WebSocket) are checked for both Private and Public networks. Exception List: C:\Windows\System32\mstsc.exe to your antivirus/firewall exception list. Registry Tweak: i remote desktop connection error code 0x904 better
Ensure that Remote Desktop (WebSocket) is allowed through the Windows Defender Firewall on both the client and host machines. If using a VPN, ensure it is stable; switching from a computer name to a direct IP address in the connection field can also bypass local DNS resolution issues. If Network Discovery is turned off, Windows cannot
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. Exception List: C:\Windows\System32\mstsc
Then, after regaining access, re-run the certificate repair from within the session.
