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

Windows 9 launch event live: Windows 9 launch live blog - find out first as the new Windows is...

IDG UK Sites

Windows 9 and the death of the OS as a must-have product

IDG UK Sites

Video trends: 4K is here – HDR video, VR and 3D audio is coming

IDG UK Sites

Best iPhone 6, iPhone 6 Plus deals: iPhone 6, iPhone 6 Plus tariffs, contracts and prices UK