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: Wake the PC from sleep/hibernation when power comes up

12 Jun 2011   #1

Windows XP SP3 32 bit
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 pc, and the pc treats the UPS as a battery. I use this pc as a media centre so this feature is something i really need.
I am on Windows 7 Ultimate.


My System SpecsSystem Spec

12 Jun 2011   #2
Microsoft MVP

Win 7 Ultimate x64

With it being a Dell the option may very well be hidden (with no way to unhide it), but have a look in the bios under the Power options for anything relating to "restore on power loss". If it is there it is likely set to disabled (the default on most if not all motherboards), set it to enabled and that should do it.
My System SpecsSystem Spec
12 Jun 2011   #3

Windows XP SP3 32 bit

Under Power Management in BIOS, i tried setting the AC Recovery to ON ("System powers on after AC power is restored") and it did not turn the pc from sleep and it did not work in hibernated state either. This worked only when the pc was completely off and when i connected it to AC, it turned on automatically. It does not seem to do the same when the pc is on Sleep or Hibernation mode though.
I also set AC Recovery to Last ("System returns to the previous state after the AC power recovery") and it did not work either.
My System SpecsSystem Spec

13 Jun 2011   #4

Windows XP SP3 32 bit

Does anyone have some other suggestions?
My System SpecsSystem Spec
16 Jun 2011   #5

Windows XP SP3 32 bit

I was able to kinda solve my problem. I created a .bat file with "exit". I than created a task that will run indefinitely after system start-up and will execute the above command every 20 minutes. I also told the task to run itself only when it finds a network connection, and i modified the task to wake the system to run this task. Since my pc and router are on the same power network, this is exactly what i needed
My System SpecsSystem Spec

 Wake the PC from sleep/hibernation when power comes up

Thread Tools

Similar help and support threads for2: Wake the PC from sleep/hibernation when power comes up
Thread Forum
BSOD after sleep or hibernation - "Driver Power State Failure" BSOD Help and Support
Laptop won't wake from Sleep/Hibernation, PLZ HELP! General Discussion
Scheduler fails while trying to wake Windows from sleep/hibernation. General Discussion
Power State Driver Failure on putting PC to Sleep or Hibernation BSOD Help and Support
Power cycles on and off after trying to wake from sleep BSOD Help and Support
Hibernation wake-up times. Performance & Maintenance
Hibernation and Sleep Within a Power Plan General Discussion

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 08:11 AM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33