banner



How to use powercfg to control power settings on Windows 10

On Windows 10, powercfg is a handy command-line tool that has been around for many years, and it allows you lot to manage many aspects of power plans (besides known as power schemes).

For case, you lot can create, edit, and delete power plans. You tin enable, customize, or disable some ability features, including hibernation and power button. You tin can use information technology to troubleshoot free energy and battery performance. And y'all can fifty-fifty use the command-line tool to determine which devices are waking the figurer during sleep or hibernation and disable them as necessary, and much more.

In this Windows 10 guide, we will walk you through the steps to utilise the powercfg command-line tool to manage the ability settings on your computer.

  • How to export or import power plans with powercfg
  • How to enable or disable hibernation with powercfg
  • How to create power plan with powercfg
  • How to modify power program with powercfg
  • How to delete ability program with powercfg
  • How to alter ability plan with powercfg
  • How to report action woke device powercfg
  • How to make up one's mind wake timers with powercfg
  • How to generate battery written report with powercfg
  • How to generate energy written report with powercfg
  • How to view available sleep states with powercfg
  • How to enable or disable devices that can wake the system with powercfg

How to export or import power plans with powercfg

On Windows 10, you can use Command Prompt to consign and import ability plans to the same or different estimator.

Consign power plan

To export a power plan using command-line, apply these steps:

  1. Open Kickoff.
  2. Search for Control Prompt, right-click the top result, and select the Run as ambassador option.
  3. Type the following control to generate a list of available power plans and printing Enter:

    powercfg /list

  4. Type the following command to consign the scheme to the ".pow" file and press Enter:

    powercfg /export PATH\TO\FILENAME Program-GUID

    In the command, specify the path to export the scheme and GUID as shown in the output of stride No. 3.

    For example, this command exports the "High performance" plan into the "high-performance.prisoner of war" file in the "C" drive:

    powercfg /export C:\high-performance.pow 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c

    Powercfg export command Source: Windows Key

Once yous complete the steps, the plan volition be exported into the ".pow" file you specified in the command.

Import power program

To import a power plan on Windows 10 with Command Prompt, use these steps:

  1. Open First.
  2. Search for Command Prompt, correct-click the peak result, and select the Run every bit administrator option.
  3. Type the following control to import the scheme to the ".pow" file and printing Enter:

    powercfg /import PATH\TO\FILENAME

    In the command, specify the path to the exported file.

    For example, this command imports the plan from the "high-performance.pow" file in the "C" drive:

    powercfg /import C:\high-performance.prisoner of war

    Powercfg import plan Source: Windows Cardinal

After y'all complete the steps, the power scheme will be imported to the device.

How to enable or disable hibernation with powercfg

On Windows 10, hibernation is a feature designed to salve ability by saving the contents loaded in memory onto the hard drive, allowing the calculator to shut down without losing your current session. The adjacent fourth dimension you lot plow on the device, yous can resume where you left off.

If you need to configure hibernation, the powercfg command-tool lets you enable, manage and disable the feature with a few unproblematic commands.

Enable hibernation

To enable hibernation, use these steps:

  1. Open Beginning.
  2. Search for Command Prompt, right-click the peak event, and select the Run as ambassador option.
  3. Blazon the post-obit command to ostend that hibernation is supported on your hardware configuration and press Enter:

    powercfg /availablesleepstates

    If Hibernate shows up in the available states on your computer, then you can enable the characteristic.

  4. Type the following control to enable hibernation on Windows 10 and press Enter:

    powercfg /hibernate on

    Windows 10 enable hibernation Source: Windows Central

  5. (Optional) Type the following command to reduce the size of the hibernation file (hiberfil.sys) and printing Enter:

    powercfg /hibernate /type reduced

    The "reduced" type enables "fast startup" without the demand for hibernating. This option reduces the hibernation file to about half the usual size. When using this option, the hibernate pick in the power menu volition no longer be available.

    Quick note: If you lot use a custom size for the size hibernation file, yous must start run the powercfg /hide /size 0 to avoid errors when running the "reduced" command.

  6. (Optional) Type the following command to modify the size of the hibernation file every bit a percentage (50% or larger) of the retention size and press Enter:

    powercfg /hibernate /size 100

    In the command, supersede 100 with any percentage greater than fifty.

Once you complete the steps, hibernation will enable according to your configuration.

Disable hibernation

To disable hibernation on Windows 10, utilize these steps:

  1. Open Offset.
  2. Search for Control Prompt, correct-click the superlative event, and select the Run as administrator option.
  3. Type the following command to enable hibernation on Windows 10 and press Enter:

    powercfg /hibernate off

    Windows 10 disable hibernation Source: Windows Central

Later on y'all complete the steps, the option to hide will no longer be bachelor on Windows 10.

How to create power programme with powercfg

You can also create power plans with custom configurations. However, there is not an option to create a new plan. Instead, yous have to duplicate an existing plan and alter it to your requirements.

To create a ability plan on Windows x with the powercfg tool, use these steps:

  1. Open Start.
  2. Search for Control Prompt, correct-click the top issue, and select the Run as administrator option.
  3. Type the following command to generate a list of available power plans and press Enter:

    powercfg /list

  4. Type the following command to create a new ability plan and press Enter:

    powercfg /duplicatescheme GUID

    In the command, replace GUID for power scheme GUID.

    For instance, this command makes a re-create of the High operation plan:

    powercfg /duplicatescheme 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c

    Customize New Powerplan Windows 10 Cmd Source: Windows Central

    Quick tip: In the output, annotation the GUID for the power plan.

  5. Type the following control to rename the power plan and press Enter:

    powercfg /changename GUID "NEW-Program-Proper name"

    In the command, supercede GUID with the new power scheme GUID you desire to rename and "NEW-PLAN-NAME" with the new plan's name.

    For example, this control assigns the "Super performance" name to the newly created power plan:

    powercfg /changename ac093644-6503-4314-b3b6-0b601924e3e9 "My ability settings"

  6. (Optional) Blazon the post-obit command to confirm the new plan was created successfully and press Enter:

    powercfg /listing

  7. (Optional) Blazon the following command to set the new ability program as system default and press Enter:

    powercfg /setactive GUID

    In the command, supersede GUID with the new ability scheme GUID.

    For example, this command set the "Super performance" scheme every bit new default:

    powercfg /setactive ac093644-6503-4314-b3b6-0b601924e3e9

    Powercfg customize new power plan Source: Windows Central

Once you complete the steps, the power scheme will be created and available on your computer.

How to modify power program with powercfg

If you lot demand to customize an existing power plan, the powercfg tool includes a few ways to change the available settings.

Change plan settings

To change the Windows 10 power programme settings with commands, use these steps:

  1. Open up Start.
  2. Search for Command Prompt, right-click the top consequence, and select the Run as administrator option.
  3. Blazon the post-obit command to alter the settings of the power programme and press Enter:

    powercfg /change Selection TIME

    In the command, replace OPTION with the power setting y'all want to modify and Time with a new time in minutes.

    For example, this command turns off the brandish subsequently xv minutes of inactivity while the computer is plugged in:

    powercfg /change monitor-timeout-ac 15

    Powercfg edit power plan settings Source: Windows Central

    Options available for the /alter option include:

    • standby-timeout-ac
    • standby-timeout-dc
    • disk-timeout-ac
    • disk-timeout-dc
    • hibernate-timeout-air conditioning
    • hide-timeout-dc
    • monitor-timeout-ac
    • monitor-timeout-dc

After you complete the steps, the changes will utilise immediately to the currently active ability plan.

Alter ability push settings

In improver to customizing the program settings, you can likewise modify other power options, such as the ability button's default action.

To change the ability button action with powercfg, apply these steps:

  1. Open Showtime.
  2. Search for Command Prompt, right-click the top issue, and select the Run as administrator option.
  3. Type the following command to change the default activeness for the power button when the laptop is plugged in and press Enter:

    powercfg /setacvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 0

    In the command, the syntax ends with "0," this is the alphabetize value that defines the action, and you must modify it to reflect what you want the power button to do.

    Windows 10 change power button action command Source: Windows Primal

    Here are the available values yous can utilize with their respective action:

    • 0 – Do zero.
    • i – Sleep.
    • 2 – Hide.
    • 3 – Shut downwards.
    • 4 – Plough off the display.
  4. Type the following control to alter the default activeness for the power button when the laptop is running in battery and printing Enter:

    powercfg /setdcvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 0

  5. Blazon the following command to use the changes and press Enter:

    powercfg -setactive SCHEME_CURRENT

Once you complete the steps, the next time you press the power push button, the action volition reverberate the configuration y'all specified in the command.

