Stop Windows shutdown

I want to be able to prevent users from shutting down windows.  My preferred method is to 'hijack' shutdown.exe so that it runs a script that alerts a manager that someone has tried to shutdown the computer. (I have that script written, and compiled as an exe).  Then I'd like to have a re-located 'shutdown.exe' be accessible from a more concealed location. Like Start|Shut computer down|really|are you sure|shutdown

My problem is, that even with shutdown.exe moved from the system32 folder, start|shutdown still causes the computer to shut down.

There's obviously a part of this that I do not understand.
Who is Participating?
GeodashConnect With a Mentor Commented:
Yes, you can do that - check out this discussion
1st .. you can move the shutdown and rename the file so that user does not know what is the file to shutdown..
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Why don't you just set a group policy to not let the users shut down the PC?
hgj1357Author Commented:
These solutions completely prevent the users from shutting the computer down. I want to make it harder, but not impossible.

Can I remove SHUTDOWN from the start menu, but still allow shutdown.exe -s to be run?
hgj1357Author Commented:
You got it.

I can still run shutdown.exe to shut windows down, but I can control it now.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.