Skip to content
Follow
Windows

How to Change Lid Close Action in Windows 11

Richard
Written by
Richard
Apr 13, 2026 Updated Sep 15, 2026 7 min read
How to Enable or Disable Lock Screen Slideshow in Windows 11
How to Enable or Disable Lock Screen Slideshow in Windows 11

Changing the lid close action in Windows 11 lets you pick what your laptop does the second you shut the screen, with options to sleep, shut down, hibernate, or do nothing at all.

Advertisement

You can adjust this power setting in less than 60 seconds through the classic Control Panel app, and set different rules for when your battery runs low versus when you plug into a wall outlet.

  • Do Nothing = Your computer does nothing when you close the lid.
  • Sleep = Your computer goes to sleep when you close the lid.
  • Hibernate = Your computer enters hibernate mode when you close the lid.
  • Shut Down = Your computer shuts down when you close the lid.

Starting with Windows 11 build 29550.1000 (Canary), changes to power settings like Display, Sleep, Hibernate timeouts, Power/Sleep button, and lid close actions from Settings now apply to all power plans. This helps configurations persist reliably.

⚡ Quick Answer

You adjust the lid close action in Windows 11 via Power Options in Control Panel . Open Power Options, click “Choose what the power button does,” and select your desired action for “When I close the lid” under both “On battery” and “Plugged in.

Advertisement

Option One

Change Lid Close Action for Current Power Plan in Settings

Settings lets you quickly change the Windows 11 lid close action for your active power plan if you use version 24H2 or newer. Open the Settings app, go to System and Power & battery, expand the lid controls, and choose what happens when you shut your laptop while plugged in or on battery power.

  1. Open Settings (Win+I).
  2. Click System on the left side, then click Power & battery on the right side.
Windows 11 Power & Battery settings tile in the Settings app.
Windows 11 Power & battery settings in the Settings app.
  1. Click Lid & power button controls to expand it open.
  2. Select Do Nothing, Sleep (default), Hibernate, Shutdown, or Display Off for what you want in the “Plugged in” and “On battery” Closing the lid will make my PC drop menus.
Windows 11 lid close action settings options in Power & Battery.
Windows 11 lid close action settings options in Power & Battery.
  1. You can now close Settings if you like.

Option Two Open Power & battery settings

Change Lid Close Action for Current Power Plan in Power Options

  1. Open the Control Panel (icons view), and click the Power Options icon.
  2. Click Choose what the power button does in the left pane.
windows choose what the power button does link control panel
windows choose what the power button does link control panel
  1. In both the “On battery” and “Plugged in” drop menus for the “When I close the lid” setting, select Do nothing, Sleep (default), Hibernate, or Shut down for what you want, and click Save changes.

Power Options in the Control Panel lets you change the Windows 11 lid close action for your current power plan on older system versions. Open Power Options from the Control Panel, choose what the power button does, and pick your preferred action for when you close your laptop lid.

Control Panel showing 'When I close the lid' settings.
Control Panel showing 'When I close the lid' settings.

Advertisement

Option Three

Change Lid Close Action for Specific Power Plan in Advanced Power Options

  1. Open the Control Panel (icons view), and click the Power Options icon.
  2. Click Change plan settings for the power plan (example: "Balanced") you want to apply this to.
windows 11 change power plan settings link
windows 11 change power plan settings link
  1. Click Change advanced power settings.
windows 11 change advanced power settings control panel
windows 11 change advanced power settings control panel
  1. Expand open the Power buttons and lid and Lid close action settings. (see screenshot below step 5)
  2. In both the "On battery" and "Plugged in" drop menus for the Lid close action setting, select Do nothing, Sleep (default), Hibernate, or Shut down for what you want, and click OK.

Advanced Power Options in the Control Panel lets you change the Windows 11 lid close action for one specific power plan instead of all plans at once. Open your plan settings, click advanced power settings, and update the lid close action under the power buttons and lid menu.

Lid close action options: Do Nothing, Sleep, Hibernate, Shut Down.
Lid close action options: Do Nothing, Sleep, Hibernate, Shut Down.

Option Four

Change Lid Close Action for Current Power Plan in Windows Terminal

  1. Open Windows Terminal, and select either Windows PowerShell or Command Prompt.
  2. Copy and paste the command below you want to use for when on battery and/or plugged in into Windows Terminal, and press Enter.

Windows Terminal lets you change the Windows 11 lid close action for your current power plan by running a quick powercfg command. Open Windows Terminal with PowerShell or Command Prompt, paste the command for your desired battery or plugged-in state, and press Enter to apply it.

(Do nothing)

Advertisement
powercfg -setdcvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 0

OR

(Sleep - default)

powercfg -setdcvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 1

OR

(Hibernate)

Advertisement
powercfg -setdcvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 2

OR

(Shut down)

powercfg -setdcvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 3

AND/OR

Plugged in

Advertisement

Desktop computers use this option because desktop systems lack separate "On battery" and "Plugged in" choices unless connected to a UPS (Uninterruptible Power Supply).

(Do nothing)

powercfg -setacvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 0

OR

(Sleep - default)

Advertisement
powercfg -setacvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 1

OR

