Q. How can I configure Windows 7 or Windows Vista to automatically wake at a certain time and run a task?

John Savill

February 14, 2011

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. Windows Vista and later support wake timers that scheduled tasks can use, allowing a system to automatically wake from sleep or hibernate at a certain time. This can be useful to wake machines so they can check for updates or changes in policy.

To use a local scheduled task:

  1. Launch Task Scheduler (Start, Accessories, System Tools, Task Scheduler).

  2. Select the Create Task action.

  3. Name the task under the General tab and, optionally, provide a description.

  4. Select the Triggers tab, select New, and specify to begin the task on a schedule. Select Daily or Weekly (or whatever you need) and the recurrence. Specify the start time (e.g. 2:00:00 a.m.) and click OK.

  5. Under Actions, select the program or task you want to run. For example, to install important updates from Microsoft, I could set the program to

    %windir%system32wuauclt.exe /detectnow

    You could always have a script that runs the install then runs

    shutdown –s

    to shut down the machine, or use other options that work best for your environment.

  6. Click the Conditions tab, select Wake the computer to run this task, and click OK.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like