Delete plan settings

  1. Open Start.
  2. Search for Control Prompt, correct-click the meridian result, and select the Run as administrator option.
  3. Type the post-obit command to list all the available power settings and press Enter:

    powercfg /query

    Powercfg query command Source: Windows Fundamental

  4. Type the following command to delete a specific power setting and press Enter:

    powercfg /deletesetting SUB-GUID SETTING-GUID

    In the command, supersede SUB-GUID with the Subgroup GUID and the SETTING-GUID with the Power Setting GUID you want to delete.

    For instance, this commands removes the "Plow off hard deejay later on" option from the "Super performance" programme:

    powercfg /deletesetting 0012ee47-9041-4b5d-9b77-535fba8b1442 6738e2c4-e8a5-4a42-b16a-e040e769756e

    Powercfg delete setting Source: Windows Primal

Subsequently you complete the steps, you lot demand to repeat step No. 4 to remove additional settings.

How to delete ability plan with powercfg

To delete a power programme on Windows 10 with the powercfg command tool, use these steps:

  1. Open Start.
  2. Search for Control Prompt, right-click the top consequence, and select the Run as administrator selection.
  3. Type the post-obit command to generate a list of available power plans and press Enter:

    powercfg /list

  4. Type the following command to create a new power plan and press Enter:

    powercfg /delete GUID

    In the command, replace GUID for power scheme GUID as shown in the step No. 3.

    For example, this command deletes the "My power settings" program:

    powercfg /delete ac093644-6503-4314-b3b6-0b601924e3e9

    Command Prompt delete power scheme Source: Windows Fundamental

    Quick tip: If the plan you lot are trying to delete is active, then you won't be able to remove it until yous set another power scheme as the default (run into steps below).

In one case you lot complete the steps, the power scheme will no longer be bachelor on Windows ten.

How to change power programme with powercfg

To prepare another ability plan equally the new default on Windows ten, employ these steps:

  1. Open Beginning.
  2. Search for Command Prompt, correct-click the elevation result, and select the Run as administrator pick.
  3. Type the following command to generate a list of available power plans and press Enter:

    powercfg /list

  4. Type the post-obit command to modify the electric current ability plan and press Enter:

    powercfg /setactive GUID

    In the control, supersede GUID for power scheme GUID equally shown in step No. 3.

    For example, this command sets the "Balanced" plan:

    powercfg /setactive 381b4222-f694-41f0-9685-ff5bb260df2e

    Command Prompt change power plan Source: Windows Central

  5. (Optional) Blazon the following control to confirm the agile power scheme and press Enter:

    powercfg /getactivescheme

Afterwards y'all complete the steps, Windows x will start using the new ability plan configuration.

How to report action woke device powercfg

To see what woke the arrangement during the last sleep state on Windows 10, utilise these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the peak event, and select the Run every bit administrator option.
  3. Type the following command to understand the reason the system woke during the last sleep transition and printing Enter:

    powercfg /lastwake

    Powercfg lastwake command Source: Windows Fundamental

Once you lot consummate the steps, if a device woke upwards the arrangement, information technology will be listed in the output.

How to decide wake timers with powercfg

To find out the devices that can wake the system, apply these steps:

  1. Open Start.
  2. Search for Command Prompt, correct-click the top effect, and select the Run as administrator option.
  3. Type the following command to view the agile wake timers on Windows 10 and press Enter:

    powercfg /waketimers

    Check wake timers commands Source: Windows Central

  4. Type the following command to view app and driver power requests and printing Enter:

    powercfg /requests

Later on you complete the steps, you volition better understand the devices, apps, and drivers that tin actively wake the system from sleep or hibernation.

How to generate bombardment study with powercfg

If you take a laptop and notice operation issues with the battery, you can create a written report with the power command-line tool to determine information (such as make, capacity, cycle count, recent usage, bombardment life estimates, etc.) to assist you decide whether or not it is fourth dimension to replace the battery.

To create a bombardment report with Command Prompt, utilise these steps:

  1. Open Get-go.
  2. Search for Command Prompt, right-click the height result, and select the Run every bit administrator option.
  3. Type the following command to create a bombardment report and press Enter:

    powercfg /batteryreport

    Windows 10 battery report command Source: Windows Central

  4. Apply the Windows cardinal + Run to open the Run command.
  5. Blazon the following path and press Enter:

    C:\battery-report.html

In one case you complete the steps, you can review the battery report in your default web browser. You can learn more most the bombardment written report on Windows 10 in this guide.

How to generate energy report with powercfg

Y'all tin can too create an energy report that collects power behavior for a certain amount of fourth dimension, which you can so analyze to determine the root of energy and battery bug.

