How to Set a Timer for Automatic Shutdown Without Using Any Software

[Windows] Generally, while watching movies or reading an eBook, I fall asleep. This must also be a case with many of you, watching movies on your laptop and then lying asleep the next minute, with only ghosts left to watching your boring movie.

Many download junkies also queue files for overnight downloading. And in places where an uninterrupted supply of electricity is not present, these poor download junks have to wake up early to switch off their PCs and avoid data corruption.

As usual, we Techie Buzzers can’t see the plight of such poor souls. Batman is here to help, Gotham shall not worry!

How to Set a Timer for Automatic Shutdown

Setting up a timer for automatic shutdown is no big deal, in fact many people would already know about it, but if you don’t, read on.

There is no software to install and no tweaks to be made. An automatic shutdown is inbuilt into Windows and ready to be explored. Let’s check out how we can set a timer for automatic shutdown.

  1. Right click on the desktop. Select New → Shortcut.
  2. A New Shortcut dialog box will appear.greenshot_2009-08-02_01-17-12
  3. In the location box, this is how you will enter the details: shutdown.exe is for calling the shutdown executable. s is the command for shutdown. f is for performing a forced shutdown. If an application stops responding when shutting down, this command will force shut it. Using this command is not compulsory, but recommended. And next, the t command is for specifying the time the shutdown will take place. After you put the t command give a space and then enter the time in seconds. So in the above example, the computer will be shut down in 6 hours. Let’s put the whole command in one line:shutdown.exe -s -f -t seconds
  4. Click next and the shortcut will be created on the desktop. Give it a name and click it whenever you wish to initiate an automatic shutdown. If you want to change the time, right click on the shortcut, select properties and change the time from the dialog that opens.

Tip: This command can also be initiated from the Run box or CMD.

Tip 2: If you want to display a message that displays when the countdown is in progress, you can append a c command with a message attached. Like this:
-c Computer is shutting down

greenshot_2009-08-02_01-45-56

Tip 3: If you want to restart the computer instead of shutting it down, replace the s with r. Similarly, if you’d like to logoff, replace s with l.

How to abort Shutdown

If you just woke up from sleep and feel like working on your laptop a bit more, there is no easy way you can abort the shutdown. The cross on the top will not work and you won’t be able to kill the process from task manager. But still there’s a way to stop the timer and stopping the bomb before it blasts.

  1. Click the WinKey + R
  2. The run dialog box will appear. Type shutdown.exe a
  3. A stands for abort. The shutdown timer will vanish.

So this was it, let us know how you make use of this feature in the comments!

  • Share

Related Topics Similar to This Article: »

Recent Activity: »

Read More On: ,

Comment Using Facebook

30 Responses to this Article | Share your Opinions/Comments

