Windows: Shutdown system using commands
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
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







5 Comments on “Windows: Shutdown system using commands”
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.
I think last command gives better idea about your question
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
Indeed a Good Post. In Windows never had the thought of going by command line while having GUI at the hand..
Thanks..Great job!!
sir how we shutdown any other system using c program and using dos editor .
plese send me message .