Type the following commands one by one, hitting Enter after each: ipconfig /flushdns netsh winsock reset Restart your computer and try the connection again. 4. Configure Windows Firewall
Search for . Click Inbound Rules .
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.
Here is a comprehensive guide to diagnosing and fixing this error. What Does Error 0x904 / 0x7 Actually Mean? In the world of Windows RDP:
Under the Remote Desktop section, "Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended)."
Ensure no typos and that the remote PC is actually turned on and connected to the internet.