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.
LVL 2
hgj1357Asked:
Who is Participating?
 
GeodashConnect With a Mentor Commented:
Yes, you can do that - check out this discussion

http://www.computerfreetips.com/windows-xp/windows-shutdown.html
0
 
AnuroopsunddCommented:
1st .. you can move the shutdown and rename the file so that user does not know what is the file to shutdown..

http://www.howtogeek.com/howto/7553/remove-shutdown-and-restart-buttons-in-windows-7/
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

 
GeodashCommented:
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
0
 
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?
0
 
hgj1357Author Commented:
You got it.

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

Thanks
0
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.