To avoid seeing 0x904 / 0x7 again:
An error with Remote Desktop Connection code and extended error code 0x7 indicates a Network Connectivity Disruption where your local PC cannot establish or maintain a stable connection to the remote computer . This specific pairing usually points to a firewall blockage, a network timeout, or the Remote Desktop service being disabled on the host machine. To avoid seeing 0x904 / 0x7 again: An