Windows 2003 Power Cfg Permission

Discussion in 'Server Security' started by Mike Streeter, Oct 25, 2004.

  1. I have a machine with Windows 2003 Standard that won't let me change the
    power options in the Power Options Properties dialog (powercfg.cpl). After
    making the changes and clicking Apply, I get a "Not all privileges
    referenced are assigned to the caller" error.

    If I try the powercfg command line tool, it also fails as shown below:
    C:\WINDOWS\system32>powercfg /CHANGE "Always On" /monitor-timeout-ac 0
    An unexpected error condition has occurred. Unable to perform operation.
    You may not have permission to perform this operation.

    I haven't been able to figure out what I don't have permission to. I have
    tried it both as "Administrator" and a user in the Administrators group. As
    far as I can tell from regmon and regedit, there are no problems updating
    registry keys. Branches I have worked with are
    "HKLM\Software\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg"
    and "HKCU\Control Panel\PowerCfg"

    Regedit shows that my change from the Power Options Properties stays in
    "HKCU\Control Panel\PowerCfg\PowerPolicies\3\Policies" despite the error,
    but the change does not take effect, and the next time I open the Power
    Options Properties, the key changes back.

    Thank you for any help or ideas.

    -Mike
     
    Mike Streeter, Oct 25, 2004
    #1
    1. Advertisements

  2. Steven L Umbach, Oct 25, 2004
    #2
    1. Advertisements

  3. Enabling the auditing of privilege use gave me the info. I needed. For
    other reasons, I had removed all users' rights to shut down, which must be
    required in order to change Power Options. After re-adding the rights to
    shut down, everything worked fine. Thanks for your help!
    -Mike
     
    Mike Streeter, Oct 26, 2004
    #3
  4. Cool! Glad it worked and thanks for reporting back your results. --- Steve
     
    Steven L Umbach, Oct 26, 2004
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.