| Author | Messages | |
rmscheck
Posts:38
 | | 04/25/2008 7:27 AM |
| GPO Gurus...
I want to create a GPO that will only apply for specific platforms, ex. 2003 Server EE. I linked this in the WMI filter section of the GPO and it still ends up getting applied to all OSes.
Namespace: root\CIMv2
Query: SELECT * FROM Win32_OperatingSystem WHERE Caption="Microsoft(R) Windows(R) Server 2003, Enterprise Edition"
Sorry, I'm a WMI newb.. what am I missing here..
Thanks! R
--------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
| | | |
| danholme
Posts:113
 | | 04/25/2008 1:19 PM |
| Two approaches:
1) Google: http://www.google.com/search?hl=en&safe=off&q=GPO+%22WMI+filter%22+%22Wi n32_OperatingSystem%22
2) Run a WMI VBScript on a WS2003 EE system to find out exactly what the caption you need is: http://www.google.com/search?q=vbscript%20wmi%20"WIN32_OperatingSystem"
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Rand Salazar Sent: Friday, April 25, 2008 1:25 AM To: Active Dir Subject: [ActiveDir] GPO WMI Problem
GPO Gurus...
I want to create a GPO that will only apply for specific platforms, ex. 2003 Server EE. I linked this in the WMI filter section of the GPO and it still ends up getting applied to all OSes.
Namespace:
root\CIMv2
Query:
SELECT * FROM Win32_OperatingSystem WHERE Caption="Microsoft(R) Windows(R) Server 2003, Enterprise Edition"
Sorry, I'm a WMI newb.. what am I missing here..
Thanks!
R
________________________________
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. <http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62 sR8HDtDypao8Wcj9tAcJ%20>
| | | |
| rmscheck
Posts:38
 | | 04/25/2008 1:45 PM |
| Ahh, I guess I saw that one coming...
My problem is I thought I had the right query (referenced below) and method of application, but for some reason what eludes me is that it the GPO is not working as intended.
Thanks.
Dan Holme <dan.holme@intelliem.com> wrote: v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Two approaches:
1) Google: http://www.google.com/search?hl=en&safe=off&q=GPO+%22WMI+filter%22+%22Win32_OperatingSystem%22 2) Run a WMI VBScript on a WS2003 EE system to find out exactly what the caption you need is: http://www.google.com/search?q=vbscript%20wmi%20"WIN32_OperatingSystem"
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Rand Salazar Sent: Friday, April 25, 2008 1:25 AM To: Active Dir Subject: [ActiveDir] GPO WMI Problem
GPO Gurus...
I want to create a GPO that will only apply for specific platforms, ex. 2003 Server EE. I linked this in the WMI filter section of the GPO and it still ends up getting applied to all OSes.
Namespace:
root\CIMv2
Query:
SELECT * FROM Win32_OperatingSystem WHERE Caption="Microsoft(R) Windows(R) Server 2003, Enterprise Edition"
Sorry, I'm a WMI newb.. what am I missing here..
Thanks!
R
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
--------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
| | | |
| danholme
Posts:113
 | | 04/25/2008 2:10 PM |
| You might be better using other WMI exposed attributes of Win32_OperatingSystem
See these (I added "Server 2003" to my google search to narrow it down, fwiw)
http://forums.techarena.in/showthread.php?t=632665
http://grouppolicy.editme.com/WMIFilters
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Rand Salazar Sent: Friday, April 25, 2008 7:42 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] GPO WMI Problem
Ahh, I guess I saw that one coming...
My problem is I thought I had the right query (referenced below) and method of application, but for some reason what eludes me is that it the GPO is not working as intended.
Thanks.
Dan Holme <dan.holme@intelliem.com> wrote:
Two approaches:
Google: http://www.google.com/search?hl=en&safe=off&q=GPO+%22WMI+filter%22+%22Wi n32_OperatingSystem%22
Run a WMI VBScript on a WS2003 EE system to find out exactly what the caption you need is: http://www.google.com/search?q=vbscript%20wmi%20"WIN32_OperatingSystem"
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Rand Salazar Sent: Friday, April 25, 2008 1:25 AM To: Active Dir Subject: [ActiveDir] GPO WMI Problem
GPO Gurus...
I want to create a GPO that will only apply for specific platforms, ex. 2003 Server EE. I linked this in the WMI filter section of the GPO and it still ends up getting applied to all OSes.
Namespace:
root\CIMv2
Query:
SELECT * FROM Win32_OperatingSystem WHERE Caption="Microsoft(R) Windows(R) Server 2003, Enterprise Edition"
Sorry, I'm a WMI newb.. what am I missing here..
Thanks!
R
________________________________
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. <http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62 sR8HDtDypao8Wcj9tAcJ%20>
________________________________
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. <http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62 sR8HDtDypao8Wcj9tAcJ%20>
| | | |
| rmscheck
Posts:38
 | | 04/25/2008 4:01 PM |
