dickep Posted March 26, 2008 Posted March 26, 2008 OK, I am now tasked with trying to do something with Vista (hey, I have a great idea with what to do with it but stating here WOULD get me in DEEP trouble!! ). I need to change the power settings on my notebook. I want to programatically set them using AutoIT. However, using Wininfo tool, I get NOTHING that allows me to click on items (Balanced for example) and go to the settings area. SO, looking for guidance/help/sanity - oh, maybe the last is not possible now that Vista is upon us. Thanks in advance E
DarkMatter Posted March 26, 2008 Posted March 26, 2008 (edited) RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\ControlPanel\NameSpace\{025A5937-A6BE-4686-A844-36FE4BEC8B6D}", "PreferredPlan", "REG_SZ", "PLANOPTION")Here are the plan options:381b4222-f694-41f0-9685-ff5bb260df2e = Balanced plan.a1841308-3541-4fab-bc81-f71556f20b4a = Power saver plan.8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c = High performance planSo for balanced it would be:RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\ControlPanel\NameSpace\{025A5937-A6BE-4686-A844-36FE4BEC8B6D}", "PreferredPlan", "REG_SZ", "381b4222-f694-41f0-9685-ff5bb260df2e")Full reference for Vista power plans can be found at Microsoft Support Edited March 26, 2008 by MattWise [sub]Quantum mechanics: The dreams stuff is made of[/sub]
weaponx Posted March 26, 2008 Posted March 26, 2008 Powercfg.exe from the command line:http://www.autoitscript.com/forum/index.ph...amp;hl=powercfg
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now