Shutdown shortcut

How to Create a Shutdown Computer Shortcut in Vista

information   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   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   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





METHOD ONE
To Download the "Shutdown" Shortcut

NOTE: The shortcut in this method does not have the time delay on it. See the yellow TIP box below for how to add the time delay manually.
1. Click on the download button below to download the Shutdown.zip file.​
download

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
To Manually Create the "Shutdown" 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)​
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.​
Icon.jpg

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   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



 

Attachments

  • Shutdown.zip
    573 bytes · Views: 6,743
  • Shut_Down.png
    Shut_Down.png
    21.1 KB · Views: 386
Last edited:
Re: Shutdown

Updated to include delay.

Shawn
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Back
Top