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,862 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

Best Christmas 2014 UK tech deals, Boxing Day 2014 UK tech deals & January sales 2015 UK tech...

IDG UK Sites

LED vs Halogen: Why now could be the right time to invest in LED bulbs

IDG UK Sites

Christmas' best ads: See great festive spots studios have created to promote themselves and clients

IDG UK Sites

Stop running out of cellular data on your iPhone, see which apps use the most data