A WMI Query targeting item allows a preference item to be applied to computers or users only if the processing computer evaluates the WMI query as true. If Is Not is selected, it allows the preference item to be applied only if the processing computer evaluates the WMI query as false.

Query

The WMI query text

Example
The targeting item allows the associated preference item to process if the computer's time zone is set to the Eastern Time zone.
Select * from win32_timezone where bias = -300

Namespace

The WMI namespace in which to execute the query. The default value is Root\cimv2.

Property

The name of a specific property to assign to a variable. Providing this value in the targeting item is optional.

Variable name

The name of the environment variable to which the targeting item sets the value of the Property, if one is found. Providing this value in the targeting item is optional.

Additional considerations

  • To reposition a targeting item within the list of targeting items that you have applied to a preference item, either drag the targeting item to a new position, or select the targeting item and then click the Move Up arrow or Move Down arrow.

  • Preference items are available only in domain-based GPOs.

Additional references