Skip navigation
3854 Views 14 Replies Latest reply: May 15, 2012 8:55 AM by Colin_In_Ottawa RSS
ShaneUMontana Rookie 11 posts since
Sep 23, 2010

Has received 1 of 9 achievements.
Currently Being Moderated

Jun 9, 2011 3:19 PM

Power management error

I have recently attempted to push a new power policy to my client machines.  Most of them worked out ok, but about 10% came back with the error of Result: "Failed to process the power scheme of Windows! Return Code: 2505.  I have searched to see what could be causing the issue but I really could not find any documentation.  I am using LDMS 9.0 sp2 and have recently installed the most recent mcp patches.  Thanks.

  • MarXtar SSMMVPGroup 2,050 posts since
    Jul 2, 2008

    Has received 8 of 9 achievements.
    Currently Being Moderated
    1. Jun 10, 2011 3:46 AM (in response to ShaneUMontana)
    Re: Power management error

    You've probably checked this, but are those client agents also up to date? LANDesk runs a local process to set the power options and it's capabulities vary across the versions.

     

    Mark McGinn

    MarXtar Ltd

    http://www.marxtar.com

  • Catalysttgj Expert 413 posts since
    Jul 1, 2010

    Has received 8 of 9 achievements.
    Currently Being Moderated
    2. Jun 12, 2011 9:45 AM (in response to ShaneUMontana)
    Re: Power management error

    I'd recommend that you analyze the pwmcfg.log file that should be present in the LDclient directory on the devices in question.

    This log will update any time a power policy is applied, as well any time that pwmcfg.exe executes.

    There will be quite a lot of information in this log, and something in there may clue you into what this error is all about.

     

    We had one device where the power policy would not set because the specific user profile had some missing registry values on a specific power scheme.

    The log helped with tracking that down.

     

    Good luck!

  • Catalysttgj Expert 413 posts since
    Jul 1, 2010

    Has received 8 of 9 achievements.
    Currently Being Moderated
    4. Jun 14, 2011 4:15 PM (in response to ShaneUMontana)
    Re: Power management error

    Time will tell. Your logs do look pretty good there, but i did see the same error that i've seen once or twice on a couple of our test systems. My suspicion is that LANDesk still has some kinks they need to work out with pwmcfg.exe. We've already reported one bug, though it would be very unlikely that anyone else would encounter it, as well a sortie of typos do appear in the logs. Not that this is a functional problem it does show they need to spell check their logging routines in this code.

     

    At any rate, the error that i'm referring to has to do with when your user "domain\XYZ" was logged on to the system. You'll notice that pwmcfg has trouble reading value '6':

     

    Failed to call CRegHelper::ReadString(HKEY_USERS, S-1-5-21-2090760695-1161300292-829235722-9090\Control Panel\PowerCfg\PowerPolicies\6, Policies)

     

    If you go and dig in the registry on that machine, and drill down to this path, I suspect you will find that the key path looks a little barren compared to 1, 2, 3, 4, 5 and even 7, 8, and 9. Keep in mind, this user must be logged on when you go look for this specific registry path. This is a user hive path. If the user is logged off at the time, you won't see this path in the registry, though you could load the specific user hive if you have the means to do so.

     

    This error is preventing it from setting the "LANDesk Power management" scheme, but it might be only limited to when that "XYZ" user is logged on. Another user might not have the same problem at all. We ran across this on a machine where a specific user profile was missing a specific registry value in a specific power profile. It was thought to be a fluke, but now that i see this happening with one of yours, maybe not a fluke. This could be a more wide spread issue.

     

    A bug report may need to be logged with LANDesk so that they can fix this. If there are a multitude of user profiles with the same condition of missing specific registry values in specific power policy paths, there could be a lot of missed schedules when users are logged on to devices only.

  • Catalysttgj Expert 413 posts since
    Jul 1, 2010

    Has received 8 of 9 achievements.
    Currently Being Moderated
    6. Jun 17, 2011 7:17 AM (in response to ShaneUMontana)
    Re: Power management error

    That's Great! If you wouldn't mind, if you get a Bug report code from landesk for this, please let me know what it is, and we'll get it over to our TAM as well, so that we can get more heat on it for getting it fixed. We know how to reproduce it, so that helps a lot for getting a BR going. If for some reason you don't get a BR in a week or so, We'll try and get one going on this end.

     

    Thanks!

  • Catalysttgj Expert 413 posts since
    Jul 1, 2010

    Has received 8 of 9 achievements.
    Currently Being Moderated
    9. Jun 23, 2011 10:00 AM (in response to ShaneUMontana)
    Re: Power management error

    It'll be next week for sure. A little too busy to get it cranked out. Only a few days away though.

     

    Thanks for the update!

  • Colin_In_Ottawa Rookie 8 posts since
    Jul 23, 2008

    Has received 1 of 9 achievements.
    Currently Being Moderated
    11. Apr 26, 2012 12:34 PM (in response to ShaneUMontana)
    Re: Power management error

    I have over 600 machines with this issue. LANDesk engineers so far have no fix for me. I have had a call open for a few months now. So if anyone has any ideas on how to push a registry poke to the HKEY_USERS Hive to target a fix please let me or LANDesk know.

    THX

  • Colin_In_Ottawa Rookie 8 posts since
    Jul 23, 2008

    Has received 1 of 9 achievements.
    Currently Being Moderated
    13. Apr 27, 2012 3:13 PM (in response to ShaneUMontana)
    Re: Power management error

    That would be appreciated to see your script. Landesk engineers have advised a fix will not be released until the next full version release and I cannot wait that long to patch 500+ computers.

  • Colin_In_Ottawa Rookie 8 posts since
    Jul 23, 2008

    Has received 1 of 9 achievements.
    Currently Being Moderated
    14. May 15, 2012 8:55 AM (in response to ShaneUMontana)
    Re: Power management error

    An update to this. I still have no answer from LANdesk on a fix. in the meantime I upgraded to SP3 and had to redeploy the agent with the power management settings in the agent... This did NOT fix the issue on machines with the failure to write the registry. The issue remains on my 600 machines.

More Like This

  • Retrieving data ...

Bookmarked By (1)

Legend

  • Correct Answers - 20 points
  • Helpful Answers - 10 points
LANDESK Community powered by Jive SBS® 4.5.7.1  |  Legal Notices  |  Privacy Policy  |  Icon 

TweeterOn Twitter  |  Icon FacebookOn Facebook © 2007 LANDESK Software