Windows: Shutdown system using commands

This item was filled under [ General, Networking, Windows Topics ]

Shutdown your windows system using command line

It is very easy to shudown our system using GUI, let’s try below command line options too,

1) shutdown -s : To Shutdown the system after 30 seconds.

Note: 30 seconds is the default time, it can be changed by given below commands.

2) shutdown -r : To Reboot the system after 30 seconds.
3) shutdown -l : To log-off the system.
4) shutdown -a : To abort the shutdown in progress.
5) shutdown -p : Immediate shutdown.
6) logoff : To log off the system.

7) shutdown -c ” comment” -s : To diplay requirement comment while shutting down
8) shutdown -i : GUI shutdown, logoff, restart,seconds warning, can add multiple computers also for the shutdown.

we can shutdown remote system , here administrator priviledges are required and also it should be in the same domain

9) shutdown -m \\10.44.11.91 -f -r : To shutdown remote system 10.44.11.91
10) shutdown -a -m \\10.44.11.91 : To abort shutdown of remote system 10.44.11.91

We can schedule the shutdown easily with this and also can set the timings for shutdown according to our need.

11) shutdown -r -t 60 : Reboot system after 60 seconds
12) shutdown -s -t 60 : Delayed shutdown after 60 seconds

  • Share/Bookmark
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

5 Comments on “Windows: Shutdown system using commands”

  • InventorXNo Gravatar
    30 January, 2009, 19:57

    The information provided by you in the article,is really so helpful.
    Cau you provide any command via which i would be able to shutdown my system after some defined time suppose 100Sec??
    Thanks in advance.

  • UnixAdNo Gravatar
    31 January, 2009, 13:43

    I think last command gives better idea about your question :D

  • AndyNo Gravatar
    4 February, 2009, 11:14

    Great post , I Digg your post it is well written and excellent information that i could find on google on this niche today, definely Stumble UP , Cheers ! Andy Colleman - Manhattan :)

  • mad4unixNo Gravatar
    16 February, 2009, 18:36

    Indeed a Good Post. In Windows never had the thought of going by command line while having GUI at the hand..
    Thanks..Great job!!

  • sunnyNo Gravatar
    7 September, 2009, 10:27

    sir how we shutdown any other system using c program and using dos editor .
    plese send me message .

Leave a Comment

  • Google Translator

      Translate to: