Windows – changes made by the PWRCFG.EXE command line utility stored

command linepower-managementprocesswindows 7

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

POWERCFG -REQUESTSOVERRIDE PROCESS name_of_the_process

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.

Usage:

POWERCFG -REQUESTSOVERRIDE <CALLER_TYPE> <NAME> <REQUEST>

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.

Example:

POWERCFG -REQUESTSOVERRIDE PROCESS wmplayer.exe Display System

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:

POWERCFG -REQUESTSOVERRIDE PROCESS wmplayer.exe

Best Answer

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.

Related Question