How to add / remove 'Lid close action' from Power Options in Windows
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).
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.
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.
You should read it
- Set up a separate power source for Windows 7 on Laptop?
- How to add / remove 'Allow wake timers' from Power Options in Windows 10
- Steps to add/remove 'Maximum processor state' from Power Options in Windows
- How to add or remove 'SEC NVMe Idle Timeout' from Power Options in Windows 10
- How to add or delete AHCI Link Power Management - HIPM / DIPM from Power Options on Windows
- Power saving modes in Windows
- How to add / remove 'Display brightness' from Power Options in Windows
- How to adjust Power Option on Windows 10 for the most efficient operation
May be interested
- The trick to create a shortcut to run the application under Adminif you want to allow a user account to launch an application as an administrator without the uac (user account control) or password, you can create a shortcut using the runas / savecred command. this command will save your password.
- How to run multiple versions of a Windows programthere are several ways you can run another instance of the same application. the following instructions will explain which method is more suitable for a particular type of program.
- How to install XAMPP, How to configure XAMPP on Windows 10in this guide, you will learn the steps to install xampp on windows 10 as well as instructions for configuring the web environment and fixing some common problems after setup.
- How to take screenshots on HP Laptop computersyou do not know how to take screenshots of hp laptops? you have tried many ways to take screenshots of your laptop hp but failed, please follow the article below.
- How to take screenshots Laptop Lenovothe fact that you do not know how to capture the screen of the device while using the phone to capture is very difficult when the image quality is quite low and may not see the details.
- What is UAC? How to enable / disable UAC on Windows 10, 8, 7find out what uac is and how to enable and disable user account control - uac on windows 10-8 - 7. user account control or uac is a part of windows security system