Skip to content

Instantly share code, notes, and snippets.

@jhx0
Created August 28, 2023 15:07
Show Gist options
  • Save jhx0/7433e74ff9926bba6b35015ddf8ad824 to your computer and use it in GitHub Desktop.
Save jhx0/7433e74ff9926bba6b35015ddf8ad824 to your computer and use it in GitHub Desktop.
Tuning power settings via powercfg on Windows
# 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