Solved

Stop Windows shutdown

Posted on 2012-04-04
6
345 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Check network connectivity in DOS 11 115
Installing Windows XP from USB 10 111
How to install Windows XP Driver 28 141
How Do I Set Up XP Mode in Windows 7? 8 77
Most of the time we are in fix when all of sudden our systems behave weirdly.  Such problems cost time and effort... so it's best to take some preventive actions so that we can avoid such issues or overcome such problems more easily. Preventive M…
If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

778 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