WakeToRun (settingsType) Element

Specifies that Task Scheduler will wake the computer when it is time to run the task.

<xs:element name="WakeToRun"

The WakeToRun element is defined by the settingsType complex type.

Parent element

ElementDerived fromDescription
Settings settingsType

Contains the settings that the Task Scheduler uses to perform the task.


When the Task Scheduler service wakes the computer to run a task, the screen may remain off even though the computer is no longer in the sleep or hibernate mode. The screen will turn on when Windows Vista detects that a user has returned to use the computer.

For C++ development, see WakeToRun Property of ITaskSettings.

For script development, see TaskSettings.WakeToRun.


Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

See also

Task Scheduler Schema Elements
Task Scheduler