Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Scheduler fails while trying to wake Windows from sleep/hibernation.

02 May 2012   #1
Alaza

Windows 7 64-bit
 
 
Scheduler fails while trying to wake Windows from sleep/hibernation.

Hi there,

I am running a Windows 7 64-bit setup, and I'm trying to get a timer to wake Windows from sleep or hibernation.

I've got it to work flawlessly on my desktop, however on my laptop, a Dell D630, I can't seem to get it to work. I've created a task triggering on a specific time and running the operation '/c "exit"', which should just start a command prompt and close it again. I've set it to "run with highest privileges" and "wake the computer to run this task". However, it just doesn't boot as scheduled.

The history of the scheduler says nothing at the moment that the trigger is set to go off, but a minut later (probably when I manually boot) I get a "Task scheduler "{....}" instance of the task "\Wakeup" due to a time trigger condition."

What can I do to fix this?

Thank you.


My System SpecsSystem Spec
.
02 May 2012   #2
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

Hello and welcome to Seven Forums.

Some things you can try for testing:

Turn off "run with highest privileges" - you shouldn't need it for this task

Try different setting combinations for:
"Run whether user is logged on or not" / "Run only when user is logged on"
"Start the task only if the computer is an AC power"
"Stop if the computer switches to battery power"

Compare each page in the Task settings between the Desktop and Laptop.
See if you can find some different setting(s) that might cause this.

If you logon with a Standard account when the computer sleeps, try using an Admin account.

Hope this helps,
David
My System SpecsSystem Spec
02 May 2012   #3
Albuquerque

Windows 7 Professional 64 EFI
 
 

I'm going to start with a different set of assumptions than David above me: if you have this working on a desktop, you obviously know what needs to be done on the laptop (ie, just copy all the settings that "work".)

The reality of the situation is that "wake on event" is not a function of the operating system, it's a function of the firmware on your computer. Windows is not running during sleep -- the only thing keeping tabs on your whole computer in an S3 or deeper state is the firmware. Thus, if the firmware doesn't have the proper support for wake-on-event, then Windows (or Linux or any other operating system) will be powerless to do anything about it.

Thus, your first target should be firmware updates and/or support emails to Dell. A brief Google suggests this device has problems coming out of S3 for other folks over a multitude of operating systems, so I cannot say that I'm surprised.
My System SpecsSystem Spec
.

02 May 2012   #4
Albuquerque

Windows 7 Professional 64 EFI
 
 

It occurs to me that you may have another option: some firmware models have a their own wake timer that you can set via the setup utility. I know it's sub-optimal, but would that be worth checking out? A bit of scripting can allow you to 'detect' that your box just woke up from a PME and then your code could fire at that point.

I built some code for trapping and then evaluating PME for making sure my machines go back to sleep after my WHS box wakes them up for backups. The boxes would all wake up without issue, but then would never go back to sleep. So my code fires, evaluates the PME type, checks to see if the backup process starts within 5 minutes of the PME, and if it does, will re-sleep the box five minutes after backup completes.
My System SpecsSystem Spec
Reply

 Scheduler fails while trying to wake Windows from sleep/hibernation.




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
BSOD when wake up from hibernation/sleep
Pleas help, BSOD happens when opening the lid of laptop.
BSOD Help and Support
Using Task Scheduler to restart a program upon wake from sleep
I'm using Logitech's latest LGS for my G700. It's very annoying that I have to exit and restart LGS when my system comes out of sleep or LGS doesn't recognize the mouse as being awake (windows drives it then). This happens when the mouse is running wirelessly. It also happens across versions. Is...
General Discussion
Laptop won't wake from Sleep/Hibernation, PLZ HELP!
Recently my Dell Inspiron N5110 intel 2.4GHZ, 4Gb Ram, Windows 7 64bit Laptop Refuses to wake from sleep or hibernate. Bios driver?? Worked fine 2 days ago and I dont have an applicable restore point... Also Video and Audio playback get choppy in any player after using not even 2 out of 4gb of RAM....
General Discussion
Wake the PC from sleep/hibernation when power comes up
I live in a place where we have power shortages from time to time. I have my Dell desktop pc attached to a UPS and i have configured the pc to go to sleep after 5 minutes when on UPS. Is there anyway to wake up the pc automatically once the power is on? I have connected my UPS with USB cable to the...
Performance & Maintenance
Windows fails to wake from sleep, then corrupts boot
Hi, I am running Windows 7 Pro x64 and I am having an issue where my computer goes into sleep mode, fails to wake from sleep, strangely resumes its state once I do a cold restart, and then after restarting again, refuses to boot. Here is what's happening step-by-step: Computer goes to sleep...
General Discussion
Wake & Sleep on scheduler
I have a backup program that has its own scheduler. It does not wake the computer to perform the backup until I wake te computer in the morening. It is scheduled at 1:00 AM. Thats the why. Now for the question: Are there any commands I can schedule to wake the computer and stay awake and then...
Performance & Maintenance


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:37.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App