Solved

Stop Windows shutdown

Posted on 2012-04-04
6
342 Views
Last Modified: 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.
0
Comment
Question by:hgj1357
  • 2
  • 2
  • 2
6 Comments
 
LVL 17

Expert Comment

by:Anuroopsundd
ID: 37806598
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
 
LVL 17

Expert Comment

by:Anuroopsundd
ID: 37806602
0
 
LVL 9

Expert Comment

by:Geodash
ID: 37806858
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 2

Author Comment

by:hgj1357
ID: 37806879
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
 
LVL 9

Accepted Solution

by:
Geodash earned 500 total points
ID: 37806907
Yes, you can do that - check out this discussion

http://www.computerfreetips.com/windows-xp/windows-shutdown.html
0
 
LVL 2

Author Closing Comment

by:hgj1357
ID: 37808236
You got it.

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

Thanks
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Disclosure: Use this tutorial only when no other options helps to get Windows XP running without any problems and you don't want to format the drive. The back up of the data is the responsible of the user, however there is a description of how t…
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now