Using Powercfg to Change a Setting in the Current Power Scheme

by Barry Dysert
(last updated October 3, 2016)

As you may know, your computer can run under a variety of different power schemes. A power scheme is a collection of hardware and system settings that manage how your computer uses power. They are typically used the most with laptops, where it's more crucial to trade off between performance and battery preservation. Even a desktop machine can use them, though. There are three schemes that come with Windows by default. They are Balanced, High Performance, and Power Saver, and you can create others if none of these suits you.

There is a command utility in Windows called Powercfg, which provides a great deal of control over your power schemes. (You can use the GUI for much of this functionality, too, but a lot of people prefer using the command line.) Powercfg takes numerous switches to tell it what you want to do regarding your power schemes. To see all of the switches available to Powercfg, invoke it with the "-HELP" (or "-?") switch.

For this tip we want to change a value in the current power scheme. First, we'll get a list of the available power schemes (covered under another tip). (See Figure 1.)

Figure 1. Powercfg -list.

The way to change a value is to use the "-CHANGE" (or "-X") switch. The format of the command is

Powercfg -change <setting> <value>

Where <value> is a number of minutes, and <setting> is one of the following:

-monitor-timeout-ac
-monitor-timeout-dc
-disk-timeout-ac
-disk-timeout-dc
-standby-timeout-ac
-standby-timeout-dc
-hibernate-timeout-ac
-hibernate-timeout-dc

So, for example, if you wanted to set the monitor idle timeout value to 5 minutes when on AC power, the command would be:

Powercfg -change -monitor-timeout-ac 5

 This tip (13477) applies to Windows 7, 8, and 10.

Author Bio

Barry Dysert

Barry has been a computer professional for over 30 years, working in different positions such as technical team leader, project manager, and software developer.  He is currently a senior software engineer with an emphasis on developing custom applications under Microsoft Windows. ...

MORE FROM BARRY

How to Password Protect a File or Folder via Zip

If you routinely create ZIP files, you may want to add some protection to those files. This tip shows how easy it is to add ...

Discover More

Removing Spyware with Windows Defender

Despite your best efforts, it's possible that your system might still get afflicted with spyware. If that happens, you can ...

Discover More

Creating a System Repair Disc

Doing a one-time create of a system repair disk can be worth its weight in gold if you find yourself unable to boot your ...

Discover More
MORE WINDOWSTIPS

Adjusting the Cursor Blink Rate

In Windows, the cursor indicates where you are about to type information using the keyboard. You can adjust how quickly that ...

Discover More

Determining If a Drive Should be Defragmented

Disk fragmentation is one of those things which, if severe, can adversely affect your system's performance. This tip explains ...

Discover More

Using Powercfg to List Your Existing Power Schemes

Windows allows you to define different power schemes that control how your computer uses power. This tip shows you how to use ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments for this tip:

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 + 7?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.

Links and Sharing
  • Ask a Question
  • Make a Comment
  • Free Business Forms
  • Free Calendars
  • Share