Skip to main content

Change Windows Power Plan From Desktop Context Menu

A power plan, according to Microsoft, is a collection of hardware and system settings that manages how your computer uses power. Power plans can help you save energy, maximize system performance, or achieve a balance between the two. Power plans are most effective on laptops because the power source is a battery which can only hold a limited amount of charge. By changing power plans between Balanced, Power saver, and High performance, you can control how much power the laptop can consume, and thus extend the battery backup duration or increase the performance of the laptop when desired.

Power plans can be accessed by clicking on the battery icon visible on the taskbar on the laptop, and then choosing the ‘More power options’ link. In computers running off mains power, the battery icon is not visible. On these machines, power plans can be selected via the Control Panel.

This short tutorial will show you how to quickly switch between power plans from the desktop context menu (right-click menu).

Open notepad, and copy and paste the following lines. Then save the file with .REG extension.

Windows Registry Editor Version 5.00

; Created by: Shawn Brink
; http://www.eightforums.com
; Tutorial: http://www.eightforums.com/tutorials/22673-power-plan-choose-desktop-context-menu-windows.html

[HKEY_CLASSES_ROOT\DesktopBackground\Shell\PowerPlan]
"MUIVerb"="Choose Power Plan"
"SubCommands"="Balanced;PowerSaver;HighPerformance"
"Icon"="powercpl.dll"
"Position"=-

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\HighPerformance]
@="High Performance"
"Icon"="powercpl.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\HighPerformance\command]
@="powercfg.exe /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Balanced]
@="Balanced"
"Icon"="powercpl.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Balanced\command]
@="powercfg.exe /setactive 381b4222-f694-41f0-9685-ff5bb260df2e"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\PowerSaver]
@="Power Saver"
"Icon"="powercpl.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\PowerSaver\command]
@="powercfg.exe /setactive a1841308-3541-4fab-bc81-f71556f20b4a"



Double click the newly created file. It will ask you whether you want to merge the contents of the file to the registry. Click Yes.



Now, right click on the desktop and you should see the "Choose Power Plan" item in the context menu. This means that the registry settings were correctly applied.



power-plan-context-menu



To remove the "Choose Power Plan" item from the menu, created another .REG file by copy and pasting the following into Notepad:



Windows Registry Editor Version 5.00

; Created by: Shawn Brink
; http://www.eightforums.com
; Tutorial: http://www.eightforums.com/tutorials/22673-power-plan-choose-desktop-context-menu-windows.html

[-HKEY_CLASSES_ROOT\DesktopBackground\Shell\PowerPlan]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\HighPerformance]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Balanced]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\PowerSaver]



via Eightforums

Comments

Popular posts from this blog

How to Schedule Changes to Your Facebook Page Cover Photo

Facebook’s current layout, the so called Timeline, features a prominent, large cover photo that some people are using in a lot of different creative ways. Timeline is also available for Facebook Pages that people can use to promote their website or business or event. Although you can change the cover photo as often as you like, it’s meant to be static – something which you design and leave it for at least a few weeks or months like a redesigned website. However, there are times when you may want to change the cover photo frequently and periodically to match event dates or some special promotion that you are running or plan to run. So, here is how you can do that.

69 alternatives to the default Facebook profile picture

If you have changed the default Facebook profile picture and uploaded your own, it’s fine. But if not, then why not replace that boring picture of the guy with a wisp of hair sticking out of his head with something different and funny?

How to Record CPU and Memory Usage Over Time in Windows?

Whenever the computer is lagging or some application is taking too long to respond, we usually fire up task manager and look under the Performance tab or under Processes to check on processor utilization or the amount of free memory available. The task manager is ideal for real-time analysis of CPU and memory utilization. It even displays a short history of CPU utilization in the form of a graph. You get a small time-window, about 30 seconds or so, depending on how large the viewing area is.