Unlock every Power Plan Scheme/Setting on Windows 10/11. Just paste in an elevated PowerShell.
Use this instead of some incomplete PowerCfg commands or old .reg files as this script works even for newer/unknown settings: It will look up the PowerSettings registry hive and add or change a value (Attributes = 2) to reveal it.
- Windows 7 - 11
- PowerShell v2 - v7 with admin rights
Also have a look at: https://gist.github.com/raspi/203aef3694e34fefebf772c78c37ec2c