In a related thread (Task Scheduler won't wake the computer) moderatemisbehaviou successfully described how to put a PC to sleep and wake it using task scheduler. This was problematic in Windows 10. His solution finally solved my initial problem of getting my PC to wake up at a specified time. However, I now have a new issue where the PC goes back to sleep 10 minutes after task scheduler wakes it. If I wake the PC manually, or simply turn on the PC, it only goes to sleep when task scheduler tells it to. However, if it wakes from task scheduler based on the new rule created using PSshutdown.exe, it puts itself back to sleep 10 minutes later. I have 'never sleep' set in all of my power plans. The only thing different when the PC comes back on is that it is not logged in. Any help would be greatly appreciated.
Asked
Active
Viewed 63 times
powercfg /hibernate off, reboot, and then after the actual "restart" not "shutdown" run your test again. It is important to press the "restart" option after changing the "hibernate" and/or any other power saving modes, etc. and then test after that. – Vomit IT - Chunky Mess Style Sep 29 '19 at 20:34