The command uses the wrong GUID for the lid-open setting.
For Lid open wake action, the correct identifiers are:
- Subgroup alias:
SUB_BUTTONS - Setting alias:
LIDOPENWAKE - GUID:
99ff10e7-23b1-4c07-a9d1-5c3206d741b4
That setting is marked as hidden, so using the wrong GUID will not unhide it.
Use the correct setting identifier instead of:
powercfg -attributes SUB_BUTTONS 99ff10e9-0bdb-43f2-9a98-17f7b86b7a00 -ATTRIB_HIDE
The documented hidden lid-related settings under Power button and lid settings include:
- Lid switch close action:
LIDACTION - Lid open wake action:
LIDOPENWAKE
Also note:
- Lid open wake action controls what happens when the lid is opened:
0 = Do Nothing,1 = Turn on the display. - This setting is available in Windows 10, version 1607 and later.
- On many laptops, true power on when lid opens from a full shutdown is controlled by BIOS/UEFI or manufacturer firmware, not by Windows.
If the goal is to restore missing lid-related power options, verify the exact setting being targeted and use the documented alias or GUID for that setting.