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

Black Friday and Cyber Monday 2014 tech deals UK Live: Best Black Friday deals from Apple, Amazon,...

IDG UK Sites

Why are people still buying satnavs? Smartphones are the modern satnav

IDG UK Sites

New Star Wars trailer: Watch the VFX-laden teaser for The Force Awakens

IDG UK Sites

Black Friday 2014 UK: Apple deals, Amazon deals & Black Friday tech offers UPDATED