0
I connect to a Windows 10 Pro machine via remote desktop connection from another Windows 10 environment. When I try to put the remoted machine to sleep manually (via the start menu power button) the following happens:
- The remoted machine powers off as expected
- The Remote Desktop Connection session gets terminated (but before that it shows the lock screen for a few seconds)
- A few seconds later the remoted machine comes off the sleep state and comes back online
How can I remotely put a machine to sleep?
Are the two machines on the same LAN and do you have "Wake on LAN" turned on the destination machine? It is possible that MSTSC figures out the connection went down, tries to reconnect to the machine, Wake on LAN kicks in and wakes up the box. – cdavid – 2018-06-16T02:09:37.750
Yes, this is my setup and it can be that this is the reason. – Manngo – 2018-06-20T09:18:59.050