I know how to remotely wake a computer from sleep mode. I also know, thanks to this article how to put a computer to sleep over Remote Desktop. What I don't know is how to make Remote Desktop terminate after the client has been put to sleep.
If I try to "close" Remote Desktop after the remote machine has been put to sleep, it will do so eventually--while waking up the machine in question. Defeats the point. The only way I know that works is to use End Process on Remote Desktop after putting the machine to sleep. Or setting the remote machine to only wake with a magic packet, bu that demands another app to send said packet (RD doesn't do that). Any other ways to do this?
PS: For some reason, the "time-to-sleep" thing isn't working. What log(s) should I check in to see what's preventing Windows from idling to sleep on its own?
If I try to "close" Remote Desktop after the remote machine has been put to sleep, it will do so eventually--while waking up the machine in question. Defeats the point. The only way I know that works is to use End Process on Remote Desktop after putting the machine to sleep. Or setting the remote machine to only wake with a magic packet, bu that demands another app to send said packet (RD doesn't do that). Any other ways to do this?
PS: For some reason, the "time-to-sleep" thing isn't working. What log(s) should I check in to see what's preventing Windows from idling to sleep on its own?