In some scenarios, consider running a task sequence step conditionally based on defined criteria. Any combinations of these conditions can be added to determine whether the task sequence step should run. For example, use the value of a task sequence variable and the value of a registry setting to determine whether a task sequence step should run.

Using MDT, run a task sequence conditionally based on:

·     One or more IF statements

·     A task sequence variable

·     The version of the target operating system

·     The Boolean results of a WMI query

·     A registry setting

·     The software installed on the target computer

·     The properties of a folder

·     The properties of a file

Related Topics

Microsoft Deployment Toolkit Samples Guide
Configuring a Conditional Task Sequence Step
IF Statements in Conditions
Task Sequence Variables in Conditions
Operating System Version in Conditions
File Properties in Conditions
Folder Properties in Conditions
Registry Settings in Conditions
WMI Queries in Conditions
Installed Software in Conditions
Complex Conditions