These task sequence variables govern the operation of the task sequence action. Variables marked as input variables are read or used by the task sequence action. In most cases, input variables correspond to task sequence action fields in the task sequence editor and can be set via that user interface. Alternatively, input variables can be set at runtime from per-collection or per-computer variables, via the Set Task Sequence Variable action or via the TSEnvironment COM object. Variables marked as output variables are written or set by the task sequence action to be read by later actions in the task sequence.

Restart Computer Task Sequence Action

Action Variable Name Description

SMSRebootMessage

(input)

Specifies the message to be displayed to users before restarting the computer. If this variable is not set, the default message text is displayed.

Note
The message specified must not exceed 512 characters.

Example:

  • "This computer will be restarted; please save your work."

SMSRebootTimeout

(input)

Specifies the number of seconds that the warning is displayed to the user before the computer restarts. Specify zero seconds to indicate that no reboot message should be displayed.

Examples:

"0" (default)

"5"

"10"

See Also