Solved Registry power plans - changing Attributes value vs adding key to user plan


fruh

Well-known member
Member
VIP
Local time
1:08 PM
Posts
162
OS
Windows 11
Hi, I'm exploring the Registry :D

I have noticed that the usual procedure for enabling hidden advanced power settings involves changing (or adding) the Attributes Dword value to 0 or 2 (1 for hidden). In this case, the Attributes Dword is added to the PowerSetting key of interest under HKLM\SYSTEM\CurrentControlSet\Control\Power\PowerSettings, where it seems like all the possible advanced power settings keys are stored independently from power plans (or schemes).

The actual user power plans are located under HKLM\SYSTEM\CurrentControlSet\Control\Power\User\PowerSchemes (where the windows energy saver overlay and active power plan are specified too). Here though, under the keys of every specific user PowerScheme, not every PowerSetting key is present for every PowerScheme.

So, is there a difference between un-hiding PowerSettings using the Attributes Dword under Power\PowerSettings and directly adding a PowerSetting key to a PowerScheme under Power\User\PowerSchemes? Could it be that Attributes defines the general un/hiding of the PowerSettings while adding a specific key to a specific power plan is the specific way to do the same thing?

Also, some keys which have both AC and DC Dword values specified under Power\PowerSettings only actually have one of them under \Power\User\PowerSchemes (for example, the energy saver setting which is enabled only when the PC is running on battery); could it be possible to add the missing Dword directly under the desired power scheme?

Attached is a screenshot of regedit showing how one of the user PowerSchemes keys refer to the PowerSettings above; the PowerSettings keys under Power\User\PowerSchemes are only there for storing the user-set values, while the keys in their complete form (description etc) are stored under Power\PowerSettings

Thanks to anyone who will reply :)
 
Windows Build/Version
22621.521

