[WIN] Profili batteria menu contestuale batteria windows 7

Started by Raid, Fri 14 November 2014, 22:44

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Raid

Quote
Dal Sito Microsoft
YOU CAN SERIOUSLY DAMAGE YOUR SYSTEM IF YOU MAKE ANY ERRORS WHILE MODIFYING THE REGISTRY!!

So, after mucking about in the registry a bit, I found something that might do what you want.  When you right-click the power icon, it brings up a context menu that you can define in the registry, once you set up the power plans you want, you can add a menu item for it (using powercfg):

First, create the power plan.

Second, go to cmd and get the guid for your power scheme using "powercfg -l"
This lists all your power plans and the associated GUID, you will plug this into the registry to create  menu item for it.

Third, go to regedit and navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\SysTray\BattMeter\ContextMenu\

Fourth, select or create a numbered sub folder from 1-6
Navigate to the numbered folder:

Set or create Expandable String Value named "Application" to "%SystemRoot%\system32\powercfg.exe"
Set or create Expandable String Value named "ItemName" to whatever you want for the display name
Set or create Expandable String Value named "Parameters" to "-s <scheme guid>"
Set or create Expandable String Value named "IconID" to whatever icon you want to show