To generate a energy report on Windows x, utilize these steps:

  1. Open Commencement.
  2. Search for Command Prompt, right-click the top outcome, and select the Run every bit ambassador option.
  3. Blazon the following command to create an energy report and press Enter:

    powercfg /energy

    Powercfg energy report command Source: Windows Fundamental

    Quick notation: The default command will run for sixty seconds, just y'all can use the /duration SECONDS selection to specify how long the tool volition monitor the power behavior to create a report. For example, you can use the powercfg /energy /duration 120 to run the command for two minutes.

  4. Use the Windows key + Run keyboard shortcut to open the Run command.
  5. Blazon the post-obit path and printing Enter:

    C:\energy-report.html

After you complete the steps, yous can review the study to understand the energy and battery efficiency to investigate and resolve ability problems on Windows x.

How to view bachelor sleep states with powercfg

To view the supported sleep states available on your figurer, use these steps:

  1. Open up Commencement.
  2. Search for Command Prompt, right-click the pinnacle result, and select the Run as administrator selection.
  3. Type the following command to decide the supported sleep states of your computer and press Enter:

    powercfg /availablesleepstates

    Windows 10 sleep state support Source: Windows Central

    Hither is a listing of the all the available sleep states on your device:

    • Standby (S3).
    • Standby (S2).
    • Standby (S1).
    • Hibernate.
    • Hybrid Sleep.
    • Fast Startup.

Once you complete the steps, you will become a list of the sleep states that are supported and those features that are not supported.

How to enable or disable devices that can wake the system with powercfg

On Windows x, some devices (such as network adapters) can wake the arrangement from sleep or hibernation to perform a specific task. If y'all must control this feature, the powercfg command includes options to automatically enable or disable the device'southward ability to first the system automatically.

Usually, these options will come in handy to end the figurer from waking upward during the nighttime for no apparent reason. Or when you must configure the device to exist started remotely using wake-on-LAN (WOL), for instance.

Enable device wake characteristic

To let a device to wake the organization during sleep or hibernation, employ these steps:

  1. Open up Start.
  2. Search for Command Prompt, correct-click the top issue, and select the Run every bit administrator option.
  3. Type the post-obit control to review devices currently not set up to wake the computer and press Enter:

    powercfg /devicequery wake_programmable

  4. Type the following control to disable its wake functionality and press Enter:

    powercfg /deviceenableawake "DEVICE-NAME"

    In the control, replace "DEVICE-Name" with the name of the device you want to enable, as shown in step No. 3.

    For example, this command allows the Ethernet adapter to wake up the system:

    powercfg /deviceenablewake "Intel(R) 82574L Gigabit Network Connection"

    Powercfg enable device wake Source: Windows Primal

  5. (Optional) Type the post-obit control to confirm the device has been disable and press Enter:

    powercfg /devicequery wake_armed

  6. Confirm the device proper name appears in the list.

After you complete the steps, the device will be able to wake the computer while it is in slumber or hibernation way.

Disable device wake feature

To forbid a device from waking the system from sleep or hibernation, utilize these steps:

  1. Open Kickoff.
  2. Search for Command Prompt, correct-click the pinnacle effect, and select the Run as administrator pick.
  3. Type the post-obit command to review devices allowed to wake the computer and printing Enter:

    powercfg /devicequery wake_armed

  4. Type the post-obit command to disable its wake functionality and printing Enter:

    powercfg /devicedisablewake "DEVICE-Proper noun"

    In the command, replace "DEVICE-Name" with the name of the device you want to disable, equally shown in step No. 3.

    For instance, this command disable the Ethernet adapter from waking up the computer:

    powercfg /devicedisablewake "Intel(R) 82574L Gigabit Network Connexion"

    Powercfg disable device wake Source: Windows Central

  5. (Optional) Type the following control to confirm the device has been disable and press Enter:

    powercfg /devicequery wake_armed

  6. Confirm the device name you disabled is no longer showing in the command output.

Once you complete the steps, the device will longer be able to wake the system from whatsoever power state mode.

We are focusing this guide on the most useful options, but the control-line tool includes some additional features, which you can list using the powercfg /? control.

More than Windows 10 resources

For more helpful articles, coverage, and answers to common questions about Windows 10, visit the post-obit resources:

  • Windows ten on Windows Cardinal – All you need to know
  • Windows x help, tips, and tricks
  • Windows 10 forums on Windows Central

Source: https://www.windowscentral.com/how-use-powercfg-control-power-settings-windows-10

Posted by: emerickthavisa.blogspot.com

0 Response to "How to use powercfg to control power settings on Windows 10"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel