0
0
I have configured Tasks Scheduler to wake up Windows/PC at certain times; however, the computer does not wake up after extended hours of sleep.
If I change the trigger configuration time to:
- Sleep at: 7AM and
- Wake Up at 7:15AM
and manually put the computer to sleep, it works, but it does not work if I set it as follows:
- Sleep at 1:00AM and
- Wake up at 7:00AM
and let the computer sleep on its own.
Similarly, when I manually put the computer to sleep by doing Start-->Shutdown-->Sleep, the process works, but it does not work if the computer sleeps on its own. There are no Hibernate Options. The computer is on a domain.
Here is my configuration:
Advance Sleep Settings:
- Sleep: Never
- Wake Up timers: On
General Settings:
- Run with Highest Privileges
- Run weather user is logged on or not
Triggers:
- Daily, wake up at 7AM
- Daily, Sleep at 1AM
Action:
- For Wake up: Run program:
cmd.exe
- Optional Argument:
/C"exit"
- For Sleep: Run program:
Rundll32.exe Powrprof.dll,SetSuspendState Sleep
(This is in a bat file.)
Condition:
- Wake the computer to run this task
Lastly, I also installed WakeUpOnStandBy as a back-up, but it too does not work, same as Task Scheduler.
I'm not sure what else to do?
Could you do a
powercfg /a
on the command prompt? It should say thatHibernate
andHybrid Sleep
are both not available. – Rik – 2013-10-21T12:12:52.710Forgot to mentioned, before I created the Task I had done the follow in the Command Prompt: powercfg -h off. I turned of Hybrid Sleep and Hybernation. This is the reason I do not see it in the Advance Power Settings. It's Off. – Amplitude – 2013-10-21T14:32:26.707
Yep.
powercfg -h off
does turn off bothHibernate
andHybrid sleep
. Could you try giving the sleep command manually tonight and seeing if the computer wakes up in the morning. If not then it's a problem with your computer going to very deep sleep when off longer then a set period. (Maybe something in the BIOS). If it does wake-up there is a difference in manual sleep and the command given. There could also be a power outage at night where the computer really turns off. You could set "Resume on power on" in the BIOS to correct this. (but your computer will turn on at night in that case) – Rik – 2013-10-21T14:38:33.013Great point. I will try that. This is killing me. I have checked the BIOS, it's a Lenovo ThinkCenter, did not see any thing suspicious. – Amplitude – 2013-10-21T14:45:09.870
Not sure this gives up anyting but powercfg/a gives me. S3 and S1 Sleep State available. Firmware does not support Standby State S2 and Hibernate. – Amplitude – 2013-10-21T15:54:25.123
S1 to S3 should be fine (S4 & S5 could be a problem) if S3 is available it is usually used over S1. here and here.
– Rik – 2013-10-22T08:29:41.937