03-10-2020, 04:16 AM
(This post was last modified: 04-30-2020, 12:40 AM by darklinkpower.)
Description:
This tutorial will show you how to make a simple script to change the active Power Plan when running a game. This can be useful for laptops since you can switch between a low consumption mode to high performance when running a games and switch back when closing the game.
Tutorial:
1. Finding the Power plan GUID:
First you need to know the Power Plan GUIDs, to do that you can open a CMD window and write
or alternatively you can download the zip file I attached to this post, which includes a bat file you can simply click. Either way, you should see this:
![[Image: UAHBdAF.png]](https://i.imgur.com/UAHBdAF.png)
2. Writing the Script:
After finding the GUIDs, you'll need to copy your Power Plan GUIDs into this script.
3. Using the Script:
Write the script in the order you want in the settings window for the script to apply globally in all games or individually to just run it in one game and select "Batch (.bat script)" in Script runtime
This tutorial will show you how to make a simple script to change the active Power Plan when running a game. This can be useful for laptops since you can switch between a low consumption mode to high performance when running a games and switch back when closing the game.
Tutorial:
1. Finding the Power plan GUID:
First you need to know the Power Plan GUIDs, to do that you can open a CMD window and write
powercfg -l
![[Image: UAHBdAF.png]](https://i.imgur.com/UAHBdAF.png)
2. Writing the Script:
After finding the GUIDs, you'll need to copy your Power Plan GUIDs into this script.
powercfg -s 00000000-0000-0000-0000-000000000000
3. Using the Script:
Write the script in the order you want in the settings window for the script to apply globally in all games or individually to just run it in one game and select "Batch (.bat script)" in Script runtime
![[Image: xFiRt5y.png]](https://i.imgur.com/xFiRt5y.png)