Hellbovine
Well-Known Member
It's a bit confusing, but my registries are correct. You're focusing on "SettingValue" which isn't relevant here. If you want to change an AC/DC value, it needs to match the number written on the actual yellow folders you drew red arrows on.
Let's do a hands-on example. Open regedit and navigate here: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\9596FB26-9850-41fd-AC3E-F7C3C00AFD4B\03680956-93BC-4294-BBA6-4E0F09BB717F\DefaultPowerSchemeValues\381b4222-f694-41f0-9685-ff5bb260df2e
This is for adjusting media playback in the power plans, and is pointing to the default settings for the Balanced plan. Microsoft set my Balanced plan to a value of "1" for AC, which means it uses "Prevent idling to sleep" while on continuous power, but has a value of "0" for DC, which means it uses "Allow the computer to sleep" while on battery power.
If you were correct, the values for the Balanced plan would use "80000001" for ACsettingindex and "80000000" for DCsettingindex, but Microsoft doesn't do that. Also, if you click on the yellow "2" folder, you'll notice the "SettingValue" is "80000041" and if you wanted to use "Allow the computer to enter Away Mode" which is what that folder handles, then we need an AC/DC settingindex of "2" instead of whatever "SettingValue" has.
Lastly, it's really easy to just test stuff like this before posting. Simply install the "80000041" value from the last paragraph and watch how it fails in the Control Panel. According to your theory it should set my Balanced power plan to "Allow the computer to enter Away Mode" but it actually bugs out the display page and it shows no options, meaning that setting is now broken.
Let's do a hands-on example. Open regedit and navigate here: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\9596FB26-9850-41fd-AC3E-F7C3C00AFD4B\03680956-93BC-4294-BBA6-4E0F09BB717F\DefaultPowerSchemeValues\381b4222-f694-41f0-9685-ff5bb260df2e
This is for adjusting media playback in the power plans, and is pointing to the default settings for the Balanced plan. Microsoft set my Balanced plan to a value of "1" for AC, which means it uses "Prevent idling to sleep" while on continuous power, but has a value of "0" for DC, which means it uses "Allow the computer to sleep" while on battery power.
If you were correct, the values for the Balanced plan would use "80000001" for ACsettingindex and "80000000" for DCsettingindex, but Microsoft doesn't do that. Also, if you click on the yellow "2" folder, you'll notice the "SettingValue" is "80000041" and if you wanted to use "Allow the computer to enter Away Mode" which is what that folder handles, then we need an AC/DC settingindex of "2" instead of whatever "SettingValue" has.
Lastly, it's really easy to just test stuff like this before posting. Simply install the "80000041" value from the last paragraph and watch how it fails in the Control Panel. According to your theory it should set my Balanced power plan to "Allow the computer to enter Away Mode" but it actually bugs out the display page and it shows no options, meaning that setting is now broken.
Last edited: