How to disable the power button of your PC in Windows 10 & 11

Learn how to disable your PC's power button in Windows 10 and 11.

Windows 10

1. Right-click on the Windows start menu button.

Windows 10 start menu button

2. Click on Power Options.

Open Power Options in Windows 10

You can also open Settings > System > Power & sleep (left menu) to open Windows 10's Power Options.

Or click on the Windows start menu button, type power options and then click on Power & sleep settings in the results.

3. Click on Additional power settings located at the top right.

Open additional power settings in Windows 10

A “Power Options” window will appear.

4. Click on Choose what the power buttons do in the top left corner of the window.

Choose what the power buttons do in Windows 10

5. At When I press the power button, you click on the selection menu button and select Do nothing.

Note: If you're using a laptop, then you will have two selection menus (“On battery” and “Plugged in”).

Disable your PC's power button in Windows 10

6. Click on the Save changes button at the bottom of the window.

You've now disabled the power button of your PC.

You'll still be able to turn your computer on using the power button.

Windows 11

1. Click on the Windows start menu button or search icon.

Windows start menu button and search icon

2. Type control panel.

3. Click on Control Panel when it appears in the search results.

Open Control Panel in Windows 11

You can also open Control Panel by pressing the Windows Windows key + R keys on your keyboard > type control in the “Run” window > click on OK or press the Enter key on your keyboard.

Open Control Panel in Windows 11

4. Click on Hardware and Sound.

5. Click on Power Options.

Open Power Options in Windows 11

A “Power Options” window will appear.

6. Click on Choose what the power buttons do in the top left corner of the window.

Choose what the power buttons do in Windows 11

7. At When I press the power button, you click on the selection menu button and select Do nothing.

Note: If you're using a laptop, then you will have two selection menus (“On battery” and “Plugged in”).

Disable your PC's power button in Windows 11

8. Click on the Save changes button at the bottom of the window.

You've now disabled the power button of your PC.

You'll still be able to turn your computer on using the power button.