Condividi tramite


Set power management options for a scheduled task

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To set power management options for a scheduled task

  1. Open Task Scheduler.

  2. Right-click the task for which you want to set power management options, and then click Properties.

  3. On the Settings tab, under Power Management, do one or more of the following:

    • To conserve the battery power of your computer, select the Don't start the task if the computer is running on batteries check box.

    • To stop the task if the computer starts running on battery power, select the Stop the task if battery mode begins check box.

    • To wake your computer from hibernation or standby to run a task, select the Wake the computer to run this task check box.

Notes

  • To perform this procedure, you must be a member of the Administrators or Server Operators group, or have been delegated the appropriate authority, on the local computer. As a security best practice, consider using Run as to perform this procedure. For more information, see Default local groups, Default groups, and Using Run as.

  • To open Task Scheduler, click Start, click Control Panel, and then double-click Scheduled Tasks.

  • By default, power management is set to refrain from starting scheduled tasks if the computer is running on battery power. If you are using a portable computer that runs on batteries and you want a scheduled task to run, clear the default check boxes.

  • If the power is interrupted or if the battery fails, the scheduled task that is running might not complete.

  • The Wake the computer to run this task check box is only displayed on computers that support it.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Creating and managing scheduled tasks from the Command Line

Other Resources

Power Options overview