How to program your pc to shutdown automatically?

Here are simple steps to shut down your computer from MSDOS CMD.

How to get it done?

1>> Open Run from the start menu and type cmd.

2>>Type shutdown with one of these attributes:

  • -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/ip Remote computer to shutdown/restart/abort
  • -t xx Set timeout for shutdown to xx seconds
  • -c “comment” Shutdown comment (you can use this when you shutdown a remote computer)
  • -f Forces running applications to close without warning

eg: shutdown -s -t 60 -f (this will shutdown the computer in 60 seconds) while shutdown -a ( will abort the shutdown)




Stay ahead of your Friends, get Latest Updates FREE! ✉


Category: Windows

About the Author ()

Nikhil Chakravarthi is a Software Engineer by Profession and a Blogger by Passion. He is in Love with just one thing - Technology. He is from Silicon Valley and enjoys simple living.

Comments (3)

Trackback URL | Comments RSS Feed

  1. my blog says:

    Hi there, just wanted to tell you, I liked this blog post. It was helpful. Keep on posting!

  2. transfer says:

    Spot on with this write-up, I actually believe this amazing site needs a great deal more attention.
    I’ll probably be back again to read more, thanks for the information!

  3. KAVISH says:

    HI, ITS GREAT AND AMAZING WEBSITE.I WAS REALLY SOCKED WITH WONDER THAT SUCH A GOOD WEBSITE CAN EXIT IN THE INTERNET.

    GREAT JOB! REALLY GREAT JOB.
    KEEP IT UP…………………..

Leave a Reply