-DUPLICATESCHEME
Duplicates the specified power scheme. The resulting
GUID which represents the new scheme will be displayed.
Usage: POWERCFG -DUPLICATESCHEME guid <destination GUID>
guid a scheme GUID obtained by using the powercfg -l
If is omitted, a new GUID will be
created for the duplicated scheme.
-DELETE -D Deletes the power scheme with the specified GUID.
Usage: POWERCFG -DELETE <GUID>
guid obtained by using the LIST parameter.
| -DELETESETTING
Deletes a power setting.
Usage: POWERCFG -DELETESETTING <SUB_GUID> <SETTING_GUID>
SUB_GUID the subgroup GUID.
setting_GUID the power setting guid.
-SETACTIVE -S
Makes the specified power scheme active on the system.
Usage: POWERCFG -SETACTIVE schemeGUID schemeGUID the scheme guid.
-GETACTIVESCHEME
Retrieve the currently active power scheme.
| -SETACVALUEINDEX
Sets a value associated with a specified power setting
while the system is powered by AC power.
Usage: POWERCFG -SETACVALUEINDEX schemeGUID SUB_GUI
setting_GUID SettinhIndex
schemeGUID a power scheme GUID and may be obtained by using PowerCfg /L.
SUB_GUID a subgroup of power setting GUID and ma be obtained by using "PowerCfg /Q."
setting_GUID an individual power setting GUID and ma be obtained by using "PowerCfg /Q".
SettinhIndex which of the list of of possible values this power setting will be set to.
Example:
set the power setting's AC value to the 5th entry
in the list of possible values for this power setting.
POWERCFG -SetAcValueIndexguid guid guid 5
-SETDCVALUEINDEX
Sets a value associated with a specified power setting
while the system is powered by DC power.
Usage: POWERCFG -SETDCVALUEINDEX schemeGUID SUB_GUID setting_GUID SettinhIndex
schemeGUID a power scheme GUID and may be obtained by using PowerCfg /L.
SUB_GUID a subgroup of power setting GUID and ma be obtained by using "PowerCfg /Q."
setting_GUID an individual power setting GUID and ma be obtained by using "PowerCfg /Q".
SettinhIndex which of the list of possible values
this setting will be set to.
Example:
POWERCFG -SetDcValueIndexguid guid guid 5
This would set the power setting's DC value to the 5th entry
in the list of possible values for this power setting.
| -HIBERNATE -H
Enables-Disables the hibernate feature. Hibernate timeout is not
supported on all systems.
Usage: POWERCFG -H ON|OFF
POWERCFG -H -Size
-Size the desired hiberfile size in percentage of the
total memory. The default size cannot be smaller than 50.
This switch will also enable the hiberfile automatically.
-AVAILABLESLEEPSTATES -A
Report the sleep states available on the system
Attempts to report reasons why sleep states are unavailable.
| -DEVICEQUERY
Return a list of devices that meet the specified criteria.
Usage: POWERCFG -DEVICEQUERY queryFlags
queryFlags :
wake_from_S1_supported Return all devices that support waking th
system from a light sleep state.
| wake_from_S2_supported Return all devices that support waking th
system from a deeper sleep state.
| wake_from_S3_supported Return all devices that support waking th
system from the deepest sleep state.
| wake_from_any Return all devices that support waking th
| all_devices Return all devices present in the system.
| all_devices_verbose Return verbose list of devices.
system from any sleep state.
| List devices that support ...
| S1_supported light sleep.
| S2_supported deeper sleep.
| S3_supported deepest sleep.
| S4_supported hibernation.
| List devices that are ...
| wake_programmable user-configurable
to wake the system from a sleep state.
| wake_armed currently configure
to wake the system from any sleep state.
| | | | | | | | | | | | |
Example:
POWERCFG -DEVICEQUERY wake_armed
| -DEVICEENABLEWAKE
Enable the device to wake the system from a sleep state.
Usage: POWERCFG -DEVICEENABLEWAKE
a device retrieved using
"PowerCfg -DEVICEQUERY wake_programmable".
Example:
POWERCFG -DEVICEENABLEWAKE
"Microsoft USB IntelliMouse Explorer"
-DEVICEDISABLEWAKE disable the device from waking the system
Disable the device from waking the system from a sleep state
Usage: POWERCFG -DEVICEDISABLEWAKE
a device retrieved using
"PowerCfg -DEVICEQUERY wake_armed".
-IMPORT Imports all power settings from the specified file.
Usage: POWERCFG -IMPORT filename guid
filename Specify a fully-qualified path to a file generated by
using "PowerCfg -EXPORT parameter".
guid (optional) The settings are loaded into a power schem
represented by this GUID. If not supplied, powercfg
will generate and use a new GUID
Example:
POWERCFG -IMPORT c:\scheme.pow
| -EXPORT filename guid Exports power scheme, represented by the specified GUID, to the
specified file.
Usage: POWERCFG -EXPORT filename guid
filename Specify a fully-qualified path to a destination file.
guid a power scheme GUID and may be obtained by
using "PowerCfg /L"
Example:
POWERCFG -EXPORT c:\scheme.pow
381b4222-f694-41f0-9685-ff5bb260df2e
| -LASTWAKE Reports information about what woke the system from the last
sleep transition
| -HELP -? Displays information on command-line parameters.
| -ALIASES Displays all aliases and their corresponding GUIDs.
The user may use these aliases in place of any GUID on
the commandline.
| -SETSECURITYDESCRIPTOR
Sets a security descriptor associated with a specified
power setting, power scheme, or action.
Usage: POWERCFG -SETSECURITYDESCRIPTOR GUID|action sddl
guid a power scheme or a power setting GUID.
action Can be one of the following strings:
ActionSetActive, ActionCreate, ActionDefault
sddl a valid security descriptor string in SDDL
format. Call POWERCFG -GETSECURITYDESCRIPTOR to see
an example SDDL STRING.
| -GETSECURITYDESCRIPTOR
Gets a security descriptor associated with a specified
power setting, power scheme, or action.
Usage: POWERCFG -GETSECURITYDESCRIPTOR GUID|action
guid a power scheme or a power setting GUID.
action Can be one of the following strings:
ActionSetActive, ActionCreate, ActionDefault
| -REQUESTS
Enumerate application and driver Power Requests. Power
Requests prevent the computer from automatically powering off
the display or entering a low-power sleep mode.
| -REQUESTSOVERRIDE callerType NAME REQUEST
| Sets a Power Request override for a particular Process, Service,
or Driver. If no parameters are specified, this command displays
the current list of Power Request Overrides.
callerType one of the following caller type:
PROCESS, SERVICE, DRIVER. This is obtained by
calling the POWERCFG -REQUESTS command.
NAME the caller name. name returned from calling POWERCFG -REQUESTS command
REQUEST one or more of the following Power Request Types:
Display, System, Awaymode.
Example:
POWERCFG -REQUESTSOVERRIDE PROCESS wmplayer.exe Display Syste
-ENERGY
Analyze the system for common energy-efficiency and battery life
problems. The ENERGY command should be used when the computer is
idle and with no open programs or documents. The ENERGY command
will generate an HTML report file in the current path. The ENERGY
command supports the following optional parameters:
Usage: POWERCFG -ENERGY [-OUTPUT FILENAME ] [-XML]
[-DURATION SECONDS ]
POWERCFG -ENERGY -TRACE [-D FILEPATH ]
[-DURATION SECONDS ]
-OUTPUT FILENAME - Specify the path and filename to store the
energy report HTML file.
-XML - Format the report file as XML.
-TRACE - Record system behavior and do not perform
analysis. Trace files will be generated in
the current path unless the -D parameter
is specified.
-D FILEPATH - Specify the directory to store trace data.
May only be used with the -TRACE parameter
-DURATION SECONDS - Specify the number of seconds to observe
system behavior. Default is 60 seconds.
-WAKETIMERS
Enumerate the active wake timers. If enabled, the expiration of a
wake timer wakes the system from sleep and hibernate states.
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |