Power Configuration for microsoft windows

POWERCFG command line options
-LIST
-L
Lists all power schemes in the current user's environment.
Existing Power Schemes (* Active)
ower Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e  (Balanced) *
ower Scheme GUID: 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c  (High performance)
ower Scheme GUID: a1841308-3541-4fab-bc81-f71556f20b4a  (Power saver)
-QUERY
-Q
Displays the contents of the specified power scheme.
Usage: POWERCFG -QUERY scheme_Guidsub_guid

scheme_Guid (optional) the GUID of the power scheme to display, can be obtained by using powercfg -l.
sub_guid (optional) the GUID of the subgroup to display. Requires a SCHEME_GUID to be provided

If neither SCHEME_GUID or SUB_GUID are provided, the settings of the current user's active power scheme are displayed.
If SUB_GUID is not specified, all settings in the specified power scheme are displayed.



Power Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e  (Balanced)
  GUID Alias: SCHEME_BALANCED
  Subgroup GUID: fea3413e-7e05-4911-9a71-700331f1c294  (Settings belonging to no
 subgroup)
    GUID Alias: SUB_NONE
    Power Setting GUID: 0e796bdb-100d-47d6-a2d5-f7d2daa51f51  (Require a passwor
d on wakeup)
      GUID Alias: CONSOLELOCK
      Possible Setting Index: 000
      Possible Setting Friendly Name: No
      Possible Setting Index: 001
      Possible Setting Friendly Name: Yes
    Current AC Power Setting Index: 0x00000001
    Current DC Power Setting Index: 0x00000001

  Subgroup GUID: 0012ee47-9041-4b5d-9b77-535fba8b1442  (Hard disk)
    GUID Alias: SUB_DISK
    Power Setting GUID: 6738e2c4-e8a5-4a42-b16a-e040e769756e  (Turn off hard dis
k after)
      GUID Alias: DISKIDLE
      Minimum Possible Setting: 0x00000000
      Maximum Possible Setting: 0xffffffff
      Possible Settings increment: 0x00000001
      Possible Settings units: Seconds
    Current AC Power Setting Index: 0x000004b0
    Current DC Power Setting Index: 0x00000258

  Subgroup GUID: 02f815b5-a5cf-4c84-bf20-649d1f75d3d8  (Internet Explorer)
    Power Setting GUID: 4c793e7d-a264-42e1-87d3-7a0d2f523ccd  (JavaScript Timer
Frequency)
      Possible Setting Index: 000
      Possible Setting Friendly Name: Maximum Power Savings
      Possible Setting Index: 001
      Possible Setting Friendly Name: Maximum Performance
    Current AC Power Setting Index: 0x00000001
    Current DC Power Setting Index: 0x00000000

  Subgroup GUID: 0d7dbae2-4294-402a-ba8e-26777e8488cd  (Desktop background setti
ngs)
    Power Setting GUID: 309dce9b-bef4-4119-9921-a851fb12f0f4  (Slide show)
      Possible Setting Index: 000
      Possible Setting Friendly Name: Available
      Possible Setting Index: 001
      Possible Setting Friendly Name: Paused
    Current AC Power Setting Index: 0x00000000
    Current DC Power Setting Index: 0x00000001

  Subgroup GUID: 19cbb8fa-5279-450e-9fac-8a3d5fedd0c1  (Wireless Adapter Setting
s)
    Power Setting GUID: 12bbebe6-58d6-4636-95bb-3217ef867c1a  (Power Saving Mode
)
      Possible Setting Index: 000
      Possible Setting Friendly Name: Maximum Performance
      Possible Setting Index: 001
      Possible Setting Friendly Name: Low Power Saving
      Possible Setting Index: 002

      Possible Setting Friendly Name: Medium Power Saving
      Possible Setting Index: 003
      Possible Setting Friendly Name: Maximum Power Saving
    Current AC Power Setting Index: 0x00000000
    Current DC Power Setting Index: 0x00000002

  Subgroup GUID: 238c9fa8-0aad-41ed-83f4-97be242c8f20  (Sleep)
    GUID Alias: SUB_SLEEP
    Power Setting GUID: 29f6c1db-86da-48c5-9fdb-f2b67b1f44da  (Sleep after)
      GUID Alias: STANDBYIDLE
      Minimum Possible Setting: 0x00000000
      Maximum Possible Setting: 0xffffffff
      Possible Settings increment: 0x00000001
      Possible Settings units: Seconds
    Current AC Power Setting Index: 0x00001c20
    Current DC Power Setting Index: 0x00000384

    Power Setting GUID: 94ac6d29-73ce-41a6-809f-6363ba21b47e  (Allow hybrid slee
p)
      GUID Alias: HYBRIDSLEEP
      Possible Setting Index: 000
      Possible Setting Friendly Name: Off
      Possible Setting Index: 001
      Possible Setting Friendly Name: On
    Current AC Power Setting Index: 0x00000001
    Current DC Power Setting Index: 0x00000001

    Power Setting GUID: 9d7815a6-7ee4-497e-8888-515a05f02364  (Hibernate after)
      GUID Alias: HIBERNATEIDLE
      Minimum Possible Setting: 0x00000000
      Maximum Possible Setting: 0xffffffff
      Possible Settings increment: 0x00000001
      Possible Settings units: Seconds
    Current AC Power Setting Index: 0x00000000
    Current DC Power Setting Index: 0x00000000

    Power Setting GUID: bd3b718a-0680-4d9d-8ab2-e1d2b4ac806d  (Allow wake timers
)
      GUID Alias: RTCWAKE
      Possible Setting Index: 000
      Possible Setting Friendly Name: Disable
      Possible Setting Index: 001
      Possible Setting Friendly Name: Enable
    Current AC Power Setting Index: 0x00000001
    Current DC Power Setting Index: 0x00000001

  Subgroup GUID: 2a737441-1930-4402-8d77-b2bebba308a3  (USB settings)
    Power Setting GUID: 48e6b7a6-50f5-4782-a5d4-53bb8f07e226  (USB selective sus
pend setting)
      Possible Setting Index: 000
      Possible Setting Friendly Name: Disabled
      Possible Setting Index: 001
      Possible Setting Friendly Name: Enabled
    Current AC Power Setting Index: 0x00000001
    Current DC Power Setting Index: 0x00000001

  Subgroup GUID: 2e601130-5351-4d9d-8e04-252966bad054  (Idle Resiliency)
    GUID Alias: SUB_IR
  Subgroup GUID: 48672f38-7a9a-4bb2-8bf8-3d85be19de4e  (Interrupt Steering Setti
ngs)
    GUID Alias: SUB_INTSTEER
  Subgroup GUID: 4f971e89-eebd-4455-a8de-9e59040e7347  (Power buttons and lid)
    GUID Alias: SUB_BUTTONS
    Power Setting GUID: 5ca83367-6e45-459f-a27b-476b1d01c936  (Lid close action)
      GUID Alias: LIDACTION
      Possible Setting Index: 000
      Possible Setting Friendly Name: Do nothing
      Possible Setting Index: 001
      Possible Setting Friendly Name: Sleep
      Possible Setting Index: 002
      Possible Setting Friendly Name: Hibernate
      Possible Setting Index: 003
      Possible Setting Friendly Name: Shut down
    Current AC Power Setting Index: 0x00000001
    Current DC Power Setting Index: 0x00000001













      Possible Setting Index: 003
      Possible Setting Friendly Name: Maximum Power Saving
    Current AC Power Setting Index:0
    Current DC Power Setting Index: x'02

  Subgroup GUID: 238c9fa8-0aad-41ed-83f4-97be242c8f20  (Sleep) GUID Alias: SUB_SLEEP
    Power Setting GUID: 29f6c1db-86da-48c5-9fdb-f2b67b1f44da  (Sleep after)
      GUID Alias: STANDBYIDLE
      Minimum Possible Setting:0 Maximum Possible Setting: 0xffffffff
      Possible Settings increment:1
      Possible Settings units: Seconds
    Current AC Power Setting Index: 0x00001c20 Current DC Power Setting Index: 0x00000384

    Power Setting GUID: 94ac6d29-73ce-41a6-809f-6363ba21b47e  (Allow hybrid slee p) GUID Alias: HYBRIDSLEEP
      Possible Setting Index: 000 Possible Setting Friendly Name: Off
      Possible Setting Index: 001 Possible Setting Friendly Name: On
    Current AC Power Setting Index:1 Current DC Power Setting Index:1

    Power Setting GUID: 9d7815a6-7ee4-497e-8888-515a05f02364  (Hibernate after) GUID Alias: HIBERNATEIDLE
      Minimum Possible Setting:0 Maximum Possible Setting: 0xffffffff
      Possible Settings increment:1 Possible Settings units: Seconds
    Current AC Power Setting Index:0 Current DC Power Setting Index:0

    Power Setting GUID: bd3b718a-0680-4d9d-8ab2-e1d2b4ac806d  (Allow wake timers) GUID Alias: RTCWAKE
      Possible Setting Index: 000 Possible Setting Friendly Name: Disable
      Possible Setting Index: 001 Possible Setting Friendly Name: Enable
    Current AC Power Setting Index:1 Current DC Power Setting Index:1

  Subgroup GUID: 2a737441-1930-4402-8d77-b2bebba308a3  (USB settings)
    Power Setting GUID: 48e6b7a6-50f5-4782-a5d4-53bb8f07e226  (USB selective sus pend setting)
      Possible Setting Index: 000 Possible Setting Friendly Name: Disabled
      Possible Setting Index: 001 Possible Setting Friendly Name: Enabled
    Current AC Power Setting Index:1 Current DC Power Setting Index:1

  Subgroup GUID: 2e601130-5351-4d9d-8e04-252966bad054  (Idle Resiliency) GUID Alias: SUB_IR
  Subgroup GUID: 48672f38-7a9a-4bb2-8bf8-3d85be19de4e  (Interrupt Steering Setti ngs) GUID Alias: SUB_INTSTEER
  Subgroup GUID: 4f971e89-eebd-4455-a8de-9e59040e7347  (Power buttons and lid) GUID Alias: SUB_BUTTONS
    Power Setting GUID: 5ca83367-6e45-459f-a27b-476b1d01c936  (Lid close action) GUID Alias: LIDACTION
      Possible Setting Index: 000 Possible Setting Friendly Name: Do nothing
      Possible Setting Index: 001 Possible Setting Friendly Name: Sleep
      Possible Setting Index: 002 Possible Setting Friendly Name: Hibernate
      Possible Setting Index: 003 Possible Setting Friendly Name: Shut down
    Current AC Power Setting Index:1 Current DC Power Setting Index:1

    Power Setting GUID: 7648efa3-dd9c-4e3e-b566-50f929386280  (Power button acti on) GUID Alias: PBUTTONACTION
      Possible Setting Index: 000 Possible Setting Friendly Name: Do nothing
      Possible Setting Index: 001 Possible Setting Friendly Name: Sleep
      Possible Setting Index: 002 Possible Setting Friendly Name: Hibernate
      Possible Setting Index: 003 Possible Setting Friendly Name: Shut down
    Current AC Power Setting Index: x'03 Current DC Power Setting Index: x'03

    Power Setting GUID: 96996bc0-ad50-47ec-923b-6f41874dd9eb  (Sleep button acti on) GUID Alias: SBUTTONACTION
      Possible Setting Index: 000 Possible Setting Friendly Name: Do nothing
      Possible Setting Index: 001 Possible Setting Friendly Name: Sleep
      Possible Setting Index: 002 Possible Setting Friendly Name: Hibernate
      Possible Setting Index: 003 Possible Setting Friendly Name: Shut down
    Current AC Power Setting Index:1 Current DC Power Setting Index:1

    Power Setting GUID: a7066653-8d6c-40a8-910e-a1f54b84c7e5  (Start menu power button) GUID Alias: UIBUTTON_ACTION
      Possible Setting Index: 000 Possible Setting Friendly Name: Sleep
      Possible Setting Index: 001 Possible Setting Friendly Name: Hibernate
      Possible Setting Index: 002 Possible Setting Friendly Name: Shut down
    Current AC Power Setting Index:0 Current DC Power Setting Index:0

  Subgroup GUID: 501a4d13-42af-4429-9fd1-a8218c268e20  (PCI Express) GUID Alias: SUB_PCIEXPRESS
    Power Setting GUID: ee12f906-d277-404b-b6da-e5fa1a576df5  (Link State Power Management) GUID Alias: ASPM
      Possible Setting Index: 000 Possible Setting Friendly Name: Off
      Possible Setting Index: 001 Possible Setting Friendly Name: Moderate power savings
      Possible Setting Index: 002 Possible Setting Friendly Name: Maximum power savings
    Current AC Power Setting Index:1 Current DC Power Setting Index: x'02

  Subgroup GUID: 54533251-82be-4824-96c1-47b60b740d00  (Processor power manageme nt) GUID Alias: SUB_PROCESSOR
    Power Setting GUID: 893dee8e-2bef-41e0-89c6-b55d0929964c  (Minimum processor state) GUID Alias: PROCTHROTTLEMIN
      Minimum Possible Setting:0 Maximum Possible Setting: x'64
      Possible Settings increment:1 Possible Settings units: %
    Current AC Power Setting Index: x'05 Current DC Power Setting Index: x'05

    Power Setting GUID: 94d3a615-a899-4ac5-ae2b-e4d8f634367f  (System cooling po licy) GUID Alias: SYSCOOLPOL
      Possible Setting Index: 000 Possible Setting Friendly Name: Passive
      Possible Setting Index: 001 Possible Setting Friendly Name: Active
    Current AC Power Setting Index:1 Current DC Power Setting Index:0

    Power Setting GUID: bc5038f7-23e0-4960-96da-33abaf5935ec  (Maximum processor state) GUID Alias: PROCTHROTTLEMAX
      Minimum Possible Setting:0 Maximum Possible Setting: x'64
      Possible Settings increment:1 Possible Settings units: %
    Current AC Power Setting Index: x'64 Current DC Power Setting Index: x'64

  Subgroup GUID: 7516b95f-f776-4464-8c53-06167f40cc99  (Display) GUID Alias: SUB_VIDEO
    Power Setting GUID: 3c0bc021-c8a8-4e07-a973-6b14cbcb2b7e  (Turn off display after) GUID Alias: VIDEOIDLE
      Minimum Possible Setting:0 Maximum Possible Setting: 0xffffffff
      Possible Settings increment:1 Possible Settings units: Seconds
    Current AC Power Setting Index: 0x00000258 Current DC Power Setting Index: 0x0000012c

    Power Setting GUID: aded5e82-b909-4619-9949-f5d71dac0bcb  (Display brightnes s)
      Minimum Possible Setting:0 Maximum Possible Setting: x'64
      Possible Settings increment:1 Possible Settings units: %
    Current AC Power Setting Index: x'64 Current DC Power Setting Index: x'28

    Power Setting GUID: f1fbfde2-a960-4165-9f88-50667911ce96  (Dimmed display br ightness)
      Minimum Possible Setting:0 Maximum Possible Setting: x'64
      Possible Settings increment:1 Possible Settings units: %
    Current AC Power Setting Index: x'32 Current DC Power Setting Index: x'32

    Power Setting GUID: fbd9aa66-9553-4097-ba44-ed6e9d65eab8  (Enable adaptive brightness) GUID Alias: ADAPTBRIGHT
      Possible Setting Index: 000 Possible Setting Friendly Name: Off
      Possible Setting Index: 001 Possible Setting Friendly Name: On
    Current AC Power Setting Index:1 Current DC Power Setting Index:1

  Subgroup GUID: 8619b916-e004-4dd8-9b66-dae86f806698  (Presence Aware Power Beh avior) GUID Alias: SUB_PRESENCE
  Subgroup GUID: 9596fb26-9850-41fd-ac3e-f7c3c00afd4b  (Multimedia settings)
    Power Setting GUID: 03680956-93bc-4294-bba6-4e0f09bb717f  (When sharing medi a)
      Possible Setting Index: 000 Possible Setting Friendly Name: Allow the computer to sleep
      Possible Setting Index: 001 Possible Setting Friendly Name: Prevent idling to sleep
      Possible Setting Index: 002 Possible Setting Friendly Name: Allow the computer to enter Away Mode
    Current AC Power Setting Index:1 Current DC Power Setting Index:0

    Power Setting GUID: 34c7b99f-9a6d-4b3c-8dc7-b6693b78cef4  (When playing vide o)
      Possible Setting Index: 000 Possible Setting Friendly Name: Optimize video quality
      Possible Setting Index: 001 Possible Setting Friendly Name: Balanced
      Possible Setting Index: 002 Possible Setting Friendly Name: Optimize power savings
    Current AC Power Setting Index:0 Current DC Power Setting Index:1

  Subgroup GUID: e73a048d-bf27-4f12-9731-8b2076e8891f  (Battery) GUID Alias: SUB_BATTERY
    Power Setting GUID: 637ea02f-bbcb-4015-8e2c-a1c7b9c0b546  (Critical battery action) GUID Alias: BATACTIONCRIT
      Possible Setting Index: 000 Possible Setting Friendly Name: Do nothing
      Possible Setting Index: 001 Possible Setting Friendly Name: Sleep
      Possible Setting Index: 002 Possible Setting Friendly Name: Hibernate
      Possible Setting Index: 003 Possible Setting Friendly Name: Shut down
    Current AC Power Setting Index: x'02 Current DC Power Setting Index: x'02

    Power Setting GUID: 8183ba9a-e910-48da-8769-14ae6dc1170a  (Low battery level) GUID Alias: BATLEVELLOW
      Minimum Possible Setting:0 Maximum Possible Setting: x'64
      Possible Settings increment:1 Possible Settings units: %
    Current AC Power Setting Index: x'0a Current DC Power Setting Index: x'0a

    Power Setting GUID: 9a66d8d7-4ff7-4ef9-b5a2-5a326ca2a469  (Critical battery level) GUID Alias: BATLEVELCRIT
      Minimum Possible Setting:0 Maximum Possible Setting: x'64
      Possible Settings increment:1 Possible Settings units: %
    Current AC Power Setting Index: x'05 Current DC Power Setting Index: x'05

    Power Setting GUID: bcded951-187b-4d05-bccc-f7e51960c258  (Low battery notif ication) GUID Alias: BATFLAGSLOW
      Possible Setting Index: 000 Possible Setting Friendly Name: Off
      Possible Setting Index: 001 Possible Setting Friendly Name: On
    Current AC Power Setting Index:1 Current DC Power Setting Index:1

    Power Setting GUID: d8742dcb-3e6a-4b3c-b3fe-374623cdcf06  (Low battery actio n) GUID Alias: BATACTIONLOW
      Possible Setting Index: 000 Possible Setting Friendly Name: Do nothing
      Possible Setting Index: 001 Possible Setting Friendly Name: Sleep
      Possible Setting Index: 002 Possible Setting Friendly Name: Hibernate
      Possible Setting Index: 003 Possible Setting Friendly Name: Shut down
    Current AC Power Setting Index:0 Current DC Power Setting Index:0

    Power Setting GUID: f3c5027d-cd16-4930-aa6b-90db844a8f00  (Reserve battery l evel)
      Minimum Possible Setting:0 Maximum Possible Setting: x'64
      Possible Settings increment:1 Possible Settings units: %
    Current AC Power Setting Index: x'07 Current DC Power Setting Index: x'07
-CHANGE setting vvv
-X
Modifies a setting value in the current power scheme. setting one of the following options:
-monitor-timeout-ac minutes
-monitor-timeout-dc minutes
-disk-timeout-ac minutes
-disk-timeout-dc minutes
-standby-timeout-ac minutes
-standby-timeout-dc minutes
-hibernate-timeout-ac minutes
-hibernate-timeout-dc minutes
Example: set the monitor idle timeout value to 5 minutes when on AC power.
POWERCFG -Change -monitor-timeout-ac 5
-CHANGENAME Modifies the name of a power scheme and optionally it's description.

Usage: POWERCFG -CHANGENAME GUID <name> <scheme description>

If the description is omitted only the name will be changed.

-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 -SetAcValueIndexguidguidguid 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 -SetDcValueIndexguidguidguid 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.