I am trying to fix a friends computer which is constantly going to sleep on them and sometimes not waking up.
Trying to launch power configuration from the control panel does nothing, and launching powercfg.cpl from the command line results in no output or action.
I have tried powercfg /RestoreDefaultPolicies and I get an access denied error message telling me to try again as an administrator. I am logged in as the only account on the PC, it is administrator, UAC is off, CMD.COM is "Ran as Administrator" and the PC is not part of a domain.
I also get the access denied error while running most of the powercfg, including powercfg -l.
What can I do to get powercfg to give me permissions again?