Remote Desktop Connection — Error Code 0x904 Extended Error Code 0x7 2021

The self-signed certificate used by Remote Desktop Services has expired and failed to renew automatically.

Extended error 0x7 often indicates the Gateway SSL certificate does not match the connection FQDN: The self-signed certificate used by Remote Desktop Services

Troubleshooting Remote Desktop Error 0x904 (Extended Error 0x7) The Remote Desktop Connection error 0x904 with extended error 0x7 The self-signed certificate used by Remote Desktop Services

To avoid seeing 0x904 / 0x7 again:

Log into the remote server (via a console or alternative remote tool). Press , type certlm.msc , and press Enter . Navigate to Remote Desktop > Certificates . The self-signed certificate used by Remote Desktop Services

: Ensure mstsc.exe is allowed through the Windows Defender Firewall on both machines. Third-party software like Bitdefender has also been known to block these connections unless an exception is added.