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

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
  6. %windir%\system32\wuauclt.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.

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

Task Schedule

TAGS: Windows 7
Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.