Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

On Windows XP I had it set so that when I pressed the power button it would ask me if I wanted to shut down, restart, stand by or log out. This does not appear to be an option in Windows 7. Is there any way I can enable this function?

share|improve this question
    
wouldn't that be a BIOS setting? –  pavium Jun 14 '11 at 12:44
add comment

1 Answer

The default action for the Power button on the start menu in Windows 7 is shutdown, and in Vista is Sleep, which isn’t necessarily useful for everybody, so we’ll explain how to change it here.

Change Windows 7 Shutdown Button

Windows 7 makes it really easy – just head into the Start Menu / Taskbar preferences by right-clicking on the start menu and choosing Properties.

All you need to do is change the drop-down for Power Button Action to whatever you would prefer.

Change Windows Vista Power Buttons You can configure this setting easily by using the advanced power settings panel, which is a little tricky to get to normally, but we’ll take the shortcut.

Open a command prompt (type cmd into the start menu search bar), and then type in the following:

powercfg.cpl,1

You could also take the long route (Control Panel \ Power Options \ Change Plan Settings \ Change Advanced Power Settings)

Once you get to this dialog, browse down to “Power buttons and lid”

From here, you can change the options:

Power button action – Changes the hardware power button action
Start menu power button – Changes the power button on the Start Menu

You can change the power button to either Sleep, Hibernate or Shut Down, or even nothing for the hardware power button.

share|improve this answer
    
I actually want it to pop up a dialog and ask me what to do every time I press the power button, the way you can do it in Windows XP. Setting it to shut down or power off seems a bit dangerous, and I already have a shortcut key for standby. –  jwaddell Jun 14 '11 at 22:33
    
What you've asked for has been depricated in favor of the new functionaility as Nasenbaer described. –  edusysadmin Jun 15 '11 at 3:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.