Quickly shut down your computer with a single click or press
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 so 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 Icon on Desktop
- Right-click on the desktop, click New , then choose Shortcut .
- Enter “shutdown /s” in the location field to create the shutdown command and click Next. .
- Rename your shortcut, if desired, in the next field and click Finish .
- Right-click the shortcut, select “Properties,” and click the “Shortcut” tab to change the icon.
- Click the “Shortcut key” field and press the key(s) you want to use as a keyboard shortcut.
- Right-click the shortcut and select Pin to Start or Pin to Taskbar .
Steps
-
Create a new shortcut on the desktop. According to Meshesha, you can create a desktop shortcut by right-clicking on the desktop, and selecting New . Then choose Shortcut . This will open the Create Shortcut window. [1] X Research source
- If you're using Windows 8, open Desktop Mode by pressing the Windows key + D .
-
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. [3] X Research source
- Setting the timer to 0 will shut down the computer immediately after the shortcut is run.
Advertisement -
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.
-
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 .
-
Pin the shortcut to your Start menu or taskbar. According to Meshesha, once the shortcut is complete, you can add it to your Start menu or taskbar by right-clicking the shortcut and selecting 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.
- If you don’t see one or both of these options in the context menu, click Show more options at the bottom.
-
6Create a keyboard shortcut. You can also assign the shortcut to a keyboard hotkey . This will allow you to shutdown 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 .
Advertisement
-
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.
-
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
-
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.
-
4Type a name for the shortcut and click Finish . This will create a shortcut on your desktop.[Image:Make a Shutdown Shortcut in Windows Step 10 Version 7.jpg|center]]
-
Change the icon. 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.
-
Double-click the shortcut to initiate shutdown. 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.
Advertisement
Community Q&A
Search
-
QuestionHow do you make it a log off shortcut?Community AnswerFollow the instructions above but replace "/s" with "/l" (l for "log off").
-
QuestionHow do I make it a sleep shortcut?Community AnswerOpen notepad. Type, "shutdown /s /hybrid." Save as, "name.bat." Bear in mind, sleep is a dangerous function, which some people have trouble with.
-
QuestionWhen the shutdown timer starts, how can I cancel the shutdown process?Community AnswerTo abort the shutdown, go to the Start Menu, click Run, and type: shutdown -a .
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Tips
- You can use this to create a shutdown computer prank!Thanks
- 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!Thanks
- 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.Thanks
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
References
- ↑ https://www.supportyourtech.com/tech/how-to-create-shortcut-for-shutdown-in-windows-11-a-step-by-step-guide/#Step-by-Step_Tutorial_for_Creating_a_Shortcut_for_Shutdown_in_Windows_11
- ↑ https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/shutdown
- ↑ https://www.supportyourtech.com/tech/how-to-create-shortcut-for-shutdown-in-windows-11-a-step-by-step-guide/#Step-by-Step_Tutorial_for_Creating_a_Shortcut_for_Shutdown_in_Windows_11
About This Article
Thanks to all authors for creating a page that has been read 538,124 times.
Reader Success Stories
- "I find it very annoying on the computer to always do things the hard way! Shortcuts are so useful!"
Advertisement