hgj1357
asked on
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.
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.
Why don't you just set a group policy to not let the users shut down the PC?
http://technet.microsoft.com/en-us/library/cc940398.aspx
http://technet.microsoft.com/en-us/library/cc940398.aspx
ASKER
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?
Can I remove SHUTDOWN from the start menu, but still allow shutdown.exe -s to be run?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
You got it.
I can still run shutdown.exe to shut windows down, but I can control it now.
Thanks
I can still run shutdown.exe to shut windows down, but I can control it now.
Thanks
http://www.howtogeek.com/howto/7553/remove-shutdown-and-restart-buttons-in-windows-7/