Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

...I enjoy spending time on it for personal growth (I learn from the questions I don't answer, and I reinforce/stay sharp on the topics I do answer), and to give back to humanity at large...

Geography

Where in the world do Tek-Tips members come from?
JPJeffery (TechnicalUser)
16 May 12 11:23
I'm trying to use a WMI Filter to apply a GPO to servers with any version of 'Windows Server 2003' only (i.e. not Windows 2008).

i.e. the GPO using the WMI filter will be linked to the OU containing ALL of our servers but should only then be applied if the server is 2003.

The syntax of the query is as follows:

CODE --> WQL

Select * from Win32_OperatingSystem where Caption LIKE "Windows Server 2003%"

What happens though, at least according to the results of the Group Policy Modelling wizard, is that it will apply to ANY computer. I've run the wizard against a 2003 Server, a 2008 server and an XP box. I've also set the WQL query to this:

CODE --> WQL

Select * from Win32_OperatingSystem where Caption = "Linux"
and it STILL returns 'True'.

What gives?

JJ
Variables won't. Constants aren't
There is no apostrophe in the plural of PC (or PST, or CPU, or HDD, or FDD, or photo, or breakfast...and so on)

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close