Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Specifically in regards to the below part of another answer, is there somewhere I can manually set/edit what this utility is doing?

Powercfg Command-Line Options

In the command line you can type


Display System and this will prevent Windows 7 to go to sleep while a certain process is running. I never used it so you must read the manual here.



Specifies one of the following caller type: PROCESS, SERVICE, DRIVER. This is obtained by calling the POWERCFG -REQUESTS command. Specifies the caller name. This is the name returned from calling POWERCFG -REQUESTS command. Specifies one or more of the following Power. Request Types: Display, System, Awaymode.



To remove the power request override, use the -REQUESTSOVERRIDE option, but do not specify any type of override (System, Display, AwayMode) as in the following example:

share|improve this question
How would you manually set it? Why not just use the command line program? – nhinkle Mar 5 '13 at 23:02
@nhinkle - Well the command line obviously makes some change somewhere, registry or other (not sure). What if I were to forget one of the things I changed and needed to find out what it was to change it back? – Enigma Mar 5 '13 at 23:13
I suppose. I think it resets after each reboot, and you can remove them too. I'll put a possible solution below though. – nhinkle Mar 5 '13 at 23:32
@nhinkle - Is there a way to make it permanent until removed? Assuming it doesn't of course. – Enigma Mar 6 '13 at 15:34
up vote 1 down vote accepted

You can use RegFromApp to capture the changes.

RegFromApp monitors the Registry changes made by the application that you selected, and creates a standard RegEdit registration file (.reg) that contains all the Registry changes made by the application. You can use the generated .reg file to import these changes with RegEdit when it's needed.

enter image description here

A different way would be the create 2 registry snapshost with RegShot 2 (1 before and 1 after the change) and let the Tool compare the snapshots and list the differences.

share|improve this answer

You can use Process Monitor from SysInternals to see what the pwrcfg.exe program is doing when it sets these options. Use the filtering options to only monitor pwrcfg.exe, and see where in the registry or file system it's saving the configuration options.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.