Answered by:

SCCM Power Mgmt WMI Classes Issue

Question

Hi, I had implemetned SCCM R3 succesfully and leveraging it well to 1) get power mgmt reports from clients 2) Enforce Power Policies successfully. All of sudden clients throwing messages that they cant receive power policy (created a collection level) any
more.
Ref: 1) Pwrprovider.log Throw continoulsy Failed to read ValueUnitsSpecifier
2) Inventoryagent.log has Collection: Namespace = root\ccm\policy\machine\actualconfig; Query = SELECT __CLASS, __PATH, __RELPATH, NonPeakPowerPlanName, PeakPowerPlanName, PowerConfigID FROM CCM_PowerConfig; Timeout = 600 secs.
Unknown error encountered processing an instance of class CCM_PowerConfig: 80041017 3) Policyeevaluator.log shows Failed to load policies from XML.
Not found (Error: 80041002; Source: WMI)
Bad policy dumped to C:\WINDOWS\system32\CCM\Temp\badpolicy-SMS_MU1-IN1000A1-{67dbe712-dc18-4e4b-918f-34b0144b559c}-1.00-{27372469-6b7f-41fe-9f2c-2f45c7ecb259}.txt
Already sent a policy rule application failure status message within the last 6 hours, not sending. PolicyAgent_PolicyEvaluator
Failed to apply policy rule {27372469-6b7f-41fe-9f2c-2f45c7ecb259}. PolicyAgent_PolicyEvaluator 17-03-2011 10:17:05 7264 (0x1C60)
The policy CCM_Policy_Policy4.PolicyID="IN1000A1-{67dbe712-dc18-4e4b-918f-34b0144b559c}",PolicySource="SMS:MU1",PolicyVersion="1.00" failed to compile. State has been set to 'Inactive' and policy will be rolled back.
Failed to update policy CCM_Policy_Policy4.PolicyID="IN1000A1-{67dbe712-dc18-4e4b-918f-34b0144b559c}",PolicySource="SMS:MU1",PolicyVersion="1.00" I found that issue is Power Policies crated at SCCM fails to read/interpret by Agent to create a local power policy. This is due to incorrect name that appears in WMI classes
pertains to Power Mgmt on client, versus what comes from server. Policy doesn’t find right values in to place a policy hence power polocy creation fails. Policyevluation log shows that it fails to give the power policy to agents, because it doesn’t
find values pertains to below WMI class

SCCM Policy from Server

SCCM Client Contains (CCM_PowerConfig)

Got extra word “Name” as highlighted

NonPeakPowerPlan

PeakPowerPlan

PowerConfigID

NonPeakPowerPlanName

PeakPowerPlanName

PowerConfigID

Now, how can we find what is the root cauase and importnatly how to fix this issue ?

Answers

I've had the same problem. Yesterday I've contacted customer support, and with some smart Indian guys we found solution (first we manually added correct CollectionSettings.mof, then we compiled it (mofcomp CollectionSettings.mof at C:\Windows\System32\CCM\)
and restarted service ... it helped!

All replies

Issue: We are evaluating SCCM R3 features and successful in 1) Collecting the power reports data from clients and 2) Enforce policy successfully for
last couple of weeks, this was a working setup. Recently started to observe that SCCM R3 Clients, those which has KB 2444668 (Asset Intelligence KB) installed on them, fails to read the power policies from SCCM. Power Options in control panel doesn’t
show the policy assigned from SCCM server but falls back to default one chosen randomly from OS. Below is some info that helps you to understand this issue…

1)CCM_PowerConfig has WMI class that is created along SCCM R3 (KB 977384) which contains/should contain values DurationInSec,NonPeakPowerPlan,NonPeakPowerPlanName,PeakPowerPlan,PeakPowerPlanName,PeakStartTimeHoursMin,PowerConfigID,WakeUpTimeHoursMin. Power policies created on SCCM server are evaluated by client and then will be stored client OS Power Options, with the help of this WMI class.

2)We found that Issue arise because
PeakPowerPlanName and NonPeakPowerPlanName values in CCM_PowerConfig doesn’t appear anymore/disappears and SCCM Agent/Policy expects these values for successful offerings of power policy, hence
power policy fails

3<sup>rd</sup> level (Investigation):

1)It was our observation that Asset Intelligence KB 2444668, once installed is removing above values and causing SCCM Power policy evaluation failures. Agent at 4.00.6487.2157
works, but 4.00.6487.2161 which is result of AI KB and it fails

Have any of you observed the order of “SCCM Agent + SCCM R3 (KB977384) + Asset Intelligence Patch (KB2444668) breaks Power Mgmt to fail on agents. You can just try the same order

Would you know if any progress has been on this? I have several older OS clients (2K3) that are displaying the same behavior. CCM client has been completely uninstalled then reinstalled. WMI repairs run, CCM repairs run...about everything
we can think of. After install only 4 actions appear on in the Configuration Manager Properties - Actions tab. Several badpolicy txt files are generated in the Temp directory. Was just wondering if anyone had made any progress on this one.
Thanks.

I've had the same problem. Yesterday I've contacted customer support, and with some smart Indian guys we found solution (first we manually added correct CollectionSettings.mof, then we compiled it (mofcomp CollectionSettings.mof at C:\Windows\System32\CCM\)
and restarted service ... it helped!

Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.