Create a WMI Filter
Updated: April 17, 2012
Applies To: Windows 8, Windows Server 2008 R2, Windows Server 2012
Do the following procedure to create a WMI filter.
To create a WMI filter
In the Group Policy Management Console (GPMC) console tree, right-click WMI Filters in the forest and domain in which you want to create a WMI filter.
Click New .
In the New WMI Filter dialog box, type a name for the new WMI Filter in the Name box, and type a description of the filter in the Description box.
Click Add .
In the WMI Query dialog box, either leave the default namespace (root\CIMv2) or enter another namespace by doing one of the following:
box, type the name of the namespace that you want to use for the WMI query.
, select a namespace from the list, and then click
- In the Namespace box, type the name of the namespace that you want to use for the WMI query.
Type a WMI query in the Query box, and then click OK .
To add more queries, repeat Steps 4 through 6 to add each query.
After adding all queries, click Save .
You must have privileges to create WMI filters in the domain in which you want to create the filter. By default, the Domain Administrators, Enterprise Administrators, and Group Policy Creator Owners groups have this permission.
is only available if at least one domain controller in the domain is running Microsoft Windows Server™ 2003. The same is true for
Group Policy Objects
To delete a WMI filter, in the console tree, right-click the WMI filter and then click
. When asked to confirm whether you want to delete the WMI filter, click
WMI Filters are not evaluated on Microsoft Windows® 2000. A GPO targeted to a Windows 2000 machine will always apply the GPO regardless of the query associated with the WMI Filter (the filter is ignored)