title | description | ms.assetid | keywords | topic_type | api_name | api_type | ms.topic | ms.date | api_location | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WakeToRun (settingsType) Element |
Specifies that Task Scheduler will wake the computer when it is time to run the task. |
5fb53016-5778-463d-bb32-3c1da2de6fc2 |
|
|
|
|
reference |
05/31/2018 |
Specifies that Task Scheduler will wake the computer when it is time to run the task.
<xs:element name="WakeToRun"
type="boolean"
/>
The WakeToRun element is defined by the settingsType complex type.
Element | Derived from | Description |
---|---|---|
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.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |