
The Windows Remote Desktop Connection tool gives users the ability to connect to a remote Windows PC or server over the internet or on a local network. You may want to see this issue “Error code 0x4, Session disconnected: Your session ended because of an error, if this keeps happening, contact your system administrator for assistance” and “and how to fix Remote Desktop Connection issues“.
Some common errors have been discussed and in order not to make the post lengthy, I have decided to break it into a different part “Part 1, See We could not connect to the remote PC with error code 0x204 and make sure the PC is turned on and connected to the network – Part 1“.
Recommendation: Before proceeding with your device troubleshooting, as you can see from the error message below, ensure the device is truly turned on.
After switching the device on, now I am able to connect to connect remotely as shown below

If the device is truly turned on, then you can follow up with other recommendation (suggestions) as discussed here.
I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.