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

An IF statement can be based on the conditions listed in Table 7, which are configured in the IF Statement Properties dialog box.

Table 7. 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 7), and then click OK.

Related Topics

Configuring Conditional Task Sequence Steps