Skip to content

This script restores all Windows's advanced power options that you configure when creating a new power plan or editing a power plan.

Notifications You must be signed in to change notification settings

pratyakshm/RestorePowerOptions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

RestorePowerOptions

When you're creating a new power plan using Control Panel, or you're editing a current plan, you might notice that some options under "Change advanced power settings" are not disabled/hidden. This script aims to restore all of those options.

This is how the Advanced power settings menu looks after running this script:
image

Notes:

  • This script was evaluated in Windows 10 Build 19044 and Windows 11 Build 22623. It should work in all in-service Windows 11 and 10 versions.
  • This script is targeted towards OEM devices such as notebooks, tablets, etc.

Warranty

THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

Run the script

Open Windows Terminal as Admin

Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://bit.ly/RestorePowerOptions'))

image

Press enter to run.

Some power options still missing?

If you believe that some power options are still missing, please submit a report by creating an issue in this repo.


Credits

This script re-uses code from tenforums.com.

About

This script restores all Windows's advanced power options that you configure when creating a new power plan or editing a power plan.

Resources

Stars

Watchers

Forks