We help IT Professionals succeed at work.
Get Started

GPO WMI Filter for only Windows Server 2008 R2 or Server 2008 x86

1,714 Views
Last Modified: 2012-08-14
Hi, I want to have a WMI filter running on a GPO so that the GPO only runs when the logged on machine is either of these three OSes:

Windows Server 2008 R2 SP1  (Running 'ver' says [Version 6.1.7601])
Windows Server 2008 Standard without Hyper-V SP2 32-bit  (Running 'ver' says [Version 6.0.6002])

I don't want Server 2003 involved.

I also want it to only run on a server, not a domain controller, or a workstation.

Initially, I had an WMI filter only for the R2 server, i.e.

SELECT Version, ProductType FROM Win32_OperatingSystem WHERE Version = '6.1.7601' AND ProductType = '3'

This has been working well for me, but I want to incorporate the 2008 32-bit server into it and I'm not quite sure how to sort out the boolean AND/OR business.

Thanks.
Comment
Watch Question
Senior Active Directory Engineer
CERTIFIED EXPERT
Top Expert 2012
Commented:
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE