Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WM Filter not woring

Status
Not open for further replies.

JPJeffery

Technical User
May 26, 2006
600
0
0
GB
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.

I'm creating the filter and GPO on our 2008 DC and the syntax of the query is as follows:


Code:
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:
Select * from Win32_OperatingSystem where Caption = "Linux"
and it STILL returns 'True'.

What gives?

JJ
[small][purple]Variables won't. Constants aren't[/purple]
There is no apostrophe in the plural of PC (or PST, or CPU, or HDD, or FDD, or photo, or breakfast...and so on)[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top