Unlock-PowerCfg 1.1.0
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.
Requirements:
- Windows 7 - 11
- PowerShell v2 - v7 with admin rights
Also have a look at: https://gist.github.com/raspi/203aef3694e34fefebf772c78c37ec2c
I suspect because of this.
Although "CsEnabled" is (or should be) no longer be relevant since Windows 10, version 2004.
//edit:
Btw. what is the easiest way to restore the default, i.e. to hide all the settings which are not shown by default?
//edit2:
Attributes = 1 means hidden
Attributes = 2 means unhide
Interestingly, "powercfg -attributes (...) -ATTRIB_HIDE" sets Attributes to 0 (instead of 2). Which is "more correct"? I have no idea!
Greetings, Martin