Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

WMI filter to run GPO only on XP machines

Posted on 2009-03-31
2
Medium Priority
?
7,538 Views
Last Modified: 2012-05-06
We are going to be putting out a computer based group policy that includes some settings. I would like to know what the WMI filter is that will only allow the GPO to run on windows XP machines.

I have found the following that will tailor the WMI for windows xp sp2 but I want it to reflect all versions of XP. I DO NOT want it to affect any servers.
SELECT Version FROM Win32_OperatingSystem WHERE Version = "5.1.2600"

0
Comment
Question by:Joseph Daly
2 Comments
 
LVL 57

Accepted Solution

by:
Mike Kline earned 2000 total points
ID: 24029549
You could use
select * from Win32_OperatingSystem where Version like "5.1%"
That comes from here:
http://technet.microsoft.com/en-us/library/cc947846.aspx
You can also use build number.   Florian has some good examples here
http://www.frickelsoft.net/blog/?p=109
 
Thanks
Mike
 
 
0
 
LVL 35

Author Closing Comment

by:Joseph Daly
ID: 31564842
Great thanks.
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here's a look at newsworthy articles and community happenings during the last month.
Transferring FSMO roles is done when an admin wants to split roles between certain Domain Controllers or the Domain Controller holding the Roles has been forcefully demoted using dcpromo / forceremoval
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question