Using Powercfg to Export and Import a Power Scheme

Written by Barry Dysert (last updated November 7, 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.

It's possible to export power schemes to files on disk (or some other medium) and later import them, but you need to be running as Administrator. You do this with the -EXPORT and -IMPORT switches. To do this you need to know the GUID of what you're exporting, so we'll get the list of power schemes (covered under another tip). (See Figure 1.)

Figure 1. Powercfg -list.

The following figure shows the following sequence (each Powercfg command is discussed individually in its own WindowsTip):

  • Duplicate the Power saver power scheme
  • Rename the duplicated scheme
  • Export it
  • Delete it
  • Import it (See Figure 2.)
  • Figure 2. Exporting and importing a power scheme.

 This tip (13493) 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

Viewing Event Logs

Event logs are automatically maintained by the operating system. By periodically viewing them, you'll have a better idea ...

Discover More

Determining if You Have 32-bit or 64-bit Windows

There are occasions when you may want to know whether you're running the 32-bit or 64-bit version of Windows. This tip ...

Discover More

Understanding Remote Assistance

Sometimes you may need some computer help, or a friend may need help from you. By using Remote Assistance your computers ...

Discover More
More WindowsTips

Using Powercfg to Change a Setting in the Current Power Scheme

The Powercfg utility allows you to control how power is used on your system. This tip shows you how to use this ...

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

Connecting a Bluetooth Device

If you're the proud owner of a Bluetooth device, you probably want to get right to connecting it to your computer. This ...

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 two more than 7?

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


Newest Tips