How to Change What Happens When I Close My Laptop

Lid_Close_banner.png

The lid switch close action specifies the action to take when the system lid is closed.

Users tin can specify one of the following actions to take:

  • Exercise Nothing = No activity is taken when the organisation hat is closed.
  • Sleep = The arrangement enters sleep when the system chapeau is airtight.
  • Hibernate = The organization enters hibernate when the system lid is closed.
  • Shut Down = The organisation shuts downward when the system hat is airtight.

This tutorial volition show you how to change the default action to take when closing the hat of your laptop in Windows 10 and Windows 11.

Contents


  • Option One: Change Lid Close Action for Current Power Programme in Power Options
  • Option Two: Change Lid Close Action for Specific Power Programme in Advanced Power Options
  • Option Iii: Change Lid Close Action for Current Power Plan in Windows Concluding
  • Option 4: Modify Lid Close Action for Specific Ability Plan in Windows Terminal
  • Choice 5: Specify Lid Close Action for All Power Plans in Local Group Policy Editor
  • Selection Six: Specify Lid Close Action for All Power Plans using REG file

Option One

Alter Hat Close Action for Electric current Power Plan in Power Options

1 Open the Control Console (icons view), and click/tap on the Power Options icon.

ii Click/tap on the Choose what the ability button does link in the left pane. (run across screenshot below)

Lid_close_action_Power_Options-A.png

3 In both the On battery and Plugged in driblet menus for the When I close the lid setting, select Do nothing, Sleep (default), Hibernate, or Shut downwardly for what y'all desire, and click/tap on Save changes.

Desktop computers will not have dissever On battery and Plugged in options available unless information technology has a data connection to a UPS.

Lid_close_action_Power_Options-B.png

Selection Two

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

1 Open the Control Panel (icons view), and click/tap on the Power Options icon.

2 Click/tap on the Change plan settings link for the power plan (ex: "Balanced") you desire to apply this to. (see screenshot beneath)

Lid_close_action_Power_Options-1.png

iii Click/tap on the Change advanced power settings link. (see screenshot below)

Lid_close_action_Power_Options-2.png

4 Aggrandize open up the Power buttons and hat and Hat close activity settings. (meet screenshot below step 5)

You can add together Lid close action to Power Options if you do non have it bachelor.

5 In both the On battery and Plugged in driblet menus for the Lid shut action setting, select Do nothing, Slumber (default), Hibernate, or Shut down for what you want, and click/tap on OK.

Desktop computers will not have separate On battery and Plugged in options available unless it has a data connectedness to a UPS.

Lid_close_action_Power_Options-3.png

Pick 3

Change Lid Close Activity for Current Ability Programme in Windows Terminal

i Open up Windows Terminal, and select either Windows PowerShell or Control Prompt.

ii Copy and paste the command beneath y'all desire to use for when on battery and/or plugged in into Windows Last, and press Enter.

(Practise zip)​

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​

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

OR​

(Shut downwardly)​

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

AND/OR​

You would use this pick for a desktop computer, since desktop computers will not have divide On battery and Plugged in options bachelor unless it has a data connection to a UPS.

(Practise aught)​

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

OR​

(Slumber - default)​

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

OR​

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

OR​

(Shut downwardly)​

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

3 You tin now close Windows Terminal if you like.

Option Four

Alter Lid Shut Action for Specific Power Program in Windows Terminal

1 Open up Windows Terminal, and select either Windows PowerShell or Command Prompt.

2 Copy and paste the powercfg /L command into Windows Final, and press Enter. Make note of the GUID number (ex: 381b4222-f694-41f0-9685-ff5bb260df2e) of the ability plan (ex: "Balanced") you desire to apply this to. (encounter screenshot below)

The power plan (ex: Ultimate Functioning) with an asterisk (*) to the right of information technology is your current active power plan scheme.


powercfg_L.png

3 Type the command below you want to apply for when on battery and/or plugged in into Windows Concluding, and press Enter.

