Powercfg power button action Expand Sleep button action, and you should now see the new option available. Change Battery and Low battery action to Hibernate. How To Change Power Button Action on Windows PC or Laptop The physical power button functionality can be changed to sleep, hibernate, shut down, turn off the display, or do absolutely nothing when it is pressed. Once we have those, we can form the correct command line argument and execute it via Mar 5, 2020 · I would go with powercfg as Llafor suggested. I am running Windows 11 and none of those options work either. For example: Feb 9, 2025 · Sleep Timeout is the time period after which your computer enters energy-saving sleep mode. This guide offers insights into a PowerShell script ideal for IT professionals and MSPs. This guide will help you get the most out of your Windows 11 PC. This is my script: #Set High Performance plan powercfg /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c #Set Lid Close Action to shut down powercfg -SetACValueIndex 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c SUB_BUTTONS LIDACTION 3 powercfg -SetDCValueIndex 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c We use control panel power settings. This is the important first step. Run powercfg -getactivescheme and note the scheme UID. cpl and press Enter. Lid Open Action Missing From Power Options FixCommand Used: powercfg -attributes SUB_BUTTONS 99ff10e7-23b1-4c07-a9d1-5c3206d741b4 -ATTRIB_HIDEIf the Laptop L Jun 26, 2023 · In this video tutorial, we will guide you How to Fix Windows 11/10 Lid Open action Missing From Power Options. However, I cannot find "Lid open action" in control panel. Jul 5, 2017 · The configuration can be done with the classic Control Panel, using the Power Options applet, or with the console tool powercfg. Knowing the differences and advantages between suspending, hibernating, and Oct 10, 2024 · How to choose action when pressing power button on Windows 11 As part of the power option, it's also possible to change the behavior of the power button to sleep, hibernate, or shut down when pressed. Apr 10, 2020 · Specifies the action to take when the sleep power button is pressed. com Mar 13, 2022 · This tutorial will show you how to change the default action to take when pressing the power button in Windows 10 and Windows 11. cpl. Your Sincerely Sep 16, 2025 · To enable hibernate on Windows 11, run the "powercfg /hibernate on" command, and on Control Panel's Power Options enable Hibernate for Start. Users can specify one of the following actions to take: Do Nothing = Apr 10, 2020 · Specifies the type of system shutdown that occurs when the system power button is pressed if the power button action is set to Shut Down. sh that the power button generates PBTN ACPI events: by pressing on this hardware button, I can see the script returns values like PBTN ; if I press instead on the volume button, I see likewise Volume_Down so it all seem to work at least for the detection! But now I would like to "observe" these reactions on Windows 11 instead of Ubuntu 22 Nov 22, 2024 · Press Win + R, type powercfg. The simplest method would be to use the POWERCFG Command, to change the Lid Action for the Current Power Plan. May 8, 2018 · I’m going to show you how to use the powercfg command to find out info on your power plan. I did this pretty quick. They go back to the presets on their own. Oct 20, 2025 · Learn how to add or remove the ability to change the action when your laptop lid is closed, troubleshoot common issues, and optimize laptop power usage. You should get something like this: Existing Power Schemes (* Active Mar 19, 2022 · The Enable forced button/lid shutdown power plan setting in Power Options specifies the type of system shutdown that occurs when the lid is closed or the power button is pressed if the Lid close action and/or Power button action is set to Shut down. Question: Using a GPO (GPO setting, registry value, or script), how can I set the Power button action to Turn off the display? Aug 5, 2025 · To change the power button action in Windows 11, use the Settings app, Control Panel, Windows PowerShell, Group Policy, and the Registry. Jun 30, 2016 · 5. com) but it doesn't have an effect on that setting. Sep 2, 2025 · Discover how to optimizee Windows power settings for efficiency. Apr 18, 2015 · The Windows 10 Hibernation is a power-saving state designed primarily for laptops. What I've seen in Windows 8. cpl, and press Enter to open Power Options. If you run powercfg /QUERY | Select-String "(Power button action)" -Context 0,12 in PowerShell does it also not contain "turn off the display" in the list? If it's in the list using the powercfg interface to change the setting would be the far better way to do it as it will always work, the registry keys for power settings are a bit different Jul 3, 2025 · Available options for the power button and lid action Windows offers four main options for defining the behavior of both the power button and the lid close button: Do nothing: The device continues to operate normally even if you close the lid or press the button, ideal for working with external monitors or keeping processes active. For more information on how to use this tool, see Powercfg command-line options. In the PowerShell window, type the following Windows プロビジョニング: Common\Power\Policy\Settings\Button\PowerButtonAction PowerCfg: PBUTTONACTION GUID: 7648efa3-dd9c-4e3e-b566-50f929386280 非表示の設定: はい I know this isn't technically a Powershell question, but this seemed like the likely place to get answers. 1 is that when the lid action is changed for a power scheme, then that power scheme must be both the active and the preferred power scheme. exe tool to control power schemes by providing the GUID or alias for the setting. SCHEME_MAX (Max power saving), SCHEME_BALANCED, SCHEME_MIN These can be used in Oct 3, 2025 · Note This policy does not override powercfg configuration and has no effect on the device if Hibernate is disabled using either of the following methods: Running the command powercfg /hibernate off. Thanks. Select Change settings that are currently unavailable. In this article, we will share a step-by-step guide on changing the power button action in Windows 11. Jun 23, 2022 · Are you confused about how to change the power button in Windows 11? If yes, you are at the right place. Apr 22, 2022 · After executing the command: powercfg -setdcvalueindex SCHEME_CURRENT SUB_BATTERY BATACTIONCRIT 0 I was able to check and see the power setting from setting side, Battery value was changed into Critical Battery Action into DO NOTHING. I am looking to set a default power plan when imaging machines via SCCM. Will also attempt to report reasons why sleep states are unavailable. Oct 23, 2024 · Use Powercfg. Users can specify one of the following actions to take: do nothing, sleep, hibernate, shut down, or turn off the display. Advanced Power Options Settings. Run in Command Line or PowerShell. But the solution works by setting up group policy editor. The prompt supposedly is: powercfg -attributes SUB Nov 5, 2020 · The default featured power plans are Balanced and Power Saver. Now, in the Power Options window, click on “ Power buttons and lid ” to expand it. Previously I was able to set the power button, sleep button and closing the lid to "Do Nothing" using powercfg. May 10, 2024 · How to Change the Keyboard Power Button Settings This section deals with changing your system’s action if you press your keyboard’s power button. Mar 19, 2022 · Disable or enable lid open action using POWERCFG Open Command Prompt as administrator on your Windows 11/10 PC. See full list on windowscentral. Jun 4, 2023 · Type powercfg. #lid switch close action do nothing powercfg /setacvalueindex SCHEME_CURRENT 4f971e89-eebd Apr 5, 2024 · No "Power buttons and lid" option in Control Panel\Power options Jimmy59601 Apr 5, 2024 balanced mode control panel galaxy book lid open action power options power settings powercfg samsung mode uefi windows 11 Apr 10, 2020 · Specifies the action to take when the system lid is closed. The lid switch close action specifies the action to take when the system lid is closed. Open a CMD window as an administrator. Make note of the GUID value, like 8c5e7fda-e8bf-4a96-9a85 Under Linux Ubuntu 22. My problem lies in my powerplan section. Double-click on Power buttons and lid to expand it. Hey everyone! I'm running through a pretty simple settings checklist script and just hit probably one of the ugliest things I've had to work around. 3. Working on a script and cant find the right settings to change to what I need I wanna setup a script where the power settings should be: Battery=Shut… Jul 14, 2023 · If you have upgraded to Windows 11, the close lid action is set to ‘Sleep’ by default. Want Immybot to have ability to manage this setting similar to other power settings. It's done. Feb 3, 2016 · Run a command prompt as administrator. PowerCFG. But it’s even easier to do this from the Power Options window using the Power buttons and lid action settings. Aug 24, 2020 · Tutorial updated to add options 5 and 6 to specify default power button action via group policy. Use the powercfg -list option to view the GUIDs for the different power plans on the Windows installation. Nov 30, 2023 · Windows 11 allows users to easily modify the power button’s behavior (e. 1. First, click on the Windows 11 Search and type in Control Panel. Select the Power Button Action (Plugged In): Specifies the action that Windows takes when a user presses the power button. Jun 15, 2021 · The Power button action setting in Power Options lets users specify the default action to take when the system hardware power button on the PC is pressed. Possible actions include Take no action, Sleep, Hibernate, and Shut Down. There are many ways to change the power button settings. . Feb 14, 2025 · Learn how to customize your power button settings in Windows 11 with our easy step-by-step guide, enhancing your device's functionality and convenience. This will list all available commands 3 – type powercfg /list . Modifying the HibernateEnabled value to 0 in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power registry key. Type or paste ‘powercfg -h off. Run powercfg -q <scheme_guid> <sub_guid> and note the UID for "Sleep button action" power setting. I've followed the steps here (option 3 and 4), How to Change Default Lid Close Action in Windows 10 | Tutorials (tenforums. The power button action setting lets users specify the default action to take when the system hardware power button on the PC is pressed. Feb 3, 2025 · How to set what happens when you close the laptop lid using PowerCFG Powercfg is a useful utility if you need to change the power setting quickly across the profile without opening the interface. g. The easiest way to open the Run window is to press Windows key+R. Template Name: Device restrictions. Users can specify one of the following actions to take: do nothing or turn Dec 28, 2021 · How to Add or Remove 'Sleep after' from Power Options in Windows The Sleep after setting in Power Options allows users to specify how long in minute the computer is inactive (idle) before automatically going to sleep. I have tried the fix - powercfg -attributes SUB_BUTTONS 99ff10e7-23b1-4c07-a9d1-5c3206d741b4 -ATTRIB_HIDE however that doesn't work. Am otherwise looking into using Group Policy. Feb 7, 2015 · You can find the GUIDs for subgroups and power settings as well as the index values for each power setting by running a query command with your scheme GUID: powercfg -Q 381b4222-f694-41f0-9685-ff5bb260df2e Apr 11, 2024 · To change the power button action on Windows 11, open Settings > System > Power and change Power button controls or Control Panel older OSes. Syntax powercfg [Options] Options /AvailableSleepStates /A Report the sleep states available on the computer. Scroll down and click on “Power and Shutdown Button Settings”. Nov 28, 2017 · How to customize power button action when pressed on Windows 10 You can change the default action of your PC's power button, and in this guide, we'll show you how to do it. May 5, 2021 · Configuring Intune Power Settings Policy to configure screen, sleep and hibernate timeouts, hard disk power settings Rem UI Power Button action (0=sleep, 1=hibernate, 2=shutdown) Powercfg -SetACValueIndex %GUID% 4f971e89-eebd-4455-a8de-9e59040e7347 a7066653-8d6c-40a8-910e-a1f54b84c7e5 2 Powercfg -SetDCValueIndex %GUID% 4f971e89-eebd-4455-a8de-9e59040e7347 a7066653-8d6c-40a8-910e-a1f54b84c7e5 2 Rem monitor timeout (minutes) Powercfg -Change Monitor-Timeout-AC 0 May 9, 2023 · Laptop: MSI Summit E13 Flip Evo A12MT-014NL OS: Windows 11 Windows will not start up when opening lid. To change to close lid action, go to Control Panel > Power Options > Change plan settings > Change advanced power settings and scroll down to find the ‘Power button and lid. Users can specify one of the following actions to take: do nothing, sleep, hibernate, or shut down. cpl "Power Options" directly through registry. For a long time we've using a bat file with powercfg commands but it doesn't seem to be setting the "Choose what closing the lid does" setting. The last setting controls the power button located on the Start menu. Click the Change plan settings option next to your power plan. The goal is to set the Lid settings to Do Nothing when you close the lid while plugged in. You can switch its functionality to something that you very frequently use such as hibernating your PC instead of sleeping to conserve its battery life, and so on. Apr 10, 2020 · Specifies the action to take when the system power button is pressed. #Try resetting your power settings to defaults: Open PowerShell with administrator rights. Feb 5, 2025 · On Windows 11, you can use the PowerCFG tool to control the power settings from Command Prompt, and in thig guide, I'll show you how. Learn how to add or remove these hidden Power Options to balance performance and battery life. If the results are accurate now, you can set your preferred lid close action and potentially the issue might be resolved. Apr 10, 2020 · Aliases and setting visibility Windows provisioning: Common\Power\Policy\Settings\Button\LidOpenWake PowerCfg: LIDOPENWAKE GUID: 99ff10e7-23b1-4c07-a9d1-5c3206d741b4 Hidden setting: Yes Current AC power setting index: 0x00000001 Current DC power setting index: 0x00000001 Feb 20, 2025 · There are several Power Option settings available in Windows 11/10. Let me know if I missed something. Jan 22, 2021 · I want to change powercfg. Let’s delve in. Mar 6, 2020 · I would go with powercfg as Llafor suggested. Now the power button will execute the function you have selected. 1 – Open a command window as admin. The active power plan has * to the right of its name. Apr 4, 2025 · Run this command: powercfg -attributes SUB_BUTTONS 99ff10e9-0bdb-43f2-9a98-17f7b86b7a00 -ATTRIB_HIDE Now go back to: Control Panel > Hardware and Sound > Power Options > Change plan settings > Change advanced power settings Expand Power buttons and lid > You should now see Lid open action. I already found something for the good old CMD but nothing yet for Apr 22, 2022 · After executing the command: powercfg -setdcvalueindex SCHEME_CURRENT SUB_BATTERY BATACTIONCRIT 0 I was able to check and see the power setting from setting side, Battery value was changed into Critical Battery Action into DO NOTHING. Also see if there are any driver and especially BIOS updates available. By default, pressing the power button may simply put your device to Sep 10, 2025 · One great way is to change the power plan settings. If You Found This Video Helpful Jan 9, 2017 · Powercfg must be run from an elevated command prompt. While sleep puts your work and settings in memory and draws a small amount of power, hibernation puts your open documents and programs on your hard disk, and then turns off your computer. Jun 19, 2021 · Current AC Power Setting Index: 0x00000000 Current DC Power Setting Index: 0x00000000 UPDATE: I just ran powercfg -attributes SUB_BUTTONS 5ca83367-6e45-459f-a27b-476b1d01c936 -ATTRIB_HIDE from an adminstrator command prompt and now (Lid close action) appears in the powercfg output as below. Jun 30, 2024 · Power Configuration or powercfg. Knowing how to change what the power button does in Windows 11 will help you save time. If PreferredPlan is set to a different power plan, Windows displays Balanced and the specified plan. What options do I have to configure the power button in Windows 11? This tutorial will show you how to add or remove the Lid open action setting under Power buttons and lid in Power Options for all users in Windows 10 and Windows 11. Here are the commands I am currently suing. We will review all of these methods. Run powercfg -q <scheme_guid> and note the UID for "Power buttons and lid" subsection. Dec 16, 2021 · 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, Windows 10, and Windows 11. Specifically I want to change this: To these settings: I am using a desktop computer on alternating current power, Jun 13, 2024 · I’m trying to write a powershell script for setting up new company laptops. exe tool to control power schemes (also named power plans) to use the available sleep states, to control the power states of individual devices, and to analyze the system for common energy-efficiency and battery-life problems. The most common cause of problems with power saving/hibernation is an incompatible device driver, diagnose this by disabling each device in turn (with /DeviceDisableWake) Dec 12, 2014 · And a bit of the relevant output from powercfg -query: Subgroup GUID: 4f971e89-eebd-4455-a8de-9e59040e7347 (Power buttons and lid) GUID Alias: SUB_BUTTONS Power Setting GUID: 5ca83367-6e45-459f-a27b-476b1d01c936 (Lid close action) GUID Alias: LIDACTION Possible Setting Index: 000 Possible Setting Friendly Name: Do nothing Possible Setting Index Feb 24, 2020 · 2) One step back -> Change plan Settings -> Change Advanced Power Settings -> Power button and Lid -> Power button action (says Shutdown!) Line two shows the correct value. Type the following command to change the default action for the power button and press Enter: To change the default action when your computer is plugged in, use the following command: powercfg -setacvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 0 Jun 5, 2014 · The four settings allow you to define the actions performed when the user presses the power or sleep button or, when the user closes the lid of the computer. Read more. I'd like to change what the power button does as well as changing what closing the lid does. Options include do nothing, sleep, hibernate, shut down, or simply turn off the display, and can be easily customized from the Control Panel, advanced settings, and even using commands. Nov 28, 2017 · Open Start. Understanding Power Button Actions Before diving into the details, it’s crucial to understand the various actions that a power button can perform in Windows 11. This article will guide you to change when I close the Lid option using Powercfg Command. e. Change the default Power button action to shut down, hibernate, or sleep your Windows 11 computer. Dec 13, 2021 · This tutorial will show you how to change the default action to take when opening the lid of your laptop in Windows 10 and Windows 11. Jul 13, 2023 · Learn how to manage and configure Power Options using Intune for Windows Devices. I found this powershell script that Mar 14, 2022 · This tutorial will show you how to change the default action to take when pressing the sleep button in Windows 10 and Windows 11. I checked my actual power control in Windows settings to see that the lid action is present (it is), and I tried using various powershell commands I found online to change it (even checked the registry) and none of them seem to affect each other. exe powercfg. or create a new plan that has the options you want. For this example, we just need to know the GUIDs for the “Power Button & Lid Settings” & the “Lid Switch Close Action”. Oct 29, 2024 · Task: Set-PowerPlan (official) What: Add Power Button Action Add Sleep Button Action Why: End users bump the power/sleep buttons, causing machine to go offline/unreachable in Immybot. Jan 3, 2023 · In this post, we will show you how to change the Power button action when it is on battery or plugged in, in Windows 11/10, using Local Group Policy Editor or the Registry Editor. Type and run the powercfg /L command to list the available power schemes. Users can May 30, 2022 · But did you know that there is a way to disable power button in Windows 11. It is especially useful for laptops that run on Mar 19, 2022 · The Enable forced button/lid shutdown setting in Power Options lets users turn on or off to perform a forced shutdown when the lid is closed or the power button is pressed if the Lid close action and/or Power button action is set to Shut down. If you go with powercfg, first set up your Power Plans in Control Panel. Here's a Powershell script to change them and the lid action: Apr 11, 2024 · To change the power button action on Windows 11, open Settings > System > Power and change Power button controls or Control Panel older OSes. サブグループ: 電源ボタンとカバーの設定 GUID: 4f971e89-eebd-4455-a8de-9e59040e7347 Windows プロビジョニング パス: Common\Power\Policy\Settings\Button PowerCfg エイリアス: SUB_BUTTONS 非表示設定: はい. I tried "powercfg -attributes SUB_BUTTONS… This tutorial will show you how to add or remove the Lid open action setting under Power buttons and lid in Power Options for all users in Windows 10 and Windows 11. I have spent enough time on it up to this point so tagging you in. It appears to be set properly. Hi. With simpler methods, the changes apply to the current plan, while with Gpedit. Hello, I want to create a script using Powershell to set a default power plan. The general lack of complete documentation about these things, the fact that the Microsoft PowerCfg documentation doesn't explain this, is the reason for this Windows 预配: Common\Power\Policy\Settings\Button\PowerButtonAction PowerCfg: PBUTTONACTION GUID:7648efa3-dd9c-4e3e-b566-50f929386280 隐藏设置:是 May 8, 2025 · Personalizing the Power Button Action on Windows 11 So, you’ve got a Windows 11 device and want to tweak how that physical power button works? May 5, 2021 · How to Change Default Lid Close Action in Windows 10 The Lid close action setting in Power Options lets users specify the default action to take when the laptop (system) lid is closed. control. exe to control power schemes You can use the powercfg. In the new window, locate and expand Power buttons and lid. Dec 15, 2023 · 1. Jun 3, 2022 · There are many ways of doing so, such as: Through Power Options Using the Power Options is always the usual method of making any changes to your power settings. What is the easiest way to get the devices to never sleep, never turn off, etc. Oct 4, 2021 · Change or Configure Hidden Power Options in Windows 10 Overview: Today we will learn how to configure various basic Power Options you can try to improve power efficiency that impacts battery life and the overall performance of your Windows 10 device. Step 7: You can now see 'open lid action' option there. Aug 5, 2025 · The power button action can be changed via different methods, including the Settings, Control Panel, and Windows PowerShell. Sep 11, 2025 · In this guide, I’ll show you how to change the power button behavior in Windows 11, whether you want it to shut down, sleep, hibernate, or do nothing. Search for Command Prompt, right-click the result, and select Run as administrator. Please keep in mind I am not generally Powershell Savvy and am definitely no expert. Platform: Windows 10 and later > Profile type: Templates. Select the Change advanced power settings option. powercfg -attributes SUB_BUTTONS 99ff10e7-23b1-4c07-a9d1-5c3206d741b4 -ATTRIB_HIDE Powercfg allows you to manage and customize all aspects of power in Windows across the line of commands. 04, I can see with acpi_listen. Users can Dec 15, 2021 · You can use the powercfg. Intune admin center > Devices > Configuration > Create > New Policy. Optional, change Power button action to Hibernate. Just in case who anyone knows how this is fixed. Do Nothing = No action is taken when the power button is pressed. Mar 14, 2022 · How to Add or Remove "Sleep button action" from Power Options in Windows The Sleep button action setting in Power Options lets users specify the default action to take when the system hardware sleep button (if available) on the PC is pressed. Navigate to Settings, System, Power & sleep and Additional power Nov 1, 2023 · I have an HP Probook 450 G9 and it does not have a 'open lid to turn on' laptop option. Click Change plan settings for your current power plan. Let’s check out. Detailed reports can be generated on battery life, energy efficiency, and devices that affect power consumption. In power settings (change plan settings; change advanced power settings) there is NO option to adjust this. Current Power Plan - Lid Close Action - Sleep (On Battery): powercfg -setdcvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 1 Sep 1, 2025 · In this blog post, we will see how to configure power options using Intune on Windows 10/11. Includes options to automate and optimize energy settings in both home and business environments. See how! Feb 6, 2024 · Select “Power & Battery” from the left menu. The sleep button action setting lets users specify the default action to take when the system hardware sleep button (if available) on the PC is pressed. Jan 29, 2020 · powercfg -setacvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 Index Substitute Index in the command above with the number below for the default action you want set for closing the lid. cpl, go to “Choose the behavior of the power buttons” and verify that the button action is “Shut down” (and not “Restart” or “Sleep”). Click Choose what power buttons do. Select the desired action for pressing the power button when the device is plugged in and when it's on battery. You must be signed in as an administrator to be able to add or remove this setting in Power Options. exe is a command-line tool in Windows that allows you to configure power system settings on a Windows 11/10 PC. In the Power Options window, click on Choose what power buttons do. I have tried every single power option and you can't just set it via intune. This tutorial will show you how to change the default action to take when closing the lid of your laptop in Feb 9, 2021 · On Windows 11, you can use the PowerCFG tool to control the power settings from Command Prompt, and in thig guide, I'll show you how. Including the button behaviour. /Aliases Display aliases and their corresponding GUIDs. From accessing system settings to understanding the nuances of power options, this article aims to provide a detailed understanding suitable for both beginners and advanced users. Either change “High Performance” to have the settings you want, like power buttons do nothing, no sleep, etc. msc or Registry, it’s across all power plans. If you want to change the options for the power button on the GUI (e. Select Change advanced power settings. Any help would In powercfg. May 10, 2025 · In this article, we’ll explore five helpful tips to change the power button action in Windows 11, helping you tailor your device to your specific requirements. Howdy, Running into some weirdness with setting up the Power Plan on newer versions of Windows 10. 2. I hope this helps. There are different places on Intune admin center for creating a power option policy. Dec 10, 2018 · The rest of the code is fairly straightforward - find out the GUIDs that associate to the setting you want to configure (detailed documentation exists that will provide that for you). These methods have different precedence. Now, click on “ Lid open action ” and then click on “ On battery: ” and from the drop-down select what settings you want to enable on your computer. , Start Menu), head over to the next section. If there is anything not clear, please do not hesitate to let me know. Using PowerShell and WMI I want to set the "High Performance" power plan's "Lid close action", "Power button action" and "Sleep button action" to the "Do nothing" option and finally set the active power plan to the "High Performance" power plan. The lid open wake action specifies the action to take when the system lid is opened when waking (resuming) from sleep, hibernate, or modern standby. On the internet you can read that you have to change in RUN (command prompt) the option, so the 'Lid open action' option will show up. Copy – paste this command and hit Enter. 4. Then check what your Power Plans are: powercfg /list Existing Power Schemes Feb 6, 2025 · The comprehensive guide on the powercfg command for Windows, detailing syntax, availability, and practical examples to manage and customize power settings. Here’s what you need to do to change the power menu options: Open Run and enter powercfg. Jan 23, 2024 · Im attempting to change power plan settings on a windows 11 machine. Not that it necessarily needed… but just incase - here’s what my current powerplan section looks Feb 27, 2022 · If Laptop Lid Open Action is missing in Windows 11/10, then you can Enable Lid Open Action using POWERCFG. CC: @DimitriRodis (original author?) @DarrenDK : Any other user should @ mention for “PR”? Is there better way to subnit Learn how to change the power button settings on Windows 11, including the power button action, sleep mode settings, and more. It creates a brand new power plan with specific settings that I want to apply through Computer>Preferences> Control Panel> Settings> Power options> Power plan > Create power plan and the options I want. Type powercfg. Jul 7, 2024 · Press Win + R to open Run. Any Jul 14, 2025 · Still in Command Prompt, you can set the default power button action or add Hibernate to the Power menu. Disable hibernate in Windows 10 To disable hibernate in Windows 10, we just do the reverse. Please help!~ This can't be the only option Allow HibernateAllowEnergy Saver Battery Threshold On Battery0Energy Saver Battery Threshold Plugged In0Select Lid Close Action Jul 12, 2023 · Here is the relevant setting in powercfg though it isn't working as I switched users: Subgroup GUID: 4f971e89-eebd-4455-a8de-9e59040e7347 (Power buttons and lid) GUID Alias: SUB_BUTTONS Power Setting GUID: 5ca83367-6e45-459f-a27b-476b1d01c936 (Lid close action) GUID Alias: LIDACTION Possible Setting Index: 000 Possible Setting Friendly Name: Do Mar 7, 2025 · In This Video You Will Find How To Fix Laptop Lid Open Action Not Found and Missing From Power Options in Windows 11 / 10 ️. Expand Lid close action. Jan 13, 2020 · After that, scroll down to 'Power Buttons and Lid,' and then expand it by clicking on '+' button. Sep 16, 2025 · To enable hibernate on Windows 11, run the "powercfg /hibernate on" command, and on Control Panel's Power Options enable Hibernate for Start. So read carefully and pick one Current AC Power Setting Index: 0x00000000 So that's the power button setting, but no lid setting. The machine I'm currently testing with is on 2009. When i change settings with option 1 , these are not stored. cpl in the Open field and press Enter. Choose the action you want for the power button, such as shutdown, sleep, or hibernate. Use the drop-down menus next to On battery and Plugged in to select your preferred action. The active power scheme can be set by PowerCfg, and the preferred power scheme can be set by registry. Does everyone else still use powercfg queries and then convert the hex values that are returned? Please tell me someone has a better way of doing this Thanks in advance! Try powercfg -attributes SUB_BUTTONS LIDACTION -ATTRIB_HIDE from an elevated command prompt, reboot and check. exe Control power settings, configure Hibernate/Standby modes. You Does anybody know the required Registry settings to to cause a Windows 7 system to shutdown when the power button is pressed, and when the lid is shut? Powercfg doesn't seem to be able to do that. However, some users have been complaining that they can’t find the Power buttons and lid action in the Power Options window anymore. turn the device on/off, put it into sleep/wake or hibernation mode) directly from the Windows Settings app instead o… Mar 19, 2022 · Change the Power Button Action in Windows 11 So, if you are interested in changing the Power button action in Windows 11, you are reading the right guide. ’ Apr 1, 2024 · Suggestions: #Try temporarily changing the lid close action back to the default setting (usually "Sleep") and then run powercfg /Qh again. Set Lid Close Action for Specific Power Plan in Command Prompt Open a command prompt. Once the command prompt is open, just type the command line below and hit enter to run it. 🗎 COMMAND TEXT powercfg -attributes SUB_BUTTONS 99ff10e7-23b1-4c07-a9d1-5c3206d741b4 -ATTRIB_HIDE ⁉️ If You Faced Any Problem You Can Put Your Questions Below ️ In Comments And I Will Try To Answer Them As Soon As Possible . powercfg -attributes SUB_BUTTONS 99ff10e7-23b1- May 5, 2021 · Here's how you can specify the default close lid action for the specific Power Plan using the command prompt and powercfg. Jul 26, 2024 · I'm building a GPO that modifies the power settings. Using Intune Settings Catalog, you can configure device power options. Enabling any of these policy settings gives you a choice of Hibernate, Shut down, Sleep, or Take No Action. cpl,,3 3. You can change Sleep Timeout using PowerCFG in Windows 11/10. Jun 28, 2022 · ECHO Default Power Button Action powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 3 Dec 13, 2021 · This tutorial will show you how to change the default action to take when closing the lid of your laptop in Windows 10 and Windows 11. This video walks you through the steps to customize the action when pressing the power button or closing the lid on your laptop on Windows 11 24H2 and version 23H2 using the Settings app and This Tutorial Helps to Fix Power Button and Lid Actions are Not Available On Windows 10 powercfg -attributes SUB_BUTTONS 99ff10e7-23b1-4c07-a9d1-5c3206d741b4 -ATTRIB_HIDE #PowerButtonandLidActions Jun 17, 2025 · I want to turn off the action of "turning on from sleep" in the windows 11 running on surface pro x. Lid Open action Missing from Power Options Fix powercfg -attributes SUB_BUTTONS 99ff10e7-23b1-4c07-a9d1-5c3206d741b4 -ATTRIB_HIDE HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power May 17, 2019 · The following elevated CMD command only shows visible GUID's from the power options window: powercfg /q There seemed to be a discrepancy with normal powercfg exports on the net and tweaked configurations posts and full powercfg posts. Dec 16, 2021 · How to Add or Remove "Lid open action" from Power Options in Windows 10 In Windows 10 version 1607 and later, the Lid open action setting (if supported) in Power Options lets users specify the default action to take when the laptop (system) lid is opened when waking (resuming) from sleep, hibernate, or modern standby. Jul 3, 2025 · In this comprehensive guide, we’ll walk you through the step-by-step process of changing what the power button does in Windows 11. 2 – type powercfg -help . Then check what your Power Plans are: powercfg /list Existing Power Schemes Nov 11, 2016 · Thanks for all your help - this is what I have ended up with configure your power plan as required (or create a new one) open cmd prompt powercfg /l - this lists the current power plans export power plan- see Power Plans - Export and Import - Windows 7 Help Forums then, in a batch file, import the powerplan and then set the action of the buttons and set the imported plan as active set myguid 4 I'm new to Windows power management and even newer to WMI, but always welcome a learning opportunity. Jul 18, 2025 · Windows allows you to adjust how you press the power button or close the lid based on battery, power, or external device usage.