We moderate comments to prevent spam. Moderation is done within few hours. Please try and stay on topic and refrain from using abusive language. If you think there is a problem with this post, please email the post author or send us an email at tips@techie-buzz.com with the URL and the problem you see and we will rectify it as soon as we can.

  1. Keith Dsouza on August 1st, 2009 at 6:02 pm #

    Excellent one Keshav, I never knew about it :), neways my laptop is never shutdown except for those pesky windows restarts LOLs, but yea this is definitely handy tip :-)

  2. pramodh on August 2nd, 2009 at 1:40 am #

    Really nice one… Knew only about how to create a shutdown icon.. not setting up time etc….

  3. joe on October 20th, 2009 at 1:20 am #

    wow. this should be automatically programmed into pcs, seeing as it’s so useful. definetly telling my friends about it.

    • Dr. Freeman on November 17th, 2011 at 1:46 am #

      This is “already programmed into PCs.” (I can tell by your wording that you’re likely a tech illiterate.)

      There is the shutdown application, a basic tool which does tasks like shutdown, log off, and probably, though I’m not sure, items like sleep and hibernate.

      All this does is send a command to the shutdown application to do what you told it to do.

      As for a GUI frontend or such to let you seamlessly set your system to auto-shutdown whenever you want without using actual commands to send to it, you could just download a free tool off the Internet. There’s probably thousands of them.

  4. Jess on May 26th, 2010 at 7:05 am #

    Wow Thats actually fantastic! Thanks so much! x

  5. Anonymous on May 27th, 2010 at 11:56 pm #

    That was beautiful and useful. Probably a lot of 'em already know this. But posting it again shall have many others learn the trick. Appreciate your efforts.

  6. Ahmed Farouk on July 4th, 2010 at 9:20 pm #

    Thank You, it's really good

    in addition i made abort shut down as a sort cut file also

    no need to install additional software thatmay be harmful to the pc.

    ahmed

  7. S.Suresh Babu on August 29th, 2010 at 1:56 am #

    Thanks a lot, Its very useful information ..
    BY S.Suresh Babu,Pharmacist ,K.Maafushi ,DPRS,Maldives

  8. Kevin on September 19th, 2010 at 1:04 am #

    I was wondering can you tell me how to append the -c “Computer is shutting down”

    • fil on August 8th, 2011 at 9:31 am #

      ive also been having problems getting this part to work.. any help?

      • Bijay Limbu on November 14th, 2011 at 9:50 am #

        shutdown.exe -s -f -t 3600 -c “My computer is shutting down !!!!!!!!!!!! wawooo “

  9. emmanuel on November 16th, 2010 at 2:07 pm #

    thanks a lot, bro. this is cool and very useful to me.

  10. D D Jha-Araria(Bihar) on December 2nd, 2010 at 11:34 am #

    not useful, if possible engage the programer to write a simple program so that the problem can be resolved.

  11. gem on January 1st, 2011 at 12:56 pm #

    how to delete the shortcur from windows system32?

    • Dr. Freeman on November 17th, 2011 at 1:53 am #

      …If there’s a shortcut in system32 that it’s not letting you delete… I’m pretty sure that’s the SHUTDOWN APPLICATION ITSELF!

      Seriously, I’d recommend you not touch a thing within the \Windows folder.

  12. MArk on January 17th, 2011 at 2:08 pm #

    Log off variant will not work on Windows 7

  13. Anders on March 21st, 2011 at 9:54 am #

    Can this be used for programming the computer to do anything else than shutdown, standby and etc?

  14. shahal on May 28th, 2011 at 4:09 pm #

    Thanks dude…….. wanted to know this very badly…..

  15. Vitaly on June 29th, 2011 at 11:48 pm #

    Awsume thnx so much for the info, now I can put my music and go sleep in piece of mind. :) cause my computer will shutdown by itself

  16. Parmar NIkunj on August 2nd, 2011 at 1:20 pm #

    Really.. really a very great implementation Keshav..!!! We really proud of U..
    !!!!!

  17. tyu7tri on August 25th, 2011 at 6:07 pm #

    wow: i’m taking the control of my freaking computer

  18. Audra on September 11th, 2011 at 12:45 am #

    i likey!! hehehe.. its rly useful.. :)

  19. Mihir on September 24th, 2011 at 3:13 am #

    what if i want to hibernate using the same method on my laptop..

  20. pupun on December 5th, 2011 at 4:50 pm #

    thanks for sugestaion.

  21. pupun on December 5th, 2011 at 4:54 pm #

    hi
    Keshav
    can you send me a w7 eternity genuine product key/serial key

    thanks

  22. Nikhil on December 7th, 2011 at 12:21 am #

    This’s so helpful!!!! Thank You!!!

  23. sri on December 31st, 2011 at 12:08 pm #

    Thats a good one bro ,…. thanks for it

  24. nguonlaos on January 11th, 2012 at 9:48 am #

    Thanks Keshav, it works well! But a bit more, to abort the shutdown timer: right click on its icon then right click on properties and write down in the target box the same syntax as Keshav mentioned above.

  25. srinishan on March 7th, 2012 at 12:32 pm #

    Its is not good idea. It can work people who is having good speed….