Stop Windows shutdown
Posted on 2012-04-04
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.