PDF download Download Article PDF download Download Article

Creating a shutdown shortcut in Windows will allow you to shutdown your computer in a single click. This can be especially useful if you use Windows 8, which has hidden the shutdown command behind several menus. Windows 10 and Windows 8 use a slightly different format than older versions of Windows.

Creating a Shutdown Icon on Desktop

  1. Right-click on the desktop, click “New,” then choose “Shortcut.”
  2. Enter “shutdown /s” in the location field to create the shutdown command.
  3. Rename your shortcut, if desired, in the next field.
  4. Right-click the shortcut, select “Properties,” and click the “Shortcut” tab to change the icon.
  5. Right-click the shortcut and select “Pin to Start” to pin it to your start menu.
Method 1
Method 1 of 2:

Windows 11, 10, and 8

PDF download Download Article
  1. Right-click on the desktop, select "New," and then choose "Shortcut." This will open the Create Shortcut window.
    • If you're using Windows 8, open Desktop Mode by pressing the Windows key + D.
  2. In the field labeled “Type the location of the item”, enter shutdown /s This will create a shortcut that will shut down the computer after a 30-second default timer.
    • If you want to adjust the timer, add the /t XXX command to the end of the line. XXX represents the number of seconds delay you want prior to shutdown. For example: shutdown /s /t 45 will create a shortcut that shuts down after 45 seconds.
    • Setting the timer to 0 will shut down the computer immediately after the shortcut is run.
    Advertisement
  3. By default the shortcut will be named “shutdown”. You can change the name to whatever you’d like in the next window.
  4. Windows will use the default Program icon for your new shortcut. You can change this by right-clicking on it and selecting "Properties." In the "Shortcut" tab, select "Change Icon…" This will open a list of available icons. Find one that better matches your shutdown shortcut.
  5. Once the shortcut is complete, you can add it to your Start menu or taskbar by right-clicking the shortcut and select "Pin to Start" or "Pin to Taskbar." This will create a tile on your Start menu or a shortcut in your taskbar that you can click to shut down your computer.
  6. Advertisement
Method 2
Method 2 of 2:

Windows XP/Vista/7

PDF download Download Article
  1. Right-click on your desktop. Hover the cursor over "New" and click "Shortcut" on the next menu that appears.
  2. Copy and paste the following into the text field: shutdown.exe -s
    • To create a restart shortcut, replace "-s" with "-r" ("shutdown.exe -r").
  3. Without changing any settings, the shutdown shortcut will shut down the computer after 30 seconds. To change the timer, add "-t XXX" to the end of the command. XXX represents the number of seconds delay you want prior to shutdown. For example: shutdown.exe -s -t 45 will create a shortcut that shuts down after 45 seconds.
    • To add a "goodbye" message, type -c "your message" (including the quotation marks) at the end.
  4. Click "Finish" when done.
  5. If you’d rather have a custom icon instead of the default Program icon that Windows assigns, right-click the shortcut and choose "Properties". In the Shortcut tab, click the Change Icon button. Choose an appropriate icon and then press OK to confirm.
  6. You'll see a window counting down and your message will be shown. Once the timer runs out, all your programs will start to close and Windows will shut down.
  7. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How do you make it a log off shortcut?
    Community Answer
    Community Answer
    Follow the instructions above but replace "/s" with "/l" (l for "log off").
  • Question
    How do I make it a sleep shortcut?
    Community Answer
    Community Answer
    Open notepad. Type, "shutdown /s /hybrid." Save as, "name.bat." Bear in mind, sleep is a dangerous function, which some people have trouble with.
  • Question
    When the shutdown timer starts, how can I cancel the shutdown process?
    Community Answer
    Community Answer
    To abort the shutdown, go to the Start Menu, click Run, and type: shutdown -a .
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

  • Use this to create a shutdown computer prank!
  • To abort (stop) the shutdown, go to the Start Menu, click Run, and type shutdown -a. You could even create an "abort shutdown" shortcut, too!
  • This code closes each and every program and then shuts down - the way Windows shuts down when you do it via the Start Menu. If you want to avoid the countdown and trigger the shut down instantly, use shutdown -s -t 00. Don't worry, if you have documents open you'll still be given the opportunity to save your work.
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

You Might Also Like

Put a Shortcut to a Website on Your DesktopEasy Ways to Make a Website Shortcut on Windows or macOS
Take a Screenshot in Microsoft Windows Take a Screenshot on a Windows PC: 8 Simple Tricks
Check Your Windows VersionCheck Your Windows Version
Check Your Windows Product Key Find Your Windows Product Key
Install FFmpeg on WindowsEasily Download and Install FFmpeg on a Windows PC
Check Mouse Sensitivity (Dpi) on PC or Mac Check Your Mouse DPI on Windows & Mac
Start Windows in Safe Mode Start Windows in Safe Mode: 6 Easy Options
Change Your Desktop Background in Windows5 Quick Ways to Change Your Desktop Wallpaper on Windows
Get to the Boot Menu on Windows4 Easy Ways to Access the Boot Options Menu in Windows
Enter BIOS Access the BIOS on Any PC: Guide + Troubleshooting
Turn Off BitLocker Disable BitLocker Encryption in Windows 10 and 11
Move Game to Another Screen3 Easy Ways to Move a Full Screen Game to Another Monitor
Alter the Size of Your Windows Desktop Taskbar2 Ways to Alter the Size of Your Windows Desktop Taskbar
Automatically Shut Down Your Computer at a Specified TimeAutomatically Shut Down Your Computer at a Specified Time
Advertisement

About This Article

Yaffet Meshesha
Co-authored by:
Computer Specialist
This article was co-authored by Yaffet Meshesha. Yaffet Meshesha is a Computer Specialist and the Founder of Techy, a full-service computer pickup, repair, and delivery service. With over eight years of experience, Yaffet specializes in computer repairs and technical support. Techy has been featured on TechCrunch and Time. This article has been viewed 532,624 times.
How helpful is this?
Co-authors: 25
Updated: October 4, 2024
Views: 532,624
Categories: Windows
Thanks to all authors for creating a page that has been read 532,624 times.

Reader Success Stories

  • Braedyn M.

    Braedyn M.

    Aug 11, 2016

    "I find it very annoying on the computer to always do things the hard way! Shortcuts are so useful!"
Share your story

Is this article up to date?

Advertisement