In Windows, you can disable the power, sleep, and wake buttons. Review the options below for how to disable each button.

Disable the computer’s ACPI feature

If you want to disable all three of these buttons, you can disable the computer’s ACPI feature in CMOS setup. The location of this option is different between all BIOS manufacturers and versions, but is often under the power category.

  • How to enter and exit the BIOS or CMOS setup.

Change the power button option in Windows

To change the power buttons action, follow the steps below for your the version of Windows on your computer.

Windows 8 and Windows 10

  • Open the Control Panel.
  • In the Control Panel, click Power Options.
  • In the Power Options window, click the Choose what the power buttons do link in the left navigation pane.
  • Click the drop-down list for When I press the power button and When I press the sleep button options and select the action to be performed.

Windows Vista and Windows 7

Windows XP

  • Open the Control Panel.
  • In the Control Panel, click Power Options.
  • In the Power Options Properties window, click the Advanced tab.
  • In the Power buttons section, click the down arrow under When I press the power button on my computer or When I press the sleep button on my computer.
  • Select the action to be performed.

Windows 2000

  • Windows 8 and Windows 10
  • Windows Vista and Windows 7
  • Windows XP
  • Windows 2000

If you are using a laptop, you will see options for On battery and Plugged in on step 4.

  • Is it better to leave the computer on or turn it off?
  • How to adjust power, standby, and sleep settings.
  • Is it ok for a laptop to hibernate or go to Standby mode?
  • Receive blinking cursor when resuming from Standby mode.
  • See our power button, sleep, and wake definitions for further information and related links.
  • Power management help and support.
  • Microsoft Windows help and support.