Created
August 2, 2022 16:52
-
-
Save ahmedsadman/e9911aad51108aac329e9851ab71a0b0 to your computer and use it in GitHub Desktop.
Disable Turbo power mode with batch file while running a certain application
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo Switching power modes (Turboless) | |
powercfg /s 9d9d13cf-c730-4421-8f6f-4d8d6f8bd265 | |
echo Starting game | |
start /w "" "Stray.exe" | |
echo Restoring power mode (Performance) | |
powercfg /s 27fa6203-3987-4dcc-918d-748559d549ec | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment