Using Powercfg to Export and Import a Power Scheme

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

What are the Limits on File Names?

It's good to know what the limits are when naming files, although in most cases the limits are sufficiently high that they ...

Discover More

Moving the Videos Library

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

Discover More

Uninstalling a Program

There are often times when you decide you no longer need a program on your system. This tip tells you how you can uninstall ...

Discover More
MORE WINDOWSTIPS

Finding a Device Driver's Version

Device drivers are used to allow a hardware device to communicate effectively with Windows. You might need to know a device ...

Discover More

Updating a Device Driver

If you attach a new device to your computer or need to update a current device's driver, this tip provides the general ...

Discover More

Deleting a Power Management Plan

Windows allows you to create custom power management plans. When you no longer need a plan you previously defined, you can ...

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