The following procedure shows you how you can use Windows Management Instrumentation (WMI) filtering to apply a Group Policy object to selected managed Windows Mobile devices in an organizational unit. A WMI filter is composed of one or more WMI queries. You can link a GPO to an existing or new WMI filter. The GPO policy settings will apply to a managed device if the WMI filter queries evaluate as true for that managed device.

The following example shows you the correct format for WMI queries. Notice that <expression>is any WMI Query Language expression.

Copy Code
“Select * from WindowsMobileDevices where <expression>”.

In the following example, the policy settings associated with a GPO that links to the query will apply to managed devices where the device language is U.S. English.

Copy Code
Select * from WindowsMobileDevices where DeviceLanguage like

For more information about WMI filtering, see the Group Policy Management Console Help.

To create a Windows Management Instrumentation filter

  1. In the Group Policy Management Console, in the navigation pane, right-click WMI Filters, and then choose New.

  2. In the New WMI Filtersdialog box, type a name and description for the new filter.

  3. Choose Add.

  4. In the WMI Querydialog box, leave the default namespace, root\CIMv2, and then choose OK.

  5. In the Querybox, type the new WMI query and then choose OK.

  6. To add more queries, repeat steps 3 through 6.

  7. After you add all the queries, choose Save.

To link a Group Policy object to a Windows Management Instrumentation filter

  1. In the console tree, expand Group Policy Objects, and then select the target GPO.

  2. In the details pane, select the Scopetab and then locate the section titled WMI Filtering.

  3. In the WMI Filteringlist, select the WMI filter to which the GPO will be linked.

  4. Choose Yesto confirm the selection.

See Also

Other Resources