Using Powercfg to Query an Existing Power Scheme

by Barry Dysert
(last updated September 26, 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 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. Before I show an example, 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 pipe the output to More and 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 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

Creating a Bootable USB Flash Drive

If your hard disk becomes problematic to the point where you can't even boot from it, you'll be glad you have a bootable USB ...

Discover More

Restoring Your System from a Restore Point

Restore Points let you go "back in time" to a point before you made system changes that could prove harmful to your system. ...

Discover More

Using Your Own Pictures as Wallpaper

You can change the image that is displayed for your desktop background to your own picture. Changing the wallpaper to one of ...

Discover More
MORE WINDOWSTIPS

Using Powercfg to Change the Active Power Scheme

You can easily change which power scheme is active by using the SetActive switch. This tip shows you how.

Discover More

Adjusting Mouse Click Sensitivity

Mouse not working as you expect? Here are a few things that may get things back to the way they should be.

Discover More

Using Powercfg to Export and Import a Power Scheme

You can export to a file your power schemes and then import them later on. The only caveat is that you must be running as ...

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:

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

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
Share