Sometimes I wanted to choose "logout current user", but then I hit "Shutdown" by accident.

Nearly everywhere else Windows7 is asking "do you really want to do this Yes/No".

But that's not the case when I hit the "Shutdown" button. Windows7 shuts down immediately without giving me the chance to correct my mistake.

Q1: So I am wondering why Windows7 shuts down immediately without asking "really do that?" in this case.

Q2: Is there a way to change this behavior? E.g. Could I force Windows7 to display a dialog asking "Do you really want to shutdown ?".

ADDED: I am running Windows7 Professional 64bit.

ADDED: I tried to change this behavior with the policy editor. It seems to be very easy to completely remove the Shutdown button from the start menu. But I couldn't find an entry to turn on such a Yes/No dialog.

link|improve this question

67% accept rate
I've always found this odd. If you have something that asks to save when it closes, type a few letters quickly, then hit cancel, and shutdown stops, but there's no non-hacky way to do it. – Phoshi Dec 31 '09 at 19:32
feedback

3 Answers

You can remove the Windows Shutdown button from the start menu and use this utility instead

The Beyondlogic shutdown utility hand provides:

  • Options to shutdown, power-off, reboot, suspend, hibernate, log-off or lock the workstation.
  • Actually shutdowns ACPI Compliant computers including WinNT4 with the hal.dll.softex Hardware Abstraction Layer.
  • Ability to display optional message of a maximum 300 characters.
  • The shutdown dialog will appear on the active window, should it be the login window, login screen saver, logged in user's desktop, or on a locked workstation.
  • Option to allow the user to cancel the operation. (This can be greyed out)
  • Option to prevent shutdown action occurring on logged-on computers giving your users the flexibly to run lengthy processes overnight without being disturbed.

I'm using this with Windows 7, works a like a charm, just create a few batch files for your preferred actions, e.g. Shut Down, Log Off, Hibernate (set the time you may need to cancel this operation) and place shortcuts in the start menu, taskbar on the desktop or your favorite launcher.

enter image description here

Tip: rename the file (e.g. shtdwn.exe) as shutdown.exe already exists in windows if you want to use it from the commandline.

link|improve this answer
nice workaround! But I am still looking for an on-board/built-in solution. – Vokuhila-Oliba Jan 1 '10 at 12:14
there isn't, as windows own shutdown.exe does not allow to abort the shutdown via GUI, you can only use the argument -a from the command line or another batch file (if the initial shutdown was timed with -t xx). anyway, a 18 kilobyte stand-alone executable doesn't really bloat your system :) – Molly7244 Jan 1 '10 at 18:02
feedback

Not really a solution, but:

Make a desktop shortcut or something, that links to

shutdown -l

Running this will log you out.

link|improve this answer
feedback

Here is a workaround:

  1. Right click on the Shutdown button and choose Properties
  2. define the default action as logoff

You still don't get a dialog asking "do you really want ...". But you are only logged off when the Button is clicked by accident.

EDIT: if you are wondering what happened to the shutdown entry: it has been moved into the arrow menu now (automatically).

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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