(Hibernate)

powercfg -setacvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 2

OR

(Shut down)

Advertisement
powercfg -setacvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 3
  1. You can now close Windows Terminal if you like.

Option Five

Change Lid Close Action for Specific Power Plan in Windows Terminal

  1. Open Windows Terminal, and select either Windows PowerShell or Command Prompt.
  2. Copy and paste the command below into Windows Terminal, and press Enter. Write down the GUID number (example: 381b4222-f694-41f0-9685-ff5bb260df2e) of the power plan (example: "Balanced") you want to apply this to. (see screenshot below)

Windows Terminal lets you change the Windows 11 lid close action for a specific power plan by using the plan's unique GUID identifier. Open Windows Terminal, find your target power plan's GUID, and run the command to update the lid behavior for that exact plan.

powercfg /L
  1. Type the command below you want to use for when on battery and/or plugged in into Windows Terminal, and press Enter.

On battery

(Do nothing)

powercfg -setdcvalueindex GUID 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 0

OR

(Sleep - default)

powercfg -setdcvalueindex GUID 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 1

OR

(Hibernate)

powercfg -setdcvalueindex GUID 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 2

OR

(Shut down)

powercfg -setdcvalueindex GUID 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 3

AND/OR

Plugged in

Desktop computers use this option because desktop systems lack separate "On battery" and "Plugged in" choices unless connected to a UPS (Uninterruptible Power Supply).

(Do nothing)

powercfg -setacvalueindex GUID 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 0

OR

(Sleep - default)

powercfg -setacvalueindex GUID 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 1

OR

(Hibernate)

powercfg -setacvalueindex GUID 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 2

OR

(Shut down)

powercfg -setacvalueindex GUID 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 3
📝NoteSubstitute the placeholder GUID in the command above with the actual GUID from step 2 for the target power plan.

Example: Set to "Shut down" while "Plugged in" for the Balanced power plan GUID (381b4222-f694-41f0-9685-ff5bb260df2e)

powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 3
  1. You can now close Windows Terminal if you like.

Option Six

Specify Lid Close Action for All Power Plans in Local Group Policy Editor

Local Group Policy Editor lets administrators enforce a specific Windows 11 lid close action across all power plans on Pro, Enterprise, and Education editions. Open the policy editor using gpedit.msc, locate the power management settings, and configure the lid close rule for your system.

📝NoteThe Local Group Policy Editor remains restricted to Windows 11 Pro, Enterprise, and Education editions.

Option Seven below provides an alternative configuration method for all editions.

  1. Open the Local Group Policy Editor (gpedit.msc).
  2. Navigate to the location below in the left pane of the Local Group Policy Editor. (see screenshot below)

Computer Configuration > Administrative Templates > System > Power Management > Button Settings

Group Policy Editor for selecting lid switch action in Windows.
Group Policy Editor for selecting lid switch action in Windows.

  1. In the right pane of Button Settings, double-click the Select the lid switch action (plugged in) and/or Select the lid switch action (on battery) policy you want to edit.

Default User Choice for Lid Close Action

  • Select (dot) Not Configured, click OK

To Specify "Hibernate" for Lid Close Action

  • Select (dot) Enabled, select Hibernate in the Lid Switch Action drop menu under Options, click OK

To Specify "Shut down" for Lid Close Action

  • Select (dot) Enabled, select Shut down in the Lid Switch Action drop menu under Options, click OK

To Specify "Sleep" for Lid Close Action

  • Select (dot) Enabled, select Sleep in the Lid Switch Action drop menu under Options, click OK

To Specify "Take no action" for Lid Close Action

  • Select (dot) Enabled, select Take no action in the Lid Switch Action drop menu under Options, click OK
Group Policy options for configuring lid close action in Windows.
Group Policy options for configuring lid close action in Windows.

Conclusion

Adjusting the Windows 11 lid close action helps tailor your laptop power management to match your daily workflow and battery needs. Review your options to choose whether your computer sleeps, shuts down, hibernates, or does nothing when you close the lid.

  • Choose Your Preferred Action: Select an action that suits your needs—whether it be Do Nothing, Sleep, Hibernate, or Shut Down.
  • Apply Settings to Specific Power Plans: Make adjustments for different power plans to optimize performance and energy consumption.
  • Utilize Various Methods: Choose from multiple methods such as Settings, Control Panel, Windows Terminal, or Group Policy Editor to implement your desired changes.
  • Experience Consistency Across Power Plans: Starting with Windows 11 build 29550.1000, your settings will remain consistent across all power plans.
  • Enhance Productivity: Tailor your laptop's behavior to fit your workflow and enhance overall productivity.

Following these steps ensures laptop hardware responds predictably whenever the display panel comes down.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

Advertisement

📚 Related Tutorials

Windows 11 Control Panel Shortcuts Guide
Windows Windows 11 Control Panel Shortcuts Guide
How to Disable Command Prompt in Windows 11
Windows How to Disable Command Prompt in Windows 11
How to Change Sleep Button Function in Windows 11
Windows How to Change Sleep Button Function in Windows 11
How to Change Windows Terminal Themes
Windows How to Change Windows Terminal Themes

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *