Solved

WMI filter to run GPO only on XP machines

Posted on 2009-03-31
2
7,271 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 500 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Learn about cloud computing and its benefits for small business owners.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
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.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

786 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