In certain scenarios, consider conditionally running a task sequence step based on defined criteria. Configure task sequence step conditions on the Options tab of a task sequence step. Add any combinations of these conditions to determine whether the task sequence step should run. For example, you could use the values of a task sequence variable and of a registry setting to determine whether a task sequence step should run.
Configure conditional task sequence steps by performing any combination of the following actions:
· Add one or more IF statements to a task sequence step condition as described in Add IF Statements to Task Sequence Step Conditions.
· Add one or more task sequence variables to a task sequence step condition as described in Add Task Sequence Variables to Task Sequence Step Conditions.
· Add one or more target operating system versions to a task sequence step condition as described in Add Operating System Versions to Task Sequence Step Conditions.
· Add one or more WMI query results to a task sequence step condition as described in Add WMI Queries to Task Sequence Step Conditions.
· Add the value of one or more registry settings to a task sequence step condition as described in Add Registry Settings to Task Sequence Step Conditions.
· Add the test for software installed on the target computer to a task sequence step condition as described in Add a Test for Installed Software to Task Sequence Step Conditions.
· Add the test for various folder properties to a task sequence step condition as described in Add a Test for Folder Properties to Task Sequence Step Conditions.
· Add the test for various file properties to a task sequence step condition as described in Add a Test for File Properties to Task Sequence Step Conditions.
Related Topics
Configuring LTI Task
Sequence Steps in the Deployment Workbench
Add IF Statements to Task
Sequence Step Conditions
Add Task Sequence
Variables to Task Sequence Step Conditions
Add Operating System
Versions to Task Sequence Step Conditions
Add WMI Queries to Task
Sequence Step Conditions
Add Registry Settings
to Task Sequence Step Conditions
Add a Test for
Installed Software to Task Sequence Step Conditions
Add a Test for
Folder Properties to Task Sequence Step Conditions
Add a Test for File
Properties to Task Sequence Step Conditions