Automatic Shutdown via Command Prompt in Windows XP
by: Revengsky Joseph D. Reyes -a.k.a rjdreyes

To execute the automatic shutdown via command prompt, click Start – then click Run…, then on the command prompt type: shutdown

On Windows XP command line, you will see its usage.

Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c “comment”] [-d up:xx:yy]
No args                 Display this message (same as -?)
-i                      Display GUI interface, must be the first option
-l                      Log off (cannot be used with -m option)
-s                      Shutdown the computer
-r                      Shutdown and restart the computer
-a                      Abort a system shutdown
-m \\computername       Remote computer to shutdown/restart/abort
-t xx                   Set timeout for shutdown to xx seconds
-c “comment”            Shutdown comment (maximum of 127 characters)
-f                      Forces running applications to close without warning
-d [u][p]:xx:yy         The reason code for the shutdown

u is the user code
p is a planned shutdown code
xx is the major reason code (positive integer less than 256)
yy is the minor reason code (positive integer less than 65536)

For  an example (when you used it on command prompt):

shutdown -s -f -t 120 -c “auto shutdown at 2mins”

(Note:  -t (time) were 3600 is equals to 1 hour, 60 seconds equals to 1 minute)

This is the example result of the usage:
Automatic Shutdown via Command Prompt on Windows XP

Try to explore its usages, then comment here if you found one interesting to share.
That’s all! I hope this guide and tips helps you out! Cheers! 😀

(Note: Microsoft(Windows XP OS) Logo/Images/Pictures has a respective copyright. I used it for demonstration purpose only.)

Related Posts Plugin for WordPress, Blogger...
2 thoughts on “Automatic Shutdown via Command Prompt in Windows XP”

Leave a Reply

Your email address will not be published. Required fields are marked *