Created
August 28, 2023 15:07
-
-
Save jhx0/7433e74ff9926bba6b35015ddf8ad824 to your computer and use it in GitHub Desktop.
Tuning power settings via powercfg on Windows
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
# Set High Performance profile | |
powercfg.exe /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c | |
# Disable monitor timeout | |
powercfg.exe /change monitor-timeout-ac 0 | |
powercfg.exe /change monitor-timeout-dc 0 | |
# Disable standby timeout | |
powercfg.exe /change standby-timeout-ac 0 | |
powercfg.exe /change standby-timeout-dc 0 | |
# Disable hibernate timeout | |
powercfg.exe /change hibernate-timeout-ac 0 | |
powercfg.exe /change hibernate-timeout-dc 0 | |
# Disable hibernate | |
powercfg.exe /hibernate off |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment