Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What started out as initial fun and games between my fellow IT colleagues is now becoming somewhat annoying. Is there a way to block:

shutdown /r /m \\computername

from actually shutting my computer down?

share|improve this question

4 Answers 4

up vote 3 down vote accepted
shutdown -a

Will abort a shutdown in progress. It might be an idea to create a shortcut or batch file which can be easily found when the shutdown starts.

share|improve this answer
What if they add -t 00 and -f? –  Garan Jun 9 at 8:38

An even better way is to change the admin password on your computer.

share|improve this answer

Check this one at Administrative tools in Control panel.

Here is the whole article.

share|improve this answer
thanks for that. have accepted the other one as modifying local policy will get changed by the domain policy I believe. Still after a few blocked attempts I hope my colleagues will soon view me as invincible :) –  Tim Alexander Aug 19 '10 at 14:48
Oh I thought shutdown -a is not a good solution for you. Well..whatever. :) –  Shiki Aug 20 '10 at 7:32

Create a .bat file with the following contents.

@echo off                   
shutdown -a 


and save it as shutdownguard.bat. Then open it and do your thing like nothing is happening. What iT does is spamming shutdown cancel command on the background. You open it and minimize it.

share|improve this answer
This is a very bad solution. It will run in endless loops and most probably utilize a CPU core close to 100%. I am not sure if shutdownguard.bat does not recursively spawn a new process. In such a case you will soon occupy a lot of system resources. It is much better to use a loop. –  pabouk Nov 1 '13 at 14:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.