COMMUNITY SOLUTIONS CONTENT DISCLAIMER
WMI filters only apply on Windows XP and Winsows Server 2003 computers. WMI filters are ignored on earlier versions of Windows. In order to be able to filter policies you will need at least one domain controller running Windows Server 2003 in your environment.
Step One : Install the Group Policy Management Console (GPMC) SP1
Install the GPMC SP1 according to the setup instructions.
Step Two: Create a WMI filter
Expand the domain under which you want to create a WMI Filter
Right-Click the WMI Filter object and select New…
Type in a Name and a friendly description for your new filter
The current namespace should be root\CIMv2; This is the most common namespace for WMI queries. All Win32_* classes are located.
Step Three: Create your WMI query using WQL
Here is a query that would return true if the C: drive has at least 100MB free
Select * from Win32_LogicalDisk where FreeSpace > 104857600 AND Caption = "C:"
How to determine all of the Win32_* available classes and properties?
Download the WMI Tools available at
Using the WMI Object browser you can search for classes and even see all the different properties.
Step Four: Assign a WMI Filter to a Group Policy
Select the Group Policy Object and in the right pane, in the WMI Filtering section click the drop down menu and select the WMI Filter you have just created.
The Group Policy will only be applied if the WMI Filter assigned returns true.
WMI Filters overview
Managing WMI security
Windows Management Instrumentation (WMI)