Using WMI filters for Group policy

This guide describes how to apply WMI filters to a Group Policy in order to target computers with a particular system configuration/information. WMI contains almost any information about the computers’ configuration, which gives us the opportunity to use this information to make sure that the Group Policy that we are using, only applies to the computers fulfilling the requirements specified in the WMI filter.  In this case we will use it to target only computers with Windows 8 and 8.1 installed.

  • Open the “Group Policy Management” console.


  • Right click the “WMI Filters” and click New.


  • Write a describing name and description and click the Add button.


  • In this case, keep the Namespace as it is and write the WMI query in the “Query” field.


This WMI query checks, if the version of the OS is either 6.2 (Windows 8 and Server 2012) or 6.3 (Windows 8.1 and Server 2012 R2) and Product type is 1 (Desktop OS). This narrows the result to only be true when running on a Windows 8 and Windows 8.1 operative system.

  • Click OK. If presented with a warning regarding namespace, just click OK again.


  • Save the WMI filter and the filter is done. Now we just need to apply it to a Group Policy.


  • Select the Group Policy that you wish to apply the WMI filter to. Under the Scope, choose the WMI filter at the bottom of the console.


  • Click yes to the prompt and you are done.


This is just one out of thousands or millions of different WMI filters that could be made. This is to show how it is created and to give an idea of how to use it. WMI queries can easily be found with a little bit of searching the web, if you are not that familiar with WMI.

This entry was posted in Uncategorized and tagged , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s