Sign in to follow this  
Followers 0
dickep

Vista and power properites

3 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 plan

So 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 by MattWise

[sub]Quantum mechanics: The dreams stuff is made of[/sub]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0