Advertisement

How to Change Default Lid Close Action on Windows 10

Here's how you can change the default Lid close action on Windows 10. The Lid Close Action setting is a special power option that allows specifying the default action to take when the laptop lid is closed. You can set it to one of the following actions: sleep, hibernate, shut down, or just do nothing.

Advertisement

In Windows 10, there are 3 methods you can use to specify it. This post will show you how to change the default action for the close lid event on your laptop in Windows 10.

Change Default Lid Close Action in Power Options

  1. Right-click the battery icon in the taskbar, and select Power Options from the menu.Windows 10 Open Power Options
  2. Click Choose what closing the lid does link on the left.Windows 10 Change What Closing The Lid Does Link
  3. Click on Change settings that are currently unavailable.Windows 10 Change Settings That Are Currently Unavailable
  4. In the When I close the lid drop-down menu, select the desired action for both On battery and Plugged in modes. Note that you need to have Hibernation enabled to have the Hibernate action available.Change Default Lid Close Action On Windows 10
  5. Click on Save changes, and you are done.

Alternatively, there are a couple of methods you can use to change the lid close from the command prompt. You can do it for the current (active) power scheme, or for a specific power plan which can be other than the current one.

Change Default Lid Close Action in Command Prompt

  1. Open a command prompt.
  2. Type the following command to change the lid close action when on battery: powercfg -setdcvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 <ACTION_ID>.Change Default Lid Close Action In Command Prompt
  3. To do the same for Plugged in, type the command: powercfg -setacvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 <ACTION_ID>.Change Default Lid Close Action In Command Prompt When Plugged In
  4. Replace <ACTION_ID> with the appropriate value from the table below, and hit the Enter key to run the command.
  5. Now, type and run the command powercfg -SetActive SCHEME_CURRENT to make Windows 10 apply the power scheme change, and you are done.Apply Lid Close Action Changes In Command Prompt

Pick the required ACTION_ID value from this table.

ACTION_IDAction
0Do nothing
1Sleep
2Hibernate
3Shut down

Here's how you can specify the default close lid action for the specific Power Plan using the command prompt and powercfg.

Set Lid Close Action for Specific Power Plan in Command Prompt

  1. Open a command prompt.
  2. Type and run the powercfg /L command to list the available power schemes. The active power plan has * to the right of its name.Powercfg List Available Power Plans
  3. Make note of the GUID value, like 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c of the power plan you want to apply the change to.
  4. Type this command to set the lid close action for the close lid action when on battery: powercfg -setdcvalueindex <GUID> 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 <ACTION_ID>.Set Lid Close Action For Specific Power Plan
  5. The following command changes the lid close action for Plugged in: powercfg -setdcvalueindex <GUID> 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 <ACTION_ID>.Set Lid Close Action For Specific Power Plan In Command Prompt
  6. Replace <GUID> with the power scheme GUID value you noted. Replace <ACTION_ID> from the table in the previous chapter.
  7. Restart your computer to make Windows 10 apply the change.

That's it.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Advertisment

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

Leave a Reply

Your email address will not be published.

css.php
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.