Using Powercfg to Query an Existing Power Scheme

Written by Barry Dysert (last updated August 24, 2020)

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 display the contents of the specified power scheme. First, we'll get a list of the available power schemes: (See Figure 1.)

Figure 1. Powercfg -list.

Now let's say we want to find out more details about the High Performance scheme. For this we'll use the "-QUERY" (or "-Q") switch and specify that scheme's GUID. Be aware that this produces a great deal of output—more than would be appropriate to list in this tip. So, I'm going to only list the first screenful of resulting lines: (See Figure 2.)

Figure 2. Powercfg -query (partial listing).

Note the GUID that I specified on the first line is the same GUID as was listed in the previous figure for the High Performance scheme. What all this data means is well beyond the scope of this tip.

The "-QUERY" switch does take an optional second GUID for a subgroup. Now that we have some subgroups shown in the above figure, we can limit our view to just one subgroup of the High Performance scheme by specifying the second GUID after the first: (See Figure 3.)

Figure 3. Powercfg -query showing a subgroup.

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

Author Bio

Barry Dysert

Barry has been a computer professional for over 35 years, working in different positions such as technical team leader, project manager, and software developer. He is currently a software engineer with an emphasis on developing custom applications under Microsoft Windows. When not working with Windows or writing Tips, Barry is an amateur writer. His first non-fiction book is titled "A Chronological Commentary of Revelation." ...

MORE FROM BARRY

Using Flip 3D

Flip 3D is an Aero feature that allows you to cycle through your active windows in three dimensions. Because they are ...

Discover More

Modifying Your Hosts File

Your Hosts file is an important file as far as network communications go, and you can easily edit it to suit your needs. ...

Discover More

Moving the Pictures Library

The Pictures folder is one of several system libraries created in Windows by default. This library is specifically ...

Discover More
More WindowsTips

Freeing Up Disk Space by Deleting Old OS Files

I'm always looking for ways to free up disk space. Even with a 1 TB drive I want to be a "good disk citizen." If you're ...

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

Discover More

Formatting a USB Drive with Disk Manager

Windows 10 provides multiple ways to format a USB drive. Discover how to use Disk Manager to easily format a USB drive.

Discover More
Comments

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}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. 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 nine minus 1?

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


Newest Tips