"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,820 tips!

Windows 7

Change What the Power and Sleep Buttons Do, or Prevent Them from Doing Anything

SUMMARY: In Windows 7, you can make the power and sleep buttons on your keyboard / computer perform different actions instead of putting the computer to sleep. Or, make them do nothing at all.


 

Depending on your Windows 7 configuration, when you press the power or sleep button on your keyboard / computer, your machine goes to sleep.

While this default configuration may be useful for most people, others would prefer the power button actually shut down the computer. Some may want the sleep button (if one exists) to hibernate the machine instead of just put it to sleep. And others may want to disable one or both of these buttons to prevent actions from occurring if they are pressed accidentally.

1. From Windows 7's "Start" button, select "Control Panel".

2. If you are using an expanded Control Panel, select "Power Options".

Otherwise click "Hardware and Sound", then "Power Options".


Accessing Windows 7's Power Options from the Control Panel




3. On the left side of the "Control Panel" - "Power Options" window, click "Choose what the power buttons do".

4. Next to "When I press the power button", choose from the available options underneath "On battery" and "Plugged in":

* Do nothing
* Sleep
* Hibernate
* Shut down

5. Next to "When I press the sleep button", choose from the available options underneath "On battery" and "Plugged in":

* Do nothing
* Sleep
* Hibernate


Changing what happens when you press the power and sleep buttons in Windows 7




6. When done, click "Save changes" to store your settings.



 

Got something to add? Post a comment!

Everyone is invited to submit comments. Registered users also receive their own visitor profile page with a summary of recent posts.
Register | Login

1. Sebastien (10/11/2009 18:20:12)  

THANK YOU! I was pressing the sleep button on my keyboard by accident when playing games and that would disconnect me from the internet and was really frustrating! THANKS A MILLION!
Your name:
 E-mail:
* Home/Blog Page:
Comment:
(Max chars: 5000)

* = optional field

 


Print This Tip

Get E-Mail When New Tips are Online

Return to the Windows 7 page.

 


New in MalekTips:

RSS Feeds- Subscribe!

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Get Tips!'.
 


( sample / details )
( opt-out instructions )