Make windows honor my setting to do nothing when I close the lid of my computer
The issue is that the setting in the control panel is not changing the attribute in the registry. This could be due to a group policy, a third party power management tool, or a windows bug.
- run the following command in a cmd prompt to see what power settings are being honored by your system:
PowerCfg /q
- Find the GUID setting for closing your lid. For me its
Subgroup GUID: 4f971e89-eebd-4455-a8de-9e59040e7347
Power Setting GUID: 5ca83367-6e45-459f-a27b-476b1d01c936 Notice the current setting is 1. That means it will sleep when the lid is closed. - Open regedit. (You can search for it in the start menu)
- Go to the following entry:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\4f971e89-eebd-4455-a8de-9e59040e7347\5ca83367-6e45-459f-a27b-476b1d01c936
- Change the
Attributes
Key to have a DWORD value of0
- If you want to change the other power profiles you can go into the
DefaultPowerSchemeValues
subfolder and change thoseAttributes
values to be0
as well