Informations, tips and technics.

Vista shutdown icon shortcut on your desktop

I will not try to justify why or why not having a shortcut to shutdown the computer in Vista directly on your taskbar or on your desktop but I think it still a thing that could be interesting to know.

The first part is really simple to create the shortcut in Vista as you always do. The interesting thing is what command you should use:

  • Shutdown Computer
    Shutdown.exe -s -t 00
  • Restart Computer
    Shutdown.exe -r -t 00
  • Lock Workstation
    Rundll32.exe User32.dll,LockWorkStation
  • Hibernate Computer
    rundll32.exe PowrProf.dll,SetSuspendState

There is another parameter for the shutdown command, the f parameter which seems can be interpreted by force, meaning forcethe shutdown. That could prevent any message that could prevent a proper shutdown (like a process that not responding or an opened document in Word or Notepad)


Shutdown.exe -f -s -t 00

Ref :


Filed under: Windows, , , ,

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: