Remote Desktop Connection Error Code 0x904 Extended Error Code 0x7 Best

If you can connect to some servers but not others, an expired self-signed certificate on the host machine is a likely culprit : Log in to the host machine locally or via another tool. Certificates (Local Computer) by running certlm.msc Navigate to Remote Desktop > Certificates Find the expired certificate, right-click, and Restart the Remote Desktop Services ) via Command Prompt as Administrator: restart-service termserv -force . Windows will automatically generate a fresh certificate 2. Rename Corrupt MachineKeys (For Azure VMs)

Log into the remote server (locally or via another tool) and open the Certificates MMC snap-in by running certlm.msc . If you can connect to some servers but