Page 1 of 1

Executable to switch windows power plan

Posted: Wed Apr 16, 2014 5:47 pm
by Maniac
When playing demanding video games, my computer slowly heats up, a few degrees every hour. After playing all day, the cpu temp under high load can reach 90 degrees. I've set a windows power plan to reduce cpu clock, which lowers the temperature, but I have to remember to do this manually. There's an "run executable" section of the overheat protection; I want it to run a program that can set windows to this custom power plan automatically, when the set temperature is reached.

Can someone help me find/create such a program?

Update: After some more google searching, I found out how to create a shortcut to change power plans. I set the overheat protection to run this, and it worked, once, and only once; even after I restarted my computer, it would not work again. Then I set it to do the same thing, but through command prompt. That also worked, once, and only once. There's something wrong with the run executable function in Core Temp.

However, the shortcuts themselves work every time.

Re: Executable to switch windows power plan

Posted: Tue Apr 29, 2014 8:12 pm
by The Coolest
Make sure that you untick the 'Execute once' check box.
Normally Core Temp will run the executable every time the temperature goes over the threshold set. If it drops below and then rises again, it'll execute again.
If the 'Execute once' option is enabled, it will execute it a single time throughout Core Temp's session.

Re: Executable to switch windows power plan

Posted: Fri Jan 16, 2015 2:51 pm
by alimhd1864
Configure Power Plans
http://technet.microsoft.com/en-us/libr ... 10%29.aspx
in command prompt, type
>> powercfg -LIST
The computer will return the list of available power schemes. The following examples refer to this as guidScheme1 and guidScheme2.

Existing Power Schemes (* Active)
Power Scheme GUID: {guidScheme1} (Balanced) *
Power Scheme GUID: {guidScheme2} (Power saver)

To modify a plan, set the power scheme you want to change as the active power scheme. For example,
>> powercfg -SETACTIVE {guidScheme2}

for my PC,
powercfg -SETACTIVE a1841308-3541-4fab-bc81-f71556f20b4a

{guidScheme} is different for your PC.
Copy this code into a text file. Then rename this file to (power_saver.bat) and store into (C:) Drive.
Copy this address (C:\power_saver.bat) to 'execute program' in "overheat protection" settings.
untick the 'Execute once' check box.

Executable to switch windows power plan

Posted: Fri Jan 16, 2015 3:00 pm
by alimhd1864
We can after overheated the processor, execute a program for switch to power saver.
How to automatically return to the power saver to power balance after the CPU cooling?

Re: Executable to switch windows power plan

Posted: Thu Jun 16, 2016 10:03 pm
by Economy
When the processor overheats, we can execute a program for lowering "maximum processor state". (Very useful for silent PC systems with no FAN)

e.g. use powercfg for 75 % MAX CPU (works in windows 10)

BAT FILE:

powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 54533251-82be-4824-96c1-47b60b740d00 bc5038f7-23e0-4960-96da-33abaf5935ec 75
powercfg -setactive 381b4222-f694-41f0-9685-ff5bb260df2e

How to automatically return to 100% after the CPU cooling has completed?

could we have a setting "RESET AFTER COOL DOWN COMPLETE" => execute bat file after "cool down" is complete?

BAT FILE:

powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 54533251-82be-4824-96c1-47b60b740d00 bc5038f7-23e0-4960-96da-33abaf5935ec 100
powercfg -setactive 381b4222-f694-41f0-9685-ff5bb260df2e