Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

WMI filter to run GPO only on XP machines

Posted on 2009-03-31
2
Medium Priority
?
7,505 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
[X]
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
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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
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 update 100 user accounts from an external text file. View in 1080p for best video quality.

688 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