| Thanks Dan!
Dan Holme <dan.holme@intelliem.com> wrote: v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} You might be better using other WMI exposed attributes of Win32_OperatingSystem
See these (I added Server 2003 to my google search to narrow it down, fwiw) http://forums.techarena.in/showthread.php?t=632665 http://grouppolicy.editme.com/WMIFilters
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Rand Salazar Sent: Friday, April 25, 2008 7:42 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] GPO WMI Problem
Ahh, I guess I saw that one coming...
My problem is I thought I had the right query (referenced below) and method of application, but for some reason what eludes me is that it the GPO is not working as intended.
Thanks.
Dan Holme <dan.holme@intelliem.com> wrote: Two approaches:
Google: http://www.google.com/search?hl=en&safe=off&q=GPO+%22WMI+filter%22+%22Win32_OperatingSystem%22
Run a WMI VBScript on a WS2003 EE system to find out exactly what the caption you need is: http://www.google.com/search?q=vbscript%20wmi%20"WIN32_OperatingSystem"
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Rand Salazar Sent: Friday, April 25, 2008 1:25 AM To: Active Dir Subject: [ActiveDir] GPO WMI Problem
GPO Gurus...
I want to create a GPO that will only apply for specific platforms, ex. 2003 Server EE. I linked this in the WMI filter section of the GPO and it still ends up getting applied to all OSes.
Namespace:
root\CIMv2
Query:
SELECT * FROM Win32_OperatingSystem WHERE Caption="Microsoft(R) Windows(R) Server 2003, Enterprise Edition"
Sorry, I'm a WMI newb.. what am I missing here..
Thanks!
R
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
--------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
| | | |
| darren
Posts:119
 | | 04/25/2008 5:36 PM |
| Rand-
Just an FYI that I wrote a free utility that you can use to test WMI Filters on specific machines. Its at www.gpoguy.com/wmiftest.htm.
Also, when testing for OS version, I typically use the BuildNumber property on Win32_OperatingSystem unless I am looking for a very particular SKU within a given platform. In that case, a LIKE query on the Caption can work.
Darren
Darren Mar-Elia
CTO & Founder
www.sdmsoftware.com <http://www.sdmsoftware.com/>
darren@sdmsoftware.com
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Rand Salazar Sent: Friday, April 25, 2008 12:56 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] GPO WMI Problem
Thanks Dan!
Dan Holme <dan.holme@intelliem.com> wrote:
You might be better using other WMI exposed attributes of Win32_OperatingSystem
See these (I added "Server 2003" to my google search to narrow it down, fwiw)
http://forums.techarena.in/showthread.php?t=632665
http://grouppolicy.editme.com/WMIFilters
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Rand Salazar Sent: Friday, April 25, 2008 7:42 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] GPO WMI Problem
Ahh, I guess I saw that one coming...
My problem is I thought I had the right query (referenced below) and method of application, but for some reason what eludes me is that it the GPO is not working as intended.
Thanks.
Dan Holme <dan.holme@intelliem.com> wrote:
Two approaches:
Google: http://www.google.com/search?hl=en&safe=off&q=GPO+%22WMI+filter%22+%22Win32_ OperatingSystem%22
Run a WMI VBScript on a WS2003 EE system to find out exactly what the caption you need is: http://www.google.com/search?q=vbscript%20wmi%20"WIN32_OperatingSystem"
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Rand Salazar Sent: Friday, April 25, 2008 1:25 AM To: Active Dir Subject: [ActiveDir] GPO WMI Problem
GPO Gurus...
I want to create a GPO that will only apply for specific platforms, ex. 2003 Server EE. I linked this in the WMI filter section of the GPO and it still ends up getting applied to all OSes.
Namespace:
root\CIMv2
Query:
SELECT * FROM Win32_OperatingSystem WHERE Caption="Microsoft(R) Windows(R) Server 2003, Enterprise Edition"
Sorry, I'm a WMI newb.. what am I missing here..
Thanks!
R
_____
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try <http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62sR8H DtDypao8Wcj9tAcJ%20> it now.
_____
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try <http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62sR8H DtDypao8Wcj9tAcJ%20> it now.
_____
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try <http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62sR8H DtDypao8Wcj9tAcJ%20> it now.
| | | |
|
|