1. Home
  2. Knowledge Base
  3. Windows server
  4. How to create a filter that targets 64-bit OSs only

How to create a filter that targets 64-bit OSs only

Step 1: Launch the Group Policy Management Console (GPMC). Change the domain controller (if necessary) that you wish to create the WMI filter on. Expand the Domains | Domain name | WMI Filters nodes.

Step 2: Right-click the root of the WMI Filters node, then click New from the context menu to bring up the window to create a new filter.

Step 3: In the Name text box, enter a descriptive name of what the purpose of the filter is. Additionally, in the Description text box, you may optionally enter a more detailed description of what actions the WMI filter will provide.

Step 4: Click the Add button to populate the Namespace entry. By default, the root\CIMv2 namespace will be added. Depending on the intended action of the WMI filter, this may or may not change. For the purposes of this exercise, let’s leave it as is.

Step 5: We will be modifying the query that is the logic that will be run against the namespace to create our filtering capability. In this case, in the Query text box, enter the following query:

select * from Win32_OperatingSystem where OSArchitecture = “64-Bit”

Step 6: Click the OK button to save the query, then click the Save button to save the filter.

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support