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:
- 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.
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.
Open Windows Terminal as Admin
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://bit.ly/RestorePowerOptions'))
Press enter to run.
If you believe that some power options are still missing, please submit a report by creating an issue in this repo.
This script re-uses code from tenforums.com.