Use Remote Desktop on your Windows, Android or iOS device to connect to a PC remotely:
Set up the remote PC so that it will allow remote connections. See How do I connect to another PC with Remote Desktop connection?
On the remote PC, open Settings and go to System > About. Note the PC name. You’ll need this later.
Next, in Settings, go to System > Power & sleep and check to make sure that Sleep is set to Never.
Enter the full name of the remote PC into Remote Desktop Connection on your local PC. For detailed steps, see Connect to another computer using Remote Desktop Connection.