Location: Mail List

Ads

Skyscraper

The GPTalk Mailing List

The GPTALK mailing list is where you can send and receive email related to Windows Group Policy. You must subscribe to the list to send and receive mail from the list. The purpose of the list is to provide a forum for asking and answering technical questions related to Group Policy. Any question is fair game as long as it is related to Windows Group Policy.  The Archives for this list can be found on this page.

 

List Posts

Subject: RE: [gptalk] GPP Item-Level Targeting and Win32_SystemEnclosure.ChassisTypes
Prev Next
You are not authorized to post a reply.

AuthorMessages
dmareliaUser is Offline

Posts:442

02/01/2012 10:13 PM  
Gabriele-
Based on the silence, I’m going to assume no one knows the definitive answer to this. ☺. I will see if I can get an answer from the GP product team or will try to test this myself if I can.

Darren

From: gptalk-owner@lists.gpoguy.com [mailto:gptalk-owner@lists.gpoguy.com] On Behalf Of Gabriele Scolaro
Sent: Tuesday, January 31, 2012 6:50 AM
To: gptalk@lists.gpoguy.com
Subject: [gptalk] GPP Item-Level Targeting and Win32_SystemEnclosure.ChassisTypes

I know the “classic” GPO WMI filtering did not support Array type, so it was not possible to use the Win32_SystemEnclosure.ChassisTypes to determine if a computer was a desktop or a laptop.

Recently I tried to use a similar approach with GPP Item-Level Targeting WMI but surprisingly it does not work either. ☹

I strated creating a write-registry GPP with the following targeting:

- He portable computer docking state is docked, undocked, unknown

- OR a battery is present

- OR a PCMCIA is present
and the registry key got written to my laptop (Win 7).

I started adding the following and had no luck:
OR SELECT ChassisTypes from Win32_SystemEnclosure WHERE (ChassisTypes="8" OR ChassisTypes="9" OR ChassisTypes="10" OR ChassisTypes="11" OR ChassisTypes="14" OR ChassisTypes="18")

I tried a simpler query and no luck either:
OR SELECT ChassisTypes from Win32_SystemEnclosure WHERE ChassisTypes="8"

On the other hand I tried a different query that is not an Array type and works:
SELECT PCSystemType FROM Win32_ComputerSystem WHERE PCSystemType="2"

So my question… does really GGP *NOT* support WMI Query for Array types?

Thanks – Gabriele.
You are not authorized to post a reply.
Forums >GPTalk >GPTalk Mailing List > RE: [gptalk] GPP Item-Level Targeting and Win32_SystemEnclosure.ChassisTypes



ActiveForums 3.7

Members

MembershipMembership:
Latest New UserLatest:carmicklec
New TodayNew Today:0
New YesterdayNew Yesterday:0
User CountOverall:1399

People OnlinePeople Online:
VisitorsVisitors:0
MembersMembers:0
TotalTotal:0

Online NowOnline Now:

Ads

Banner Inv
Copyright 2009 by GPOGUY.COM
Terms Of Use