Set a timer for windows shutdown and restart from command line without using any software.

This may be of help to you if have the habit of listening to songs and sleeping or if you are planning to download some thing. Open notepad and type
shutdown -s -t <time is seconds for which system will wait before shutdown>”
Save the file as “<filename>.bat” and a batch file is created
for shutting down…this works for me…I sleep with a wait for 10 mins during which songs play…after that pc shuts down automatically…no tension of shutdown
to restart the pc command is
shutdown -r -t <time is seconds for which system will wait before shutdown>”
Type shutdown /help in cmd for more options on this shutdown command

You can do this without batch file also

  1. Go to Start>run>
  2. Type cmd
  3. Then type shutdown -s -t XXXX (XXXX is time in seconds)

Example:

shutdown -s -t 3600 (Shut down time will be set to 1 hour)
shutdown-s-t-3600.GIF

To abort the shutodown, type shutdown -a in the command prompt

If you have any problems or ??? please fell free to post them in comments

10 thoughts on “Set a timer for windows shutdown and restart from command line without using any software.

  1. not workin in college lab…………

  2. Hello sir, when i use “net send” command to send the message to my friend then a message is come up “the message alias could not be found” so ,sir what is the snlution for this? Plz send me plz sir.

  3. thanx____________dada

  4. Thanx for the info walid

  5. Hey admin you can do that i mean stop the timer by using this move>>

    Start > Run > Shudown -a

    and it’ll be removed

  6. roxxxxxxxxxxxx

  7. once you set the timer i don’t think you can stop the shutdown process,anyway i will try and find if there is a way to do that

  8. H@ck the Universe » Posts on My Other Blog’s says:

    [...] Timer for Windows ShutDown and Restart [...]

  9. man its kool, but how to turn it off ;)

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <span style="">