New
#1
Win10 Scheduled wake up doesn't work if sleep is initiated from script
I want my computer to go into sleep mode at time x and wake up automatically at time y. I have created a sleep task and a wake up task in the task scheduler and disabled hibernation mode.
When I initiate sleep manually via the start menu, the computer seems to wake up reliably (additional testing required). However, when I use a batch file with the following content, the computer never wakes up:
Do you have any suggestions what could be the reason for this behavior and what I could do to fix it?Code:rundll32.exe powrprof.dll,SetSuspendState 0,1,0
Thank you!