Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista Tutorial - Shutdown shortcut

Comment
 

Shutdown shortcut

How to Create a Shutdown Computer Shortcut in Vista
Published by Brink
06-17-2007

How to Create a Shutdown Computer Shortcut in Vista

Information
  This will show you how to create a shortcut to Shutdown the computer with an optional time delay and notice before it shutdowns. This can be useful if you need to abort the shutdown.
NOTE
  When you shut down the operating system, the OnShutdown method is called. However, the OnShutdown method does not change the system state to the Stop state. This behavior causes the service to appear unresponsive. Therefore, the shutdown process is delayed. If you have this problem, see: Microsoft Help and Support: KB943412 Hotfix Be sure to download the correct 32 or 64 bit version.
Tip
  If you would like to create a keyboard shortcut key for this shortcut, then see: How to Create a Keyboard Shortcut for a Program in Vista
RELATED LINKS:


METHOD ONE:
Download the Shortcut
NOTE
  This shortcut does not have the time delay on it. See the last section below for how to add the time delay manually.
1. Click on the download button below to download the Shutdown.zip file.

2. Click on Save and save it to the Desktop.

3. Right click on the Shutdown.zip (on desktop) and click on Open.

4. Click Allow for UAC prompt.

5. Extract the Shutdown shortcut to the desktop.

6. Move the shortcut where you like for easy use of it.

7. You can now delete the Shutdown.zip file on the desktop if you like.



METHOD TWO:
Manually Create Shortcut
1. Right click on a empty area of the desktop.

2. Click on New and Shortcut.

3. Type shutdown.exe -s -t 00 -f into the location field. (See screenshot below)
NOTE: If you want a delay and notification before shutdown, replace the number 0 at the end above with a number between 0 to 600 in seconds. 0 by itself gives you an immediate shutdown.
EX: If you want shutdown to wait 15 seconds before shutdown, you would type:
shutdown.exe -s -t 15 -f instead.

EX: If you want shutdown to wait 5 minutes before shutdown, you would type:
shutdow.exe -s -t 300 -f instead.
4. Click on the Next button.
create.jpg
5. Type Shutdown for the name. (See screenshot below)
NOTE: You can name it anything you would like.

6. Click on the Finish button.
name.jpg
7. Right click on new Shutdown shortcut (On desktop) and click on Properties.

8. Click on the Change Icon button. (See screenshot below)
NOTE: For more on how to change a shortcut folder or file icon, see: How to Change a Shortcut Folder or File Icon in Vista
properties.jpg
9. Click on OK at the pop-up window. (See screenshot below)
pop-up.jpg
10. Click on the icon highlighted in blue below. (See screenshot below step 11)
NOTE: If you have your own icon you would rather use, then just navigate to where you have it saved. Vista needs a 256 bit icon for best viewing results.

11. Click on OK.
Name:  Icon.jpg
Views: 14656
Size:  66.4 KB
12. Click on OK to apply. (See screenshot for step 8)

13. Place or copy the new Shutdown shortcut to wherever you like it to be.
Tip
  How to Change or Add a Delay Time Until Shutdown to the Shortcut
1. Right click on new Shutdown shortcut (On desktop) and click Properties.

2. Under Shortcut tab, click in Target: area. (See screenshot from below step 8 in the above section)

3. Replace the number behind -t with a number in seconds between 0 to 600.
NOTE: 0 by itself gives you an immediate shutdown.
EX: If you want shutdown to wait 15 seconds before shutdown, you would replace it with:
C:\Windows\System32\shutdown.exe -s -t 15 -f instead.
NOTE: See Target: in screenshot from below step 8 in the above section.

EX: If you want shutdown to wait 5 minutes before shutdown, you would replace it with:
C:\Windows\System32\shutdown.exe -s -t 300 -f instead.
4. Click on OK to apply.



That's it,
Shawn

Published by
Brink's Avatar
Administrator

Join Date: Apr 2007
Location: Texas, USA
Posts: 25,806
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools

Applies to
All Vista Versions
64 Bit & 32 Bit

Old 06-28-2007  
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

Re: Shutdown

Updated to include delay.

Shawn

My System SpecsSystem Spec
Comment

Tutorial Tools


Similar Threads
Tutorial Category
shutdown shortcut Vista General
Shutdown Shortcut Vista General
Shutdown Shortcut behavior when executed System Security
How do you change the target of the shortcut or shortcut command l Vista General
Shutdown Shortcut Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
Tutorial powered by GARS 2.1.8m ©2005-2006

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46