How to add / remove 'Lid close action' from Power Options in Windows

This tutorial will show you how to add or remove Lid close action settings under Power buttons and lid in Power Options for all users in Windows 7, Windows 8 and Windows 10.

The Lid close action setting in Power Options allows users to specify default actions to be performed when closing the laptop (system) lid.

User can specify one of the following actions to do: Do ​​nothing (do nothing), Sleep (go to sleep), Hibernate (go into hibernation) or Shut down (shutdown).

How to add / remove 'Lid close action' from Power Options in Windows Picture 1How to add / remove 'Lid close action' from Power Options in Windows Picture 1

This tutorial will show you how to add or remove Lid close action settings under Power buttons and lid in Power Options for all users in Windows 7, Windows 8 and Windows 10.

Some things to note:

- You must be logged in as an admin to be able to add or remove this setting in Power Options.

This will not affect the When I close the lid setting under Power Options> Choose what the power buttons do (System Settings) below.

How to add / remove 'Lid close action' from Power Options in Windows Picture 2How to add / remove 'Lid close action' from Power Options in Windows Picture 2

Add / remove "Lid close action" in Power Options using Command Prompt

Step 1. Open Command Prompt with admin rights.

Step 2. Copy and paste the command you want to use below into the Command Prompt, and then press Enter.

(Add - default)

powercfg -attributes SUB_BUTTONS 5ca83367-6e45-459f-a27b-476b1d01c936 -ATTRIB_HIDE

Or:

(Erase)

powercfg -attributes SUB_BUTTONS 5ca83367-6e45-459f-a27b-476b1d01c936 + ATTRIB_HIDE

Step 3. Now, you can close the Command Prompt if you want.

Add / delete "Lid close action" in Power Options with REG file

The downloadable .reg files below will modify the DWORD value in the registry key:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlPowerPowerSettings4f971e89-eebd-4455-a8de-9e59040e73475ca83367-6e45-459f-a27b-476b1d01c936

DWORD Attributes

0 = Add
1 = Remove

Step 1. Do step 2 (to add) or step 3 (to delete) below, depending on what you want to do.

Step 2. To add "Lid close action" to Power Options, download the Add_Lid_close_action_to_Power_Options.reg file and go to step 4 below.

Step 3. To remove "Lid close action" from Power Options, download the Remove_Lid_close_action_from_Power_Options.reg file and go to step 4 below.

Step 4. Save the .reg file to the desktop.

Step 5. Double-click the downloaded .reg file to merge.

Step 6. When prompted, click Run> Yes (UAC)> Yes> OK to approve the merge.

Step 7. Now you can delete the downloaded .reg file if you want.

3.7 ★ | 15 Vote