Forcing Windows to be ‘awake’ during certain hours?

Posted on


I’m running Windows 7 and have the power options currently set up to put the machine to sleep after 2 hours of inactivity.

Is there any way to force the machine not to sleep between certain hours, or to automatically wake up?

I’m assuming this can’t be done directly from within the Windows power settings, but is there a third party utility (preferably free) that could take care of this?

I’ve got backups scheduled every morning at 3-4am, and these don’t run if the machine is suspended, so I just need to make sure that the everything is powered up during this time.


SmartPower will do the job:

But if you want to keep your computer awake at specific times or when certain programs are running, free program SmartPower will schedule it for you.


Caffeine may be what you’re looking for…

Windows only: Tiny utility Caffeine disables or enables the screensaver by simply double-clicking on the icon in the system tray—so you can watch that YouTube video without your screensaver kicking in.

Using the software is easy enough—just double click on the icon in the system tray to turn the screensaver on or off. The application works by simulating a keypress every minute to fool the system into thinking somebody is sitting in front of it. The application also has a number of command-line options that can be used to automatically terminate after a certain amount of time, which could be useful if you frequently watch movies on your PC but want the screensaver to come on after it’s over.


To prevent the computer from going to sleep during those hours, you can create another power profile without a sleep timer. Then, you can apply the profile using Windows scheduler and the powercfg.exe tool.

From a command-line box, first run

powercfg -list

It will show you the profiles you have defined and their GUIDs. The power profiles can be applied using the command

powercfg -setactive <GUID>

Schedule a task to apply the non-sleeping profile at the beginning of the period you want the computer to be on, and another task to apply the regular profile at the end of the time period.

Finally, you will want the computer to wake itself up in case it went to sleep before those hours. Windows has the ability to set a wakeup timer when it puts the computer to sleep. It should be able to wake up based on the schedule if the computer is asleep or hibernating, but not if it has been shut down. Your computer’s bios may have a setting to schedule a wakeup time, even if shut down.

In addition to the Task Scheduler, Windows 7 also has some power management features that will prolong the life of your laptop, provided you have one, once it’s on.

You may find additional tips helpful in this video:

You can use Task Scheduler to have the computer wake up at certain times…

How to Create a Task to Wake up the Computer to Run in Vista and Windows 7

Leave a Reply

Your email address will not be published. Required fields are marked *