Solved

GPO WMI Filter - Read Registry Key Value

Posted on 2009-04-13
2
3,189 Views
Last Modified: 2012-06-22
Have a GPO that needs to be applied to all clients that have registry key of HKEY_LOCAL_MACHINE\SOFTWARE\Chrysler\MachineData\ReleaseVersion = "V10.0.0".  I understand that I can base a GPO on the security filtering of "Authenticated Users" and base that on a WMI Filter.  Can someone help me with the WMI Filter based on the above registry key?
0
Comment
Question by:ChrisDenny
2 Comments
 
LVL 21

Expert Comment

by:snusgubben
ID: 24136005
Check this post. This seems like a difficult, if not impossible task.

http://www.minasi.com/forum/topic.asp?TOPIC_ID=11589


SG
0
 

Accepted Solution

by:
ChrisDenny earned 0 total points
ID: 24136872
I do have a MOF file on all clients from SMS that has the following, which I realized the URL you provided (I also found before posting this inquiry) may work.  Now just need confirmation some how:

//==================================================================
//
// SMS_DEF.mof - Maps SMS inventoriable set to that provided by
//               the WBEM CIMV2 Win32 Provider - version 1085
//
// Copyright (c) Microsoft Corporation, All Rights Reserved
//
//==================================================================

//==================================================================
// Create namespaces used by the Inventory Agent
//==================================================================


#pragma namespace ("\\\\.\\root\\cimv2")

instance of __Namespace
{
      Name = "SMS" ;
};

#pragma namespace ("\\\\.\\root\\cimv2\\SMS")

class SMS_Class_Template
{
};

instance of __Namespace
{
      Name = "DELTA" ;
};

#pragma namespace ("\\\\.\\root\\cimv2\\SMS\\DELTA")

class SMS_Delta
{
    [SMS_Report (True), key]
        string     InstancePath ;
        string     InstanceText ;
        string     TimeStamp ;
};

[DYNPROPS]
instance of Chrysler_MachineData
{
      Name = "Chrysler MachineData";
      [PropertyContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Chrysler\\MachineData|ReleaseVersion"), Dynamic, Provider("RegPropProv")] ReleaseVersion;
};
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Unable to remove HP CP1510 deployed printer 1 41
please tell me windows 1-10 7 56
Syntax error 9 45
Upgrade from Win7 Premium to Pro? 3 19
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now