(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​

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

OR​

(Shut downward)​

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

AND/OR​

You lot would use this option for a desktop computer, since desktop computers volition not have separate On battery and Plugged in options bachelor unless it has a data connection to a UPS.

(Do aught)​

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

OR​

(Slumber - default)​

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

OR​

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 iii


Substitute GUID in the command above with the actual GUID from stride ii above for the power plan yous want to apply this to.

For 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 iii

4 You tin can now close Windows Terminal if you like.

Option V

Specify Lid Close Activity for All Ability Plans in Local Grouping Policy Editor


You lot must exist signed in every bit an ambassador to use this choice.

The Local Group Policy Editor is only available in the Windows xi Pro, Enterprise, and Education, editions.

All editions can apply Option Half-dozen below to configure the same policy.

i Open the Local Grouping Policy Editor (gpedit.msc).

ii Navigate to the policy location below in the left pane of the Local Grouping Policy Editor. (see screenshot below)

Calculator Configuration > Administrative Templates > Organization > Ability Management > Push Settings.​


Lid_close_action_gpedit-1.png

3 In the right pane of Button Settings, double click/tap on the Select the lid switch action (plugged in) and/or Select the lid switch action (on bombardment) policy you want to edit. (see screenshot in a higher place)

4 Exercise step five (default), pace half dozen (hibernate), step 7 (close down), stride 8 (sleep), or step 9 (Take no action) below for which default activeness you lot want to specify.

5 Default User Pick for Lid Close Activeness

This will allow users to utilise Choice Ane, Option Two, Option 3, and Option Four.

A) Select (dot) Not Configured, click/tap on OK, and go to step x below. (see screenshot beneath step 9)​

half-dozen To Specify "Hide" for Lid Close Action

This will override and grey out Choice One, Option Two, Option Three, and Choice Iv.

A) Select (dot) Enabled, select Hibernate in the Lid Switch Activity drop menu under Options, click/tap on OK, and go to pace 10 below. (meet screenshots below pace nine)​

vii To Specify "Shut downwards" for Lid Close Activity

This volition override and grayness out Option One, Choice Two, Choice Iii, and Option Four.

A) Select (dot) Enabled, select Shut down in the Lid Switch Action drop menu nether Options, click/tap on OK, and go to step 10 below. (see screenshots below stride 9)​

8 To Specify "Sleep" for Chapeau Shut Action

This will override and greyness out Option 1, Option Two, Pick 3, and Option Four.

A) Select (dot) Enabled, select Sleep in the Chapeau Switch Action drib carte du jour under Options, click/tap on OK, and go to step 10 below. (see screenshots below step 9)​

9 To Specify "Take no action" for Lid Shut Activeness

This will override and gray out Option One, Option Two, Option 3, and Option Four.

A) Select (dot) Enabled, select Take no action in the Lid Switch Action drib menu under Options, click/tap on OK, and go to footstep 10 beneath. (see screenshots below)​


Lid_close_action_gpedit-2.png

Lid_close_action_gpedit-3.png

10 When finished, you tin can close the Local Group Policy Editor if you like.

Option 6

Specify Lid Shut Action for All Power Plans using REG file

You must be signed in every bit an ambassador to use this option.

i Do pace two (default), step 3 (hide), step iv (shut downwards), step 5 (sleep), or step half-dozen (Have no action) below for which default action you lot want to specify.

 2. Default User Selection for Hat Close Action

This will let users to use Option I, Option Two, Choice Three, and Pick Iv.

A) Click/tap on the Download button you lot want below to download the plugged in AND/OR on battery file below, and go to footstep 7 below.​

Default_user_choice_for_lid_close_action-plugged-in.reg


(Contents of REG file for reference)

Code:

                Windows Registry Editor Version five.00  [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Power\PowerSettings\5CA83367-6E45-459F-A27B-476B1D01C936] "ACSettingIndex"=-              

AND/OR​

Default_user_choice_for_lid_close_action-on-battery.reg


(Contents of REG file for reference)

Lawmaking:

                Windows Registry Editor Version 5.00  [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Power\PowerSettings\5CA83367-6E45-459F-A27B-476B1D01C936] "DCSettingIndex"=-              

 3. To Specify "Hide" for Lid Close Action

This will override and gray out Choice One, Pick Two, Selection Three, and Selection Four.

A) Click/tap on the Download button you desire below to download the plugged in AND/OR on battery file beneath, and become to stride seven below.​

Specify_hibernate_for_lid_close_action-plugged-in.reg


(Contents of REG file for reference)

Code:

                Windows Registry Editor Version 5.00  [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Power\PowerSettings\5CA83367-6E45-459F-A27B-476B1D01C936] "ACSettingIndex"=dword:00000002              

AND/OR​

Specify_hibernate_for_lid_close_action-on-bombardment.reg


(Contents of REG file for reference)

Code:

                Windows Registry Editor Version v.00  [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Ability\PowerSettings\5CA83367-6E45-459F-A27B-476B1D01C936] "DCSettingIndex"=dword:00000002              

 4. To Specify "Shut downwardly" for Hat Close Action

This will override and grayness out Option Ane, Choice 2, Option Three, and Option Iv.

A) Click/tap on the Download button you desire below to download the plugged in AND/OR on battery file below, and become to step vii below.​

Specify_shut_down_for_lid_close_action-plugged-in.reg


(Contents of REG file for reference)

Code:

                Windows Registry Editor Version 5.00  [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Power\PowerSettings\5CA83367-6E45-459F-A27B-476B1D01C936] "ACSettingIndex"=dword:00000003              

AND/OR​

Specify_shut_down_for_lid_close_action-on-battery.reg


(Contents of REG file for reference)

Code:

                Windows Registry Editor Version v.00  [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Ability\PowerSettings\5CA83367-6E45-459F-A27B-476B1D01C936] "DCSettingIndex"=dword:00000003              

 five. To Specify "Sleep" for Lid Close Action

This will override and gray out Choice One, Option Two, Option Three, and Option 4.

A) Click/tap on the Download button y'all desire beneath to download the plugged in AND/OR on battery file beneath, and go to footstep 7 below.​

Specify_sleep_for_lid_close_action-plugged-in.reg


(Contents of REG file for reference)

Lawmaking:

                Windows Registry Editor Version 5.00  [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Power\PowerSettings\5CA83367-6E45-459F-A27B-476B1D01C936] "ACSettingIndex"=dword:00000001              

AND/OR​

Specify_sleep_for_lid_close_action-on-battery.reg


(Contents of REG file for reference)

Code:

                Windows Registry Editor Version 5.00  [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Ability\PowerSettings\5CA83367-6E45-459F-A27B-476B1D01C936] "DCSettingIndex"=dword:00000001              

 6. To Specify "Accept no action" for Chapeau Close Action

This volition override and gray out Option I, Pick Two, Option Three, and Selection Four.

A) Click/tap on the Download push button you want beneath to download the plugged in AND/OR on battery file below, and go to step 7 below.​

Specify_do_nothing_for_lid_close_action-plugged-in.reg


(Contents of REG file for reference)

Code:

                Windows Registry Editor Version 5.00  [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Power\PowerSettings\5CA83367-6E45-459F-A27B-476B1D01C936] "ACSettingIndex"=dword:00000000              

AND/OR​

Specify_do_nothing_for_lid_close_action-on-bombardment.reg


(Contents of REG file for reference)

Code:

                Windows Registry Editor Version v.00  [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Power\PowerSettings\5CA83367-6E45-459F-A27B-476B1D01C936] "DCSettingIndex"=dword:00000000              

seven Save the .reg file to your desktop.

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

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

10 You can now delete the downloaded .reg file if yous like.

That's it,
Shawn Brink

reedoribirlead.blogspot.com

Source: https://www.elevenforum.com/t/change-lid-close-action-in-windows-11.3356/

0 Response to "How to Change What Happens When I Close My Laptop"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel