Remote Desktop Connection Error Code 0x904 Extended Error Code 0x7 [updated] Full May 2026
On the , press Win + R , type gpedit.msc , and hit Enter.
The error is usually a symptom of a security mismatch or a network timeout . Start by disabling NLA and forcing TCP-only connections; these two steps resolve roughly 80% of cases.
Even if RDP is "Allowed," the specific port (3389) might be blocked by a specific rule. On the , press Win + R , type gpedit
On the host PC, go to Settings > System > Remote Desktop , turn it off, and then back on.
Network Level Authentication (NLA) is a security layer that requires the user to authenticate before a session is established. If t Even if RDP is "Allowed," the specific port
Change the value to (this allows the server to negotiate the security layer).
This lowers security slightly, so only do this to test if it resolves the error. 3. Clear the DNS Cache and Reset Sockets Sometimes the network "map" on your computer is stale. Open Command Prompt as Administrator. If t Change the value to (this allows
If you are using a VPN, disconnect and reconnect. 0x904 is frequently caused by "MTU fragmentation," where the VPN packet size is too large for the network to handle. 2. Adjust RDP Security Settings (NLA)
Often refers to a timeout or a security negotiation failure .