WMI filter to run GPO only on XP machines

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"

LVL 35
Joseph DalyAsked:
Who is Participating?
Mike KlineConnect With a Mentor Commented:
You could use
select * from Win32_OperatingSystem where Version like "5.1%"
That comes from here:
You can also use build number.   Florian has some good examples here
Joseph DalyAuthor Commented:
Great thanks.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.