Well Computer Shutdown is something I am sure everyone using a Computer would be aware of. It comes under the basic knowledge of a Computer but there are many things I am sure you don’t know about Shutdown command and I (http://learnhacking.in) am exactly going to tell you the same..
The easiest way to shut down your computer is to type (shutdown –s) in to cmd “command” and that will give a message that “the computer will shutdown and you have 30 seconds”. But if you just type (shutdown -a) it will abort the shutdown but there are other commands. I will just start off doing the easiest ones.
It will shutdown your computer in 30 seconds and display a message
shutdown –s –t 40
It will shutdown in 40 seconds but you can only go up to 86400 (24 hours) but if you make it 0 it will show no message and just shutdown
shutdown –s –c ”haha the computer is going to shutdown”
it will shutdown with a message in a box under the time
It will just log you of the computer
It will display the GUI shutdown window
Will restart the computer
it will abort the shutdown
will force all running applications to close
I m not much confident about how to use (shutdown –d) so I just grab this of the net
-d [u] [p]:xx:yy
The reason code for the shutdown
u is the user code
p is a planned shutdown code
xx is the major reason code (positive integer less than 256)
yy is the minor reason code (positive integer less than 65536)
and now the fun stuff starts to begin if you still go to school or uney with the “-m” command
the –m command will let you shut down computers on the network and all you need is the ip address or the computer name (its found in the system info in the “computer name” tab)(right click on my computer and go to properties and you will see “computer name”)
once your have the ip or the computer name just type (shutdown –s –m \\”ip/computer name” in to cmd but you can use all the command with it but you carnet use “-l” over the network it doesn’t let u
and now to turn it in to a file so who ever opens it, it will make the computer shutdown just type what ever you want the computer to do in to a notepad file and save it as a .bat file(go to save as and (what ever name u want) and type .bat at the end.
Now share this information and enjoy Learning Ethical Hacking.