Published by


Brink's Avatar
Administrator

Posts: 32,272

Show Printable Version 


How to Add or Remove "Lid close action" from Power Options in Windows


The Lid close action setting in Power Options lets users specify the default action to take when the laptop (system) lid is closed.

Users can specify one of the following actions to take: do nothing, sleep, hibernate, or shut down.

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

You must be signed in as an administrator to be able to add or remove this setting in Power Options.

This will not affect the When I close the lid setting in Power Options > Choose what the power buttons do (System Settings) below.
Name:  Choose_what_the_power_buttons_do.jpg
Views: 891
Size:  59.8 KB


 CONTENTS:

  • Option One: Add or Remove "Lid close action" in Power Options using Command Prompt
  • Option Two: Add or Remove "Lid close action" in Power Options using REG file


EXAMPLE: "Lid close action" in Power Options
Name:  Lid_close_action_in_Power_Options.jpg
Views: 844
Size:  75.7 KB





Add or Remove Lid close action from Power Options in Windows OPTION ONE Add or Remove Lid close action from Power Options in Windows
Add or Remove "Lid close action" in Power Options using Command Prompt

1. Open an elevated command prompt.

2. Type the command below you want to use into the elevated command prompt, and press Enter.

(Add - default)
powercfg -attributes SUB_BUTTONS 5ca83367-6e45-459f-a27b-476b1d01c936 -ATTRIB_HIDE

OR

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

3. You can now close the elevated command prompt if you like.






Add or Remove Lid close action from Power Options in Windows OPTION TWO Add or Remove Lid close action from Power Options in Windows
Add or Remove "Lid close action" in Power Options using REG file


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

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\4f971e89-eebd-4455-a8de-9e59040e7347\5ca83367-6e45-459f-a27b-476b1d01c936

Attributes DWORD

1 = Remove
2 = Add


1. Do step 2 (add) or step 3 (remove) below for what you would like to do.


 2. To Add "Lid close action" to Power Options

This is the default setting.

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Add_Lid_close_action_to_Power_Options.reg

download


 3. To Remove "Lid close action" from Power Options

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Remove_Lid_close_action_from_Power_Options.reg

download

4. Save the .reg file to your desktop.

5. Double click/tap on the downloaded .reg file to merge it.

6. When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7. You can now delete the downloaded .reg file if you like.


That's it,
Shawn