Item-Level Targetting using WMI on Windows 7 Problem


i using windows 7 enterprise x64 (rtm).

i have gpo gpo creates registry entry using group policy preferences.

the idea that this registry key holds value indicates operating system architecture (ie. x86 or x64).  value stored in...

     key path: hklm\software\mycompany\group policy
     value name: osarchitecture
     value data: x64

it has item-level targetting enabled filters using wmi.  configuration wmi query follows...

     query: select * win32_processor addresswidth = 64
     namespace: root\cimv2
     property: systemname

this seems work without issue on windows vista , windows xp doesn't seem work on windows 7.

if enable gpp trace logging, following recorded in log...

2009-09-04 09:38:31.337 [pid=0x3b8,tid=0xb28] starting class <collection> - os architecture identification.
2009-09-04 09:38:31.337 [pid=0x3b8,tid=0xb28] handle children.
2009-09-04 09:38:31.337 [pid=0x3b8,tid=0xb28] {9cd4b2f4-923d-47f5-a062-e897dd1dad50}
2009-09-04 09:38:31.353 [pid=0x3b8,tid=0xb28] starting class <registry> - x86.
2009-09-04 09:38:31.353 [pid=0x3b8,tid=0xb28] starting filter [and filterwmi].
2009-09-04 09:38:31.353 [pid=0x3b8,tid=0xb28] adding child elements rsop.
2009-09-04 09:38:31.353 [pid=0x3b8,tid=0xb28] failed filter [filterwmi].
2009-09-04 09:38:31.353 [pid=0x3b8,tid=0xb28] filters not passed.
2009-09-04 09:38:31.353 [pid=0x3b8,tid=0xb28] completed class <registry> - x86.
2009-09-04 09:38:31.353 [pid=0x3b8,tid=0xb28] {9cd4b2f4-923d-47f5-a062-e897dd1dad50}
2009-09-04 09:38:31.353 [pid=0x3b8,tid=0xb28] starting class <registry> - x64.
2009-09-04 09:38:31.353 [pid=0x3b8,tid=0xb28] starting filter [and filterwmi].
2009-09-04 09:38:31.353 [pid=0x3b8,tid=0xb28] adding child elements rsop.
2009-09-04 09:38:31.369 [pid=0x3b8,tid=0xb28] failed filter [filterwmi].
2009-09-04 09:38:31.369 [pid=0x3b8,tid=0xb28] filters not passed.
2009-09-04 09:38:31.369 [pid=0x3b8,tid=0xb28] completed class <registry> - x64.
2009-09-04 09:38:31.369 [pid=0x3b8,tid=0xb28] completed class <collection> - os architecture identification.

why filter fail?  cannot see wrong i've written.  can help?  has else experienced same/similar issues?

thanks in advance!

regards,

lee

hi lee,

 

it must issue wmi query item-level targeting in gpp. workaround, may consider creating wmi filter in gpmc, , link gpo in order can create registry key based on operating system architecture.

 

thanks.

 

joson zhou

technet subscriber support in forum

if have feedback on our support, please contact tngfb@microsoft.com


this posting provided "as is" no warranties, , confers no rights.


Windows Server  >  Group Policy



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Event ID 64,77,1008 Certificates Events Windows Server 2008, 2008R2