We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message
2,851 Tutorials

How to change what the power button does in Windows 7

Customise the action to suit you

If you're got a laptop or PC running Microsoft's Windows operating system, you may find it's possible to push the power button or close the lid to put your device to sleep, make it hibernate or even to shut it down. However, if perhaps closing the lid shuts down your machine and you'd rather it simply put it to sleep, fear not. It's very easy to adjust what these actions do. Here's how to change what the power button does in Windows 7.

Step one
From the Start menu open the Control Panel.

Step two
Choose Hardware and Sound and then from underneath Power Option select Change hat the power buttons do.

Step three
You'll be presented with three different activities; When I press the power button, When I press the sleep button and When I close the lid. Next to each of these will be a drop down menu featuring four different actions; Do nothing, Hibernate, Sleep and Shut down. Simply select the action you'd like the button to perform. If you're running Windows 7 on a laptop you will see these actions for both when the PC is powered by a battery and when it is plugged in to the mains.

Step four
Furthermore, you can also enable password protection so that when the computer wakes up from sleep mode you must enter the password on the user account to activate it again. Press Require a password or Don't require a password as appropriate. Now press Save changes for your adjustments to be saved.

IDG UK Sites

45 Best Android games: top Android games for your smartphone or tablet in 2014 (24 are free!)

IDG UK Sites

How Apple, Adobe, Microsoft and others have let us down over UltraHD and hiDPI screens

IDG UK Sites

Do you have the X-Factor too? Mix Off app puts fans in the frame

IDG UK Sites

iPad Pro release date, rumours and leaked images - 12.9 screen 'coming in 2015'