[gptalk] WMI filter on registry keys

  • From: "Delaney, Doug" <doug.delaney@xxxxxxx>
  • To: <gptalk@xxxxxxxxxxxxx>
  • Date: Thu, 18 Oct 2007 00:14:00 -0400

Does any know how to use a WMI filter for a GPO that will return true if
a registry value (not key) contains expected data.  We are essentially
trying to make startup scripts run once to resolve major issues.  In
that, once the script completed it's work, it writes to the registry,
then the WMI filter would prevent subsequent attempts to apply the GPO
(Denied WMI filter) if the registry entry contained the defined value.

Apparently direct access to the registry is not available in a class.
But the registry is exposed as a method in Root\CimV2

Doug Delaney
EDS - Integration Engineering-GM
GM Desktop Engineering
1075 W. Entrance Dr., MS 2B, Cube 2130
Auburn Hills, MI 48326
Lab: 248-365-9187
Tel: 248-754-7917
Pg: 248-870-0306 pager
Mail: Doug.Delaney@xxxxxxx 
Note: The information in this email is intended solely for the
addressee. Access to this email by anyone else is unauthorized. If you
are not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it is prohibited.

Other related posts: