Shutdown command

brechtjah

Member
Joined
Mar 23, 2008
Messages
23
Programming Experience
Beginner
Hey,
for several times I have used the shutdown command for evil :p, but now I want to do something. I want to create a program that catches all incoming shutdown commands and shows from what IP they arrive and ofcourse make sure the computer does not shut down.
For those of you who do not know the shutdown command:
Start => Run (=> cmd) => shutdown -s -m <computerIP> -t <time> -c <comment> ... etc
It allows you (not in Vista anymore) to shutdown any external computer.
Anyway, so I want to create a program that detects this and shows who is trying to shut down your computer and don't allow the computer to shut down...
I don't know where to start, maybe you guys know.

Thanks
 
Back
Top