Here is a little utility some might find useful. It switches to a specified Windows power profile, runs an application and sets another profile back after the application is finished executing.
I’m using it to turn off the Cool & Quiet feature of AMD CPUs during a Renoise session, so that i have the full CPU power available. In my case with my new CPU the clock switching caused crackles too and that was annoying.
Copy the pp-switch.exe and pp-switch.ini to the application directory you want to control. Then open pp-switch.ini and modify the values to your needs. You can find out, how your power profiles are called, when you open a command prompt and type “powercfg.exe /L” into it. The value of “pwr1” is the profile to use while the application is running and “pwr2” is the value it should switch to, when the application was exited. The “runapp” value can be changed to the application, which should be started. The included values are preconfigured for usage on a german Windows and Renoise.
Simple sourcecode in C is included too.