All task sequence conditions include one or more IF statements, which are the foundation for creating conditional task sequence steps. A task sequence step condition can include only one IF statement, but you can nest multiple IF statements beneath the top-level IF statement to create more complex conditions.

You test an IF statement based on the conditions listed in Table 77, which you configure in the IF Statement Properties dialog box.

Table 77. Conditions Available in IF Statements

Condition

Select this option to run the task sequence if

All conditions

All the conditions beneath this IF statement must be true.

Any conditions

Any the conditions beneath this IF statement are true.

None

None the conditions beneath this IF statement are true.

 

Complete the condition for running the task sequence step by adding other criteria to the conditions (for example, task sequence variables or values in a registry setting).

To add an IF statement condition to a task sequence step

1.   On the step Option tab (where step is the name of the task sequence step to configure), click Add, and then click If statement.

2.   In the If Statement Properties dialog box, click condition (where condition is one of the conditions listed in Table 77), and then click OK.

Related Topics

Configure Task Sequence Step Conditions