It seems that some people at my school find it very amusing to shutdown one another's computers remotely using the 'shutdown -i' command and then browsing and adding my computer. Anyway, I was wondering if there was a way to abort this if they set the time until shutdown to 0. I even created a batch program that continuously ran the 'shutdown -a' command. I thought this would work, but it says when they shutdown my computer a lot of error messages just pop up saying something like 'Can not run, windows is shutting down' or something of that sort. Any one know of a solution to this? I didn't know if it should go in this forum or the security forum, but since it is on a network, just thought it would fit better here.
By the way, my batch program looks like this: