Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: View/Change Power Plan via Registry?

10 Sep 2011   #1

Windows 7 Home Premium x64
View/Change Power Plan via Registry?

Hello all,
I'm working on a little Visual Basic .NET program that simply changes the power plan based upon the AC power status and battery percentage status (something that Windows 7 should already do...)
Anyway, it's coming along well enough, except that I need to have my program run the 'powercfg' command line utility to change plans. I have yet to find a way for my program to determine which plan is in use.
Is there a registry key that changes the current power plan or something similar, or do I need to play around with grabbing outputs from the command line?

Thanks in advance!

My System SpecsSystem Spec
11 Sep 2011   #2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64

You can find which is the current plan here:


For the description:

D:\Windows\System32>REG QUERY HKLM\SYSTEM\CurrentControlSet\Control\Power\User\D

Description REG_EXPAND_SZ @%SystemRoot%\system32\powrprof.dll,-14,Auto
matically balances performance with energy consumption on capable hardware.
FriendlyName REG_EXPAND_SZ @%SystemRoot%\system32\powrprof.dll,-15,Bal
anced (recommended)
My System SpecsSystem Spec
11 Sep 2011   #3

Windows 7 Home Premium x64


Thank you!!!
This is going to be a whole lot easier now!

(I can't believe I didn't see that...)
My System SpecsSystem Spec

12 Sep 2011   #4

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64

You're welcome.
My System SpecsSystem Spec

 View/Change Power Plan via Registry?

Thread Tools

Similar help and support threads
Thread Forum
Power Plan Settings - Change
How to Change Power Plan Settings in Windows 7 This will show you how to change the settings for the power plan that you have selected to reflect how you want your Windows 7 computer to manage power usage. Here's How: 1. Open the Start Menu, and type powercfg.cpl in the search...
Trying to change Power Plan details
Always get a message "Your power plan information isn't available". I can change the plan (normal one is Balanced) and I can see it change (radio buttons that is), but I can never look at any plan itself. System is shutting off the monitor (video that is) and there is no way to change the...
Hardware & Devices
How can I change power plan and run scripts based on power state?
I overclock my CPU by changing its FSB and I have scheduled (Task Scheduler) this script to run every time I logon to Windows. But I would like to schedule it to downclock when I pull the power cord and then overclock as I plug it back in. Is this possible? It would also be nice if Windows changed...
General Discussion
Power Plan - Create Shortcut to Change Power Plan
How to Create a Shortcut to Change Power Plans in Windows 7 and Windows 8 This tutorial will show you how to create or download shortcuts that will allow you to change or switch to the High Performance, Balanced, Power Saver, or a custom power plan instantly without having to go through Power...
Changing power plan also change wallpaper.
Hello to all, As my title says i just want to do that particular thing, if possible. I have a samsung laptop that has a preintalled program that changes to silent mode(low consumption)- normal mode and speed mode (high cunsuption plan). When i change to low or high plan i want to also change to...
Themes and Styles

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 22:33.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App