I am trying to change the action taken by windows when I close my laptop lid by changing the values stored in the registry location:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\4f971e89-eebd-4455-a8de-9e59040e7347\5ca83367-6e45-459f-a27b-476b1d01c936
Through the DWORDS DCSettingIndex
and ACSettingIndex
But it has no effect, it looks like the registry has nothing to do with the options I choose in the control panel. I am changing these options using a script so it would be better if I did it through the registry.
It is my first time to deal with registry so please till my if I am doing something wrong.
powercfg /change ...
to make changes to the settings. Seepowercfg /?
in a command prompt for all parameters.