Attachments

  • Immagine 2022-09-25 200643.png
    Immagine 2022-09-25 200643.png
    55.1 KB · Views: 15

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Dell g5 5590
    CPU
    intel 9th gen
    Memory
    8GB LOL
    Graphics Card(s)
    nvidia
    Hard Drives
    C: nVME kioxia SSD
    D: SATA toshiba HDD
    Browser
    Firefox
    Antivirus
    Defender (if it hasn't been disabled yet)
WELL, I'm totally lost! What are you actually trying to do? And, WHY?

If I just wait to see what others have to say, maybe I'll understand it better.
Y'all have a nice day now,
TM :cool:
 

My Computer

System One

  • OS
    Win-11/Pro/64, Optimum 11 V3, 23H2 22631.3085
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Made w/Gigabyte mobo/DX-10
    CPU
    AMD FX 6350 Six Core
    Motherboard
    Gigabyte, DX-10, GA-78LMT-USB3
    Memory
    Crucial, 16 GB
    Graphics Card(s)
    Onboard, ATI Radeon HD 3000; NVIDEA GeForce 210, 1GB DDR3 Ram.
    Sound Card
    Onboard
    Monitor(s) Displays
    24" Acer
    Screen Resolution
    1280x800
    Hard Drives
    Crucial SSD 500GB, SanDisk 126GB SSD, Toshiba 1TB HD
    PSU
    EVGA 500 W.
    Case
    Pac Man, Mid Tower
    Cooling
    AMD/OEM
    Keyboard
    101 key, Backlit/ Mechanical Switches/
    Mouse
    Logitech USB Wireless M310
    Internet Speed
    Hughes Net speed varies with the weather
    Browser
    Firefox 64x
    Antivirus
    Windows Defender, Super Anti Spyware
    Other Info
    Given to me as DEAD, and irreparable.
    Rebuilt with Gigabyte mobo, AMD cpu, 16GB ram and 500GB Crucial SSD.
@TechnoMage2021 tryna find out if there is actual public knowledge about the registry
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Dell g5 5590
    CPU
    intel 9th gen
    Memory
    8GB LOL
    Graphics Card(s)
    nvidia
    Hard Drives
    C: nVME kioxia SSD
    D: SATA toshiba HDD
    Browser
    Firefox
    Antivirus
    Defender (if it hasn't been disabled yet)
Yes, I do this registry hack to reveal hidden "expert" power settings in the power plans that I wish to change. I don't have a laptop, so am not concerned about AC/DC. However, I would think that Microsoft would handle that automatically. Personally I wouldn't mess with that, but just the attribute keyword. to expose the settings.

Just so people understand what we are talking about:

Screenshot 2022-09-25 213651.png
 
Last edited:

My Computers

System One System Two

  • OS
    Windows 11 Pro x64
    Computer type
    PC/Desktop
    Manufacturer/Model
    DIY Photoshop/Game/tinker build
    CPU
    Intel i9 1300KS
    Motherboard
    Asus ROG Maximus Z90 Dark Hero
    Memory
    64GB (2x32) G.skill Trident Z5 RGB 6400 MHZ 32-39-39
    Graphics Card(s)
    Asus ROG Strix 4070 Ti OC
    Sound Card
    Onboard Audio, Vanatoo Transparent One; Klipsch R-12SWi Sub; Creative Pebble Pro Minimilist
    Monitor(s) Displays
    Eizo CG2730, ViewSonic VP2768
    Screen Resolution
    2560 x 1440p x 2
    Hard Drives
    WDC SN850 1TB nvme, SK-Hynix 2 TB P41 nvme, Raid 0: 1TB 850 EVO + 1TB 860 EVO SSD. Sabrent USB-C DS-SC5B 5-bay docking station: 6TB WDC Black, 6TB Ironwolf Pro; 2x 2TB WDC Black
    PSU
    850W Seasonic Vertex PX-850
    Case
    Fractal Design North XL Mesh, Black Walnut
    Cooling
    EKWB 360 Nucleus Dark AIO w/Phanteks T30-120 fans, 1 Noctua NF-A14 Chromax case fan
    Keyboard
    Glorious GMMK TKL mechanical, lubed modded
    Mouse
    Logitech G305 wireless gaming
    Internet Speed
    380 Mb/s down, 12 Mb/s up
    Browser
    Firefox
    Antivirus
    Defender, Macrium Reflect 8 ;-)
  • Computer type
    Laptop
    Manufacturer/Model
    Apple 13" Macbook Pro 2020 (m1)
    CPU
    Apple M1
    Screen Resolution
    2560x1600
    Browser
    Firefox
Alright then, I decided to try myself. At first I added Energy Saver settings to Power Options following this tutorial, then I added the missing ACSettingIndex Dword to the Energy Saver - Charge level key in my user power plan. The AC setting was shown by setting the Attributes Dword to 2, but was not editable in Control Panel; manually adding the ACSettingIndex made it actually editable so now I can enable Energy Saver when my laptop is plugged in.

Through Control panel I have also set the Energy Saver behaviour to aggressive for plugged-in state, which automatically created the missing key in my user power plan, since this one was actually editable.

It looks like if there already is a Dword specified for a key under \User\PowerSchemes, setting the Attributes Dword to 2 under \PowerSettings will just show it, but not override it by making the missing Dwords editable; instead, if the keys made available through Attributes under \PowerSettings were completely missing, the registry will automatically add them if the user modifies them through control panel.

In the end, it had to make sense in some way I guess

Attached is a screenshot of my custom power plan with Energy Saver enabled for AC too; comparisons can be made with standard user power plans too, since not everyone will have exactly my custom power plan key
 

Attachments

  • Immagine 2022-09-26 124054.png
    Immagine 2022-09-26 124054.png
    55.4 KB · Views: 12

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Dell g5 5590
    CPU
    intel 9th gen
    Memory
    8GB LOL
    Graphics Card(s)
    nvidia
    Hard Drives
    C: nVME kioxia SSD
    D: SATA toshiba HDD
    Browser
    Firefox
    Antivirus
    Defender (if it hasn't been disabled yet)

Latest Support Threads

Back
Top Bottom