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:
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:
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]
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:
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"
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]