Error Code 0x904 Extended Error Code 0x7 Extra Quality - Remote Desktop Connection
Your "path" to the door (the network) might be too shaky. If your Wi-Fi drops packets or your VPN is lagging, the connection times out before the security handshake can finish.
The most common "silent" cause of error 0x7 is the host computer falling asleep. RDP cannot wake a computer that is fully asleep unless "Wake-on-LAN" is configured. On the , go to Settings > System > Power & Sleep . Set "Sleep" to Never while plugged in. Your "path" to the door (the network) might be too shaky