Some users do not use the Shut down button from the Start Menu to power off their Windows computers. Instead, they prefer to use the hardware power button found on their PCs and devices. If you are such a user, you might want to change the default behavior of the Shut down button from the Start Menu into something else, which you are likely to use more frequently: Log off, Lock, Restart, Sleep or Switch User. Or you might prefer to configure the hardware power button that\\'s found on your Windows computer or device, to put it to sleep instead of shutting it down as it happens by default. This tutorial will show you how to do these things in Windows 7, as well as in Windows 8.1 and Windows 10:\r\n\r\n\r\nHow to change what Windows does when you press the hardware power button on your device\r\nIn all modern versions of Windows, you can choose what your PC does when you push the power button. We mean the power button found on your computer case, on your laptop, on your tablet or 2-in-1 device.\r\n\r\n\r\n\r\nWindows, shut down, power, button, action\r\n\r\nNOTE: If you want to change what Windows does when you press the software Power button found in the Start Menu (in Windows 10 and Windows 7) or on the Start screen (in Windows 8.1), skip this first section and read the next sections from this guide.\r\n\r\nRegardless of whether you use Windows 10, Windows 7 or Windows 8.1, start by opening the Control Panel. If you don\\'t know how to do that, read 8 ways to start the Control Panel in Windows 10. If you\\'re using Windows 7, all you have to do is open the Start Menu and click on Control Panel.\r\n\r\nOnce the Control Panel is opened, click or tap on \\"System and Security.\\"\r\n\r\n\r\n\r\nWindows, shut down, power, button, action\r\n\r\nIn \\"System and Security,\\" right under \\"Power Options,\\" you\\'ll see a link called \\"Change what the power buttons do.\\" Click or tap on it.\r\n\r\n\r\n\r\nWindows, shut down, power, button, action\r\n\r\nIf you prefer, you can also first click or tap to open the \\"Power Options,\\" and then click/tap on \\"Change what the power button does\\" on the left side of the window.\r\n\r\n\r\n\r\nWindows, shut down, power, button, action\r\n\r\nEither way, you get to a page that lets you \\"Define power buttons and turn on password protection.\\" Look for the section called \\"Power button settings.\\" There\\'s only one setting in it, called \\"When I press the power button.\\" On its right, there\\'s a drop-down list with all the options available on your computer.\r\n\r\n\r\n\r\nWindows, shut down, power, button, action\r\n\r\nChoose what you\\'d like your Windows computer or device to do when you press the power button. By default, it should be set to \\"Shut down,\\" but depending on your type of device, you should be able to choose from other options like Sleep, Restart, Hibernate, or \\"Turn off the display.\\"\r\n\r\n\r\n\r\nWindows, shut down, power, button, action\r\n\r\nOnce you have selected what you want to happen when you press the power button, click or tap on the \\"Save changes\\" button at the bottom-right side of the window.\r\n\r\n\r\n\r\nWindows, shut down, power, button, action\r\n\r\nNote that if you have a Windows device with a battery, such as a laptop or a tablet, you will be able to choose two different actions for when you press the power button: one thing for when the device is running on battery and another for when it\\'s connected to a power main.\r\n\r\n\r\n\r\nWindows, shut down, power, button, action\r\n\r\nAlso, if your Windows device has a dedicated Sleep button, you might see an additional drop-down list dedicated to it, as you can see in the screenshot above.\r\n\r\n\r\n\r\nLet\\'s see now what can be changed for the software Power button from your Start Menu in Windows 7 and Windows 10, or from your Start screen if you are on Windows 8.1.\r\nHow to change what the \\"Shut down\\" button from the Start Menu in Windows 7 does\r\nIn Windows 7, the Shut down button is located on the bottom-right side of the Start Menu.\r\n\r\n\r\n\r\nWindows, shut down, power, button, action\r\n\r\nIf you click on the arrow near Shut down, you can find other related options, all of which can be set as the default.\r\n\r\n\r\n\r\nWindows, shut down, power, button, action\r\n\r\nTo change the default behavior, right-click on the taskbar and, from the right-click menu, select Properties.\r\n\r\n\r\n\r\nWindows, shut down, power, button, action\r\n\r\nThe \\"Taskbar and Start Menu Properties\\" window opens. Click on the Start Menu tab.\r\n\r\n\r\n\r\nWindows, shut down, power, button, action\r\n\r\nClick on the \\"Power button action\\" drop-down list and select the action you want to set as default.\r\n\r\n\r\n\r\nWindows, shut down, power, button, action\r\n\r\nClick on the OK button and the change is now applied.\r\n\r\n\r\n\r\nWindows, shut down, power, button, action\r\n\r\nWhat about changing what the software \\"Shut down\\" button does in Windows 8.1 and Windows 10?\r\nUnlike in Windows 7, you cannot change what the Shut down button from the Start screen in Windows 8.1 and the Shut down button from the Start Menu in Windows 10 do. Both in Windows 8.1 and in Windows 10, the Shut down button is not a Shut down button but only a Power button that opens a menu with options. People mistake the Power button from Windows 8.1 and Windows 10 with the Shut down button from Windows 7. The sole purpose of the Power button in Windows 8.1 and Windows 10 is to open the list of power options available on your computer or device. Here\\'s what you\\'ll see in Windows 8.1:\r\n\r\n\r\n\r\nWindows, shut down, power, button, action\r\n\r\nIn Windows 10, the options available are the same:\r\n\r\n\r\n\r\nWindows, shut down, power, button, action\r\n\r\nOnly after you open the Power menu can you choose what you want to do: Sleep, Restart, Shut down, or Hibernate (if you enable this option).\r\nConclusion\r\nYou can set your computer\\'s Power button to do what you like as long as it is a power option that is available in Windows, for your specific hardware. If you use Windows 7, you can also choose a default action for clicking the Power button from the Start Menu, to save a click or two when you shut down or put your computer to sleep. For other tips related to power options available in Windows, check out the articles recommended below.