Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

WMI filter to run GPO only on XP machines

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In-place Upgrading Dirsync to Azure AD Connect
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

792 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