How to Make a Shutdown Shortcut in Windows 10 & 11
发布时间:2026-09-17 | 浏览:3
PRO Courses Hot Guides Tech Help Pro Expert Videos About wikiHow Pro Upgrade
QUIZZES All Quizzes Hot Community Quizzes Love Quizzes Personality Quizzes Trivia Quizzes Taylor Swift Quizzes
EXPLORE Tech Help Pro About Us Random Article Quizzes Request a New Article Community Dashboard Trending Forums Arts and Entertainment Artwork Books Movies Computers and Electronics Computers Phone Skills Technology Hacks Health Men's Health Mental Health Women's Health Relationships Dating Love Relationship Issues Hobbies and Crafts Crafts Drawing Games Education & Communication Communication Skills Personal Development Studying Personal Care and Style Fashion Hair Care Personal Hygiene Quizzes Love Quizzes Personality Quizzes Fun Games Arts and Entertainment Finance and Business Home and Garden Relationship Quizzes Cars & Other Vehicles Food and Entertaining Personal Care and Style Sports and Fitness Computers and Electronics Health Pets and Animals Travel Education & Communication Hobbies and Crafts Philosophy and Religion Work World Family Life Holidays and Traditions Relationships Youth
LOG IN Log in Social login does not work in incognito and private browsers. Please log in with your username or email to continue. Facebook Google wikiHow Account No account yet? Create an account
Browse Articles
Quizzes & Games
All Quizzes Hot
Community Quizzes
Personality Quizzes
Dating Simulator
Learn Something New
Support wikiHow
Log in / Sign up
Computers and Electronics
Operating Systems
Last Updated: March 23, 2026 Fact Checked
Using Windows 8, 10, and 11
Using Windows 7, Vista, or XP (Historic)
This article was co-authored by Yaffet Meshesha and by wikiHow staff writer, Travis Boylls . 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 fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources. This article has been viewed 545,965 times.
Creating a shutdown shortcut in Windows will allow you to shut down your computer in a single click. You can also assign the shortcut to a keyboard shortcut that will allow you to shut down your computer with a quick keyboard hotkey. This wikiHow article teaches you how to create a shutdown shortcut in Windows with expert tips from computer specialist Yaffet Meshesha.
Creating a Shutdown Shortcut on Your Windows Desktop
Right-click the desktop and select New > Shortcut .
Type “shutdown /s” into the location field and click Next. .
Name the shortcut and click Finish .
Right-click the shortcut and select Pin to Start or Pin to Taskbar .
Using Windows 8, 10, and 11
1 Create a new shortcut on the desktop. Meshesha explains that you can can create a desktop shortcut by right-clicking on the desktop, selecting New , and then choosing Shortcut . [1] X Expert Source Yaffet Meshesha Computer Specialist Expert Interview This will open the Create Shortcut window. If you're using Windows 8, open Desktop Mode by pressing the Windows key + D .
If you're using Windows 8, open Desktop Mode by pressing the Windows key + D .
2 Enter the shutdown command and click Next . 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. [2] X Research source 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
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.
3 Give the shortcut a name and click Finish . By default, the shortcut will be named “shutdown”. You can change the name to whatever you’d like in the next window. Click Finish to add the shortcut to your desktop.
4 Change the icon. Windows will use the default Program icon for your new shortcut. You can change the icon to something more appropriate (i.e., the orange icon with a circle with a line in the middle). Use the following steps to change the desktop icon: Right-click the desktop icon. Click Properties . Click the Shortcut tab. Click Change icon … Click an icon to select it. Click Apply .
Right-click the desktop icon.
Click Properties .
Click the Shortcut tab.
Click Change icon …
Click an icon to select it.
5 Pin the shortcut to your Start menu or taskbar. According to Meshesha, once you have created the shortcut, you can add it to your Start menu or taskbar by right-clicking its icon and selecting Pin to Start or Pin to taskbar . This will create a tile on your Start menu or a shortcut in your taskbar you can click to shut down your computer. [3] X Expert Source Yaffet Meshesha Computer Specialist Expert Interview If you don’t see one or both of these options in the context menu, click Show more options at the bottom.
If you don’t see one or both of these options in the context menu, click Show more options at the bottom.
6 Create a keyboard shortcut (optional). You can also assign the shortcut to a keyboard hotkey . This will allow you to shut down your computer using a quick press of a keyboard button combination. Use the following steps to do so: Right-click the desktop icon. Click Properties . Click the Shortcut tab. Click the field next to “Shortcut key.” Press the key(s) you want to use as a keyboard shortcut. You can’t use “Shift” as one of the keys. Click Apply .
Right-click the desktop icon.
Click Properties .
Click the Shortcut tab.
Click the field next to “Shortcut key.”
Press the key(s) you want to use as a keyboard shortcut. You can’t use “Shift” as one of the keys.
You can’t use “Shift” as one of the keys.
Using Windows 7, Vista, or XP (Historic)
1 Create a new shortcut on your desktop. Right-click on your desktop. Hover the cursor over New and click Shortcut on the next menu that appears.
2 Enter the shutdown command. Copy and paste the following into the text field: shutdown.exe -s To create a restart shortcut, replace "-s" with "-r" ("shutdown.exe -r").
shutdown.exe -s To create a restart shortcut, replace "-s" with "-r" ("shutdown.exe -r").
To create a restart shortcut, replace "-s" with "-r" ("shutdown.exe -r").
3 Adjust the shutdown timer. 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.
To add a "goodbye" message, type -c "your message" (including the quotation marks) at the end.
4 Type a name for the shortcut and click Finish . This will create a shortcut on your desktop.
5 Change the icon (optional). 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 click OK to confirm.
6 Double-click the shortcut to initiate a shutdown. You'll see a window counting down, and your shutdown message will be shown. Once the timer runs out, all your programs will start to close, and Windows will shut down.
Question How do you make it a log off shortcut? Community Answer Follow the instructions above but replace "/s" with "/l" (l for "log off"). Thanks! We're glad this was helpful. Thank you for your feedback. If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission. Support wikiHow Yes No Not Helpful 7 Helpful 16
Question How do I make it a sleep shortcut? 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. Thanks! We're glad this was helpful. Thank you for your feedback. If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission. Support wikiHow Yes No Not Helpful 8 Helpful 9
Question When the shutdown timer starts, how can I cancel the shutdown process? Community Answer To abort the shutdown, go to the Start Menu, click Run, and type: shutdown -a . Thanks! We're glad this was helpful. Thank you for your feedback. If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission. Support wikiHow Yes No Not Helpful 5 Helpful 10
You can use this to create a shutdown computer prank! Thanks Helpful 0 Not Helpful 0
To abort (stop) the shutdown, go to the Start menu, click Run , type shutdown -a , and click OK . You could even create an "abort shutdown" shortcut, too! Thanks Helpful 0 Not Helpful 0
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 shutdown 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. Thanks Helpful 0 Not Helpful 0
You Might Also Like
↑ Yaffet Meshesha. Computer Specialist. Expert Interview
↑ https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/shutdown
↑ Yaffet Meshesha. Computer Specialist. Expert Interview
About This Article
Send fan mail to authors
Reader Success Stories
Braedyn M. Aug 11, 2016 "I find it very annoying on the computer to always do things the hard way! Shortcuts are so useful!"
Is this article up to date?
Quizzes & Games
You Might Also Like
Trending Articles
Trending Articles
Take the Quiz. Face the Truth. 🔥
Decode Yourself 🧩
Featured Videos
Hot Takes Only 🔥
Your Daily Dose of Fun 🎉
Computers and Electronics
Operating Systems
Do Not Sell or Share My Info
Not Selling Info
wikiHow Tech Help Pro:
Level up your tech skills and stay ahead of the curve