Follow
Windows

How to Change Power Button Actions on Windows 11

Richard
Written by
Richard
Mar 14, 2022 Updated Apr 29, 2026 3 min read
How to Change Power Button Actions on Windows 11

Do you ever accidentally press your computer’s power button and have your PC shut down when you didn’t want it to? You can easily customize power button behavior in Windows 11 to suit your needs.

Why change this setting?

Changing your power button settings lets you decide exactly what happens when you press that button. You might want your computer to do nothing, go to sleep, or hibernate instead of shutting down completely. This prevents accidental data loss or unwanted reboots.

What happens when done?

Once you save your changes, your computer will react according to your new preference the next time you press the physical power button on your case or laptop.

Prerequisites

Note: These steps require administrative privileges. Ensure you are logged in as an administrator to modify these system settings.

Steps to Change Power Button Actions

First, open the Control Panel in Windows 11.

1. In the Control Panel, select the Hardware and Sound category.

Control Panel Hardware and Sound settings in Windows 11

2. Find the Power Options section and click Change what the power buttons do.

Changing power button actions in Windows 11 settings

3. On the next screen, look for the When I press the power button setting. Use the drop-down menu to pick your preferred action:

Power button action option set to Do Nothing in Windows 11

Advanced Power Options Configuration

If you prefer using advanced power settings, follow these steps:

1. Select Power Options in the Hardware and Sound category.

windows 11 power options select

2. Click the Change plan settings link.

windows 11 power option change plan settings

3. Click the Change advanced power settings link.

windows 11 change advanced power settings

4. Expand the Power buttons and lid and Power button action sections. You can now set specific actions for when your computer is running on battery or when it is plugged in.

Power button action settings configuration in Windows 11

5. Click OK to save your changes.

Registry and Group Policy Configuration

Advanced users can configure these settings via the Registry Editor. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Power\PowerSettings. You can also use the Group Policy Editor by navigating to Computer Configuration > Administrative Templates > System > Power Management > Button Settings.

Summary

You can easily customize your power button behavior in Windows 11 through the Control Panel. Whether you want to prevent accidental shutdowns by choosing “Do Nothing” or prefer a quick way to “Sleep” or “Hibernate,” these settings give you full control over your hardware. Just remember that you need administrative rights to make these changes.

Why is my power button action not saving?

If your settings are not saving, you likely lack administrative privileges. Ensure you are running the Control Panel as an administrator. Additionally, check if a Group Policy object is overriding your local power settings, which is common in managed office or school environments.

Can I set different actions for battery and plugged-in states?

Yes, you can. In the Advanced Power Options menu, you will see two columns or separate dropdowns for “On battery” and “Plugged in.” This allows you to configure the power button to hibernate when on battery to save power, while shutting down when plugged in.

Does changing the power button action affect the physical button on a laptop?

Yes, changing these settings directly impacts the physical power button on your laptop or desktop case. Once the setting is applied, the operating system intercepts the signal from the button and executes the specific action you have selected in the Windows power configuration menu.

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.

📚 Related Tutorials

How to Access Control Panel in Windows 11
Windows How to Access Control Panel in Windows 11
Windows 11 Control Panel Shortcuts Guide
Windows Windows 11 Control Panel Shortcuts Guide
How to Reset Local Group Policy in Windows 11
Windows How to Reset Local Group Policy in Windows 11
How to Change Power Modes in Windows 11
Windows How to Change Power Modes in Windows 11

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

Leave a Comment

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