Table of Contents
How to change what the power button does in Windows 11?
1. Using Control Panel
2. Prompt via settings
3. Press to open Run through Windows PowerShell
Windows
5. Use the Registry Editor
Home Common Problem Change the power button action on Windows 11 [5 Tips]

Change the power button action on Windows 11 [5 Tips]

Sep 29, 2023 pm 11:29 PM
button power supply click

更改 Windows 11 上的电源按钮操作 [5 提示]

The power button can do more than shut down your PC, although this is the default action for desktop users. If you want to change the power button action in Windows 11, it's easier than you think!

Keep in mind that the physical power button is different from the button in the Start menu, and the changes below will not affect the operation of the latter. Additionally, you'll find slightly different power options depending on whether it's a desktop or laptop.

Why should you change the power button action in Windows 11?

If you put your computer to sleep more often than you shut it down, changing the way the hardware power button (that is, the physical power button on your PC) behaves. The same idea applies to sleep mode or simply turning off the display.

Changing the power button settings in Windows 11 will simplify things and make it easier to use your PC in a personalized way.

How to change what the power button does in Windows 11?

1. Using Control Panel

  1. Press to open the Search menu, type "Control Panel" in the text field, and then click on the relevant search result. WindowsS
  2. Click "System and Security". 更改 Windows 11 上的电源按钮操作 [5 提示]
  3. Click Change what the power button does under Power Options in Windows 11.
  4. Now, select from the drop-down menu how you want your computer to behave when you press the power button to use battery and to plug in power at the same time. Typically available options are:
    • Do nothing: Do not perform any actions
    • Sleep: The computer enters sleep mode (on laptops Default setting)
    • HibernateHibernate: The computer enters hibernation mode
    • Shutdown: The computer shuts down (default setting on desktop computers)
    • Turn off Monitors: Power off all attached monitors 更改 Windows 11 上的电源按钮操作 [5 提示]
  5. When finished, click at the bottom to save changes .

The settings here may be different for users. For example, when I turn off the lid settings for laptop users, there will be an extra setting. Likewise, some may find the "Turn off display" option missing if their computer doesn't support the S3 standard and has modern standby, which is the newer of the two.

Also, the "Battery Powered" setting is only available for desktop users with a UPS connected. Remember, any changes you make through the control panel only apply to the current power plan.

2. Prompt via settings

更改 Windows 11 上的电源按钮操作 [5 提示]These settings are currently available in preview builds and will be rolled out to regular users soon. Update window and check. If you still can't find them, try other options.

  1. Press to open the Settings app and click Power & Battery to the right of the System tab. WindowsI更改 Windows 11 上的电源按钮操作 [5 提示]
  2. Expand the "Power Button Control" entry.
  3. Now, select the desired function from the drop-down menu next to Pressing the power button will put my PC in plugged in and battery state.

3. Press to open Run through Windows PowerShell

  1. , type PowerShell, and then press . Windows#RCtrlShiftEnter更改 Windows 11 上的电源按钮操作 [5 提示]
  2. Place an order at the UAC prompt Click "is".
  3. Now, paste one of the following commands and click, depending on the power button action you want to force in Windows 11: Enter
    • Use Battery ;

      powercfg -setdcvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 1<strong></strong>powercfg -setdcvalueindex SCHEME_CURR ENT 4f971e89- eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 2<strong></strong>powercfg -setdcvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e734 7 7648efa3-dd9c-4e3e-b566- 50f929386280 3<strong></strong><strong>Inserted: </strong> Do nothing: Sleep: Hibernate: Shutdown:

    • powercfg -setacvalueindex SCHEME_CURRENT 4f971e89-eebd -4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 0<strong></strong>

      powercfg -setacvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 76 48efa3-dd9c-4e3e-b566-50f929386280 1<strong></strong>##powercfg -setacvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 2<strong></strong>powercfg - setacvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 3<strong></strong><strong></strong>Enforced via PowerShell Changes only apply to the current power plan. You can select another power plan and execute commands to modify it. 更改 Windows 11 上的电源按钮操作 [5 提示]

    • 4. In the Local Group Policy Editor
press to open "Search", type

"Local Group Policy Editor

" in the search bar, and then Click on the relevant result.

Windows

    S
  1. <strong></strong>Expand "Administrative Templates" under "Computer Configuration" and select "System".
  2. Now, select Power Management from the left and then Button Settings under it and double click to select Power Button Action (Plugged In) or select Power Button Action from the right (using Battery) to configure these two settings 更改 Windows 11 上的电源按钮操作 [5 提示].
  3. Select Enabled in the upper left corner, select the desired configuration from the Power Button Action drop-down menu, and click Apply更改 Windows 11 上的电源按钮操作 [5 提示] and OK to save changes .
  4. <strong></strong>You'll also find policies for other settings here, including lid closure (if it's a laptop). If you don't have the local Group Policy Editor on your PC, check the OS version and if it's Windows 11 Home, install gpedit.msc manually. Keep in mind that these changes will be reflected in all power plans.

    5. Use the Registry Editor

    1. Press to open "Run", type regedit in the text field, and then click "OK". WindowsR更改 Windows 11 上的电源按钮操作 [5 提示]
    2. Click "is" at the UAC prompt.
    3. Go to the following path from the navigation pane or paste it into the address bar and click: Enter<strong>HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Power\PowerSettings\ 7648EFA3-DD9C-4E3E-B566-50F929386280</strong>更改 Windows 11 上的电源按钮操作 [5 提示]
    4. #If you cannot find the key or DWORD below, right-click the entry before it in the path and hover your cursor On "New" and select "DWORD (32-bit) Value" or "Key" as appropriate.
    5. To change the power button function in Windows 11, right-click the DCSettingIndex DWORD and select Modify.
    6. Replace Value Data with the value provided below for the desired setting:
      • Sleep: 1
      • Hibernate :2
      • Shut down:3
      • Do nothing:0
    7. To change Power button behavior for powering on in Windows 11, right-click the ACSettingIndex DWORD and select Modify.
    8. Paste the relevant value into the Value Data text field to configure the power button action settings:
      • Sleep: 1
      • Hibernate : 2
      • Shut down : 3
      • Do not perform any operation : 0
    9. ## When finished, click OK to save the changes and then restart your computer to apply the new power button action.
    10. 更改 Windows 11 上的电源按钮操作 [5 提示]
    What else can I do with the power button in Windows 11?

    The power button's range is limited in Windows, primarily related to shutting down the computer and putting it into sleep and hibernation modes.

    You can also turn off the display, but this feature only exists on older systems that are compatible with the S3 power state. However, you can manually enable S3 sleep state in Windows.

    If you're wondering about UI changes, removing the power button from the logo screen is easy!

    Once you learn how to change the behavior of the soft power button in Windows 11, personalization will take a whole new level. For more seamless operation, you can create a shutdown shortcut and shut down your PC quickly.

    Finally, users have reported issues with power modes, specifically the lack of power plans in Windows 11. Running the built-in troubleshooter or updating your drivers usually solves the problem!

The above is the detailed content of Change the power button action on Windows 11 [5 Tips]. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to enable or disable DLNA on Windows 11 How to enable or disable DLNA on Windows 11 Sep 28, 2023 pm 11:05 PM

DLNA streaming has been around for a long time and is considered one of the more user-friendly options. Given its compatibility with a variety of devices and systems, you shouldn’t have problems connecting to one. So, let us understand how to enable DLNA in Windows 11. There are two methods, use the built-in Windows DLNA (Digital Living Network Alliance) feature or install a third-party application. While the former works well and provides the best experience, you can try the app with its enhanced feature set. We will list both options. What are the benefits of using DLNA? DLNA allows media streaming across devices on the network, provided the streaming device is compatible with the standard. Once set up on a smart TV or other system, you can

Windows 11 Guide: How to adjust the display resolution in Hyper-V Windows 11 Guide: How to adjust the display resolution in Hyper-V Sep 23, 2023 pm 08:25 PM

If you are using Hyper-V to run virtual machines on a Windows 11 machine, you may need to change the display resolution of one or both VMs. In this guide, we will introduce simple methods and step-by-step instructions to adjust and optimize display resolution in Hyper-V environment. How to adjust screen resolution in Hyper-V? Before moving on to the detailed steps to change Hyper-V screen resolution on Windows 11, be sure to complete the following checks for smoother operation: Make sure you are logged in with an administrator account. Make sure graphics drivers are updated. Back up important data in the VM. Make sure Hyper-V is enabled. 1. Setting up using Hyper-V First, we will enable enhanced session mode; for this

Solution: Your organization requires you to change your PIN Solution: Your organization requires you to change your PIN Oct 04, 2023 pm 05:45 PM

The message "Your organization has asked you to change your PIN" will appear on the login screen. This happens when the PIN expiration limit is reached on a computer using organization-based account settings, where they have control over personal devices. However, if you set up Windows using a personal account, the error message should ideally not appear. Although this is not always the case. Most users who encounter errors report using their personal accounts. Why does my organization ask me to change my PIN on Windows 11? It's possible that your account is associated with an organization, and your primary approach should be to verify this. Contacting your domain administrator can help! Additionally, misconfigured local policy settings or incorrect registry keys can cause errors. Right now

How to Completely Remove Unwanted Display Languages ​​on Windows 11 How to Completely Remove Unwanted Display Languages ​​on Windows 11 Sep 24, 2023 pm 04:25 PM

Work on the same setup for too long or share your PC with others. You may have some language packs installed, which often create conflicts. So, it’s time to remove unwanted display languages ​​in Windows 11. Speaking of conflicts, when there are multiple language packs, inadvertently pressing Ctrl+Shift changes the keyboard layout. If not taken care of, this can be a hindrance to the task at hand. So, let’s jump right into the method! How to remove display language from Windows 11? 1. From Settings press + to open the Settings app, go to Time & Language from the navigation pane and click on Language & Region. WindowsI click the ellipsis next to the display language you want to remove and select Remove from the pop-up menu. Click "

Resolved: Windows 11 23H2 not showing up in Windows Update Resolved: Windows 11 23H2 not showing up in Windows Update Nov 08, 2023 pm 02:46 PM

Microsoft recently rolled out Windows 11 version 23H2 to all compatible devices, but it didn't appear for many people. This version was earlier only available to users in the Beta and Dev channels. Ever since its public release, users have been eager to try out the latest operating system version. First, Microsoft rolls out updates in stages, with some users receiving them before others. This does not mean that your device is not compatible or will not receive updates. However, if a few days have passed, you should check for problems. Why doesn't Windows1123H2 appear? When the device blocks newer versions of Windows, there are corrupt update components, or the computer fails due to lack of TPM2.0 or Secure Boot

FSP showcases its new 2500W Cannon Pro power supply and U700-B chassis, which can control four RTX 4090 graphics cards at the same time FSP showcases its new 2500W Cannon Pro power supply and U700-B chassis, which can control four RTX 4090 graphics cards at the same time Jun 10, 2024 pm 09:13 PM

News from this site on June 8 FSP displayed a variety of PC accessories at Computex 2024 Taipei International Computer Show, including PC cases of various sizes, new air-cooled and liquid-cooled radiators, and a variety of new power supplies. ▲Picture source: Wccftech FSP is showing off its new CannonPro2500W power supply this year, which has been upgraded to ATX3.1 and Gen5.1 standards and has passed 80PLUS230VEU Platinum certification. This power supply is equipped with four PCIe12V-2x6 connectors and can power four RTX4090 graphics cards at the same time. In addition, FSP also launched a new MEGATI series power supply, which adopts 80PLUS platinum design, complies with ATX3.1 standard, has a rated power of 1650W, and is equipped with

How to unapply a theme (change or remove) in Windows 11 How to unapply a theme (change or remove) in Windows 11 Sep 30, 2023 pm 03:53 PM

Themes play an integral role for users who wish to modify their Windows experience. It may change the desktop background, animations, lock screen, mouse cursor, sounds, icons, etc. But what if you want to remove themes in Windows 11? It's equally simple and there are options available, both for the current user profile and for the entire system, i.e. all users. Additionally, you can even delete custom themes in Windows 11 if they are no longer used for that purpose. How do I find my current topic? Press + to open the Settings app &gt; Go to Personalization from the navigation pane &gt; Click on Themes &gt; The current theme will be listed on the right. How about WindowsI

How to adjust the audio balance [left and right channels] on Windows 11 How to adjust the audio balance [left and right channels] on Windows 11 Oct 04, 2023 pm 07:17 PM

If you listen to music or watch movies on your Windows computer, you may have noticed that the sound is louder on one side than the other. This may be the default setting for the audio device. Fortunately, adjusting your system's audio balance is fairly easy. This article explains the steps to do this. Why is one side of my headphones quieter on Windows 11? Most of the time, the problem could be that the headphones are not plugged in tightly or have a loose connection. Additionally, if the headphone jack is damaged, you have a problem with your sound card, or your audio device is experiencing interference, you will notice a difference in the sound. Another reason could be because of the wiring inside them. The wires may have become loose or disconnected from each other, which can cause problems with communication between different parts of the headset. How to balance left and right audio channels in Windows 11