Skip to content

Instantly share code, notes, and snippets.

@mattcuk
Created July 10, 2023 08:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattcuk/a5a99cf15a6993700a5f6d30c52d2dfa to your computer and use it in GitHub Desktop.
Save mattcuk/a5a99cf15a6993700a5f6d30c52d2dfa to your computer and use it in GitHub Desktop.
Scripts to allow you to easily switch between 100% of CPU, and 99% which will help prevent coil whine in some laptops. Be aware that setting it to 99% will disable clock boost, so your CPU won't be hitting it's full potential until you switch back to 100%..
powercfg /setacvalueindex SCHEME_BALANCED SUB_PROCESSOR PROCTHROTTLEMAX 100
powercfg /setactive SCHEME_BALANCED
powercfg /setacvalueindex SCHEME_BALANCED SUB_PROCESSOR PROCTHROTTLEMAX 99
powercfg /setactive SCHEME_BALANCED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment