Extended error 0x7 often indicates the Gateway SSL certificate does not match the connection FQDN:
Navigate to > Certificates (or check under Personal > Certificates ).
Type mstsc and press Enter to open the Remote Desktop Connection app. Click in the bottom-left corner. Extended error 0x7 often indicates the Gateway SSL
Network Level Authentication requires the user to authenticate themselves before a session is established with the server. If your local machine doesn't support the specific NLA standard requested by the host, it times out. On the remote PC, open > System > Remote Desktop . Click the drop-down menu next to the Remote Desktop toggle.
Sometimes, Network Level Authentication (NLA) or encryption mismatches cause the 0x904 error. On the remote host, open . Click the drop-down menu next to the Remote Desktop toggle
If the services are stuck, the host will not accept new connections, resulting in extended error 0x7.
Error code 0x904 and extended error code 0x7 can be frustrating issues that prevent users from establishing a remote desktop connection. By understanding the possible causes of these error codes and following the step-by-step troubleshooting guides outlined in this article, users should be able to resolve the issues and establish a successful RDC connection. If the issue persists, it may be necessary to seek further assistance from Microsoft support or a qualified IT professional. On the Local (Client) PC:
Open the Start menu, type allow an app through Windows Firewall , and hit Enter. Click (requires administrator privileges). Scroll down to Remote Desktop . Ensure both Private and Public checkboxes are checked. Click OK to save changes. On the Local (Client) PC: