3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

SHUTDOWN -s -t 60

How to shut down a computer running Windows from the Command Prompt
by Jared E. Thomson
First off, you need to open MSDos (CMD). Type in the following:
SHUTDOWN
After typeing SHUTDOWN, add the following to the end of the SHUTDOWN Command:
| Text | Action |
| -s | Shutdown and Power off the computer |
| -c "Comment" | Add a comment |
| -t xx | Time before shutdown |
|-a |Abort |
Example:
SHUTDOWN -s -c "Ha Ha, I Shut Down your computer!!!!" -t 60
That will Turn your computer off in 60sec and display the message.
WARNING: After you start this, you can not stop it!!!! (unless you know how.....)
 
Remove these adsRemove these ads by Signing Up
 

Step 1Run CMD.exe

Go to Start > All Programs > Acsessories > Command Prompt
« Previous StepDownload PDFView All StepsNext Step »
25 comments
Feb 18, 2012. 12:10 AMchrisking8613 says:
Such noobish noob nobberish!!!!! Anyways, to really F with someone, create a shortcut with your shutdown command, and drag the shortcut into the "startup" folder in the start menu. Then the shutdown and comment will occur every-single time that the user logs in. (Don't set the timer too short or else you won't have enough time to delete the shortcut from the startup folder when your done screwing with them : ) )
Mar 8, 2011. 5:33 AMWaterLemon7 says:
na no one nowswhat to do its simple go to stat ont the left hand sie of the computer scre and type in on he serch shutdown -a and the log off wil be cancelled!!!
Feb 9, 2008. 8:26 PMonlyonebowman says:
to stop it is to go into run and type "shutdown -a"
Sep 23, 2007. 2:27 PMthermitekonga says:
what about the -f command? what will happen if they have another program, they will by the way since it's an email attachment and you need to use and internet application to retrieve it
Sep 23, 2007. 2:29 PMthermitekonga says:
oops, wrong instructable, anyways what's the point of talking to yourself on the computer, SHUTDOWN YOUR SCHOOL IS THE BEST
Mar 21, 2007. 12:10 PMhollasch says:
Yes, you can abort it. Run "shutdown -a". Let's please not have an instructable for every Windows shell command, particularly when entering the command and "/?" will give you more information than you've listed above.
Jun 15, 2007. 2:47 PMseco says:
you're right, i wanted to reply the same
Mar 28, 2007. 7:06 PMmutant says:
Yeah if want to see real DOS scripting check out my guide in shutting down a school.
Mar 22, 2007. 1:19 AMarmindilo says:
let me guess, the next intructable is going to be a knex gun made completely out of single xp shell commands......
May 22, 2007. 5:37 PMBongmaster says:
no more k-nex guns aaarrgghhh!! seriosly there are far too many and there is no point.. there isnt as many using more readily available stuff. no ones gonna go out to buy k-nex just to make a gun.. and back to the subject at hand.. its more fun to remotely shut down a pc, like your friends pc while they are in the middle of writing an end of term essay :P
May 19, 2007. 9:02 PMTheREALdude says:
hmm...whats a MSDos..i dont create viruses often
Apr 4, 2007. 7:08 PMPYROMan1 says:
can you shut some one down at a different ip adress and how
Mar 21, 2007. 4:04 PMongissim says:
This isn't an instructable, rather how what to type in a command on a command prompt. Besides, this command was already stated in Batch Tutorial - Take 1Batch Tutorial - Take 1.
Mar 21, 2007. 3:45 PMlemonie says:
Could you add a step (or two) to describe how to put this in a .bat and have that .bat run upon startup? This could be an annoying prank(?)
Mar 22, 2007. 6:07 AMeviloverlord says:
Yes, and don't forget to include an image for every keypress you type whilst doing so.
Mar 21, 2007. 1:42 PMwperry1 says:
I agree that an Instructables for every windows command would really clutter Instructables with much info that is available elsewhere. That being said, this is a really useful command if you are on RDP to your XP Pro system since shutdown is missing from the start menu. You can also add "-m \\ComputernameOrIP " and shut down a remote system.
Mar 22, 2007. 8:25 PMtwisted says:
the -m (ip adress) did not work, :( i got a "access is denied" error. anyway to fix this? (im tryin to shut down another comp on my home network.)
Mar 22, 2007. 6:05 AMeviloverlord says:
To access the shutdown dialog from a remote desktop connection: 1. Press WIN+D or WIN+M to hide any visible windows. 2. Press ALT+F4 to show the shutdown dialog.
Mar 21, 2007. 8:29 PMPetervG says:
Mar 21, 2007. 12:57 PMskot123 says:
I agree that we don’t want instructables created for every single command. I personally use “shutdown /r” quite regularly to reboot a computer that I am administering remotely. (IE…I am using remote desktop to connect to the machine and I want to reboot after installing a patch.)

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
0
Followers
1
Author:Jthomsonmain
For now, See Interests!