Solved

WMI filter to run GPO only on XP machines

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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now