1
I would like to know how to change the power plan
in Windows 7 to high performance using a batch file. I am making a program that boosts pc performance.
1
I would like to know how to change the power plan
in Windows 7 to high performance using a batch file. I am making a program that boosts pc performance.
2
I found this.
@echo off
powercfg -s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
pause
1
for auto closing of the CMD window, just make a BAT file with powercfg -s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c in it only. It will auto close, don't need echo off or Pause commands in there.
1
As an alternative to the other answers on this page you could use the aliases, which is a bit more readable. here is a description of the powercfg command. When run with the aliases option, it will show all active aliases. The aliases for the default plans are:
scheme_max, power saver
scheme_min, high performance
scheme_balanced, balanced
So then you would use it as such: powercfg -setactive scheme_min
Could you include an example of how OP might use the powercfg command and aliases to change his power plan to High Performance? – music2myear – 2017-01-30T23:08:43.340
1@music2myear That was the example I already included, but I adjusted the markup to make it more clear. – Berend – 2017-02-06T16:28:33.023
a little help, the batch file works fine, but it opens the command prompt everytime the bat file runs, with the message "press any key to continue.." is there any way to auto-close the cmd window?? – Firee – 2016-02-22T16:40:14.147
@Firee Just delete the pause from the script. – Copy Run Start – 2016-08-16T16:07:51.560
"381b4222-f694-41f0-9685-ff5bb260df2e" is balanced power plan. For high performance (as asked by the OP), "8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c" should be used instead. – None – 2013-12-11T11:55:57.300
1how can we find out 'what is my power plan??? – AminM – 2014-03-31T12:50:22.780
@Jeson Park you should put this in your own question. – 09stephenb – 2014-03-31T12:53:07.340
@09stephenb
To determine the GUID for all existing power schemes, type Powercfg /List at the command prompt, and then press ENTER
. – AminM – 2014-03-31T13:06:15.737@Jeson Park just to clarify why are you telling me this. – 09stephenb – 2014-03-31T14:52:03.423
@09stephenb I did not tell you. i Wrote this for other User that read this Question!! – AminM – 2014-03-31T15:12:43.993