25 Sep

1. Shut It

Shut It is a shutdown monitor. In essence it monitors system shutdown requests via the WM_QUERYENDSESSION windows message. When it detects a shutdown, it will temporarily stop the shutdown until user interaction or a timeout period has elapsed. Shut It runs from a small icon in the system tray (beside the clock if visible).
During a Shutdown request, Shut It will scan (most of) the system process names and window titles. If any of these match existing user defined matches the system will perform the Shutdown Check detected Action (Do Nothing, Cancel the Shutdown, Show Warning Dialog, Abort on Timeout, Continue on Timeout, Hibernate on Timeout, Standby on Timeout). Otherwise the system will perform the No Shutdown Checks detected action. Here is how a shutdown warning notification looks like.

You can even schedule a Windows shutdown with Shut It. A Scheduled Shutdown allows you to specify a time in minutes or a specified time to attempt a system shutdown (or logoff, hibernate or suspend). Additionally you may specify an idle timeout. If you do, the idle timeout is only checked after the Scheduled Shutdown (timer) has triggered. For instance if you register a Scheduled Shutdown for 30 minutes and an Idle Timeout of 10 minutes, the idle count will only start once the 30 minute timeout has expired. Subsequently the idle timeout will stay active until it executes or is cancelled.
Shut It works only in Windows 2000 and Windows XP. The author of Shut It plans to upgrade to a new version in the foreseeable future, and subsequently test Shut It on Vista.
[ Download Shut It ]
2. Shutdown Monitor
Shutdown Monitor uses a fairly simple trick to prevent the user from inadvertently shutting down their PC. After you start shutdown monitor, it tells windows that it was one of the first programs that was started on the PC, so it will be the first notified if a user initiates a shutdown, reboot, log off etc. When it receives the shutdown notification it checks to see if the program you want the user to interrupt is still running, if it is, it pops up a message box and tells the user why they can’t shutdown and halts the shutdown process. (Logging off and Shutting down the PC is temporarily disabled during software installation. Shutting down before the installation is complete would damange the computer. Thank you for your patience.)

Shutdown monitor doesn’t have an interface to the program and configuration is done using command. To Prevent the computer from shutting down while a process is running, use the following:
"shutdown monitor.exe" file.exe
To stop Shutdown Monitor from monitoring or removing from memory, you can either end the task in Windows Task Manager or use the command "shutdown monitor.exe" quit
3. LastChance

LastChance is a desktop utility that provides the facility to run programs when the machine is shutting down. Once the user chooses Shutdown from the Start menu, LastChance will intercept the shutdown request and optionally run the configured programs, waiting for them to finish before continuing the shutdown procedure.
LastChance can also run programs when it detects that a resource has become available. This facility can be used in a variety of situations. Particularly, it allows programs to be run when a notebook is docked . See How to configure programs to run on resource availability. Additionally, LastChance can be configured to automatically shutdown a system at a specified time of day.
Works on Windows 95 to Windows XP. This tool is REALLY old (released 10 years ago on July 1998). This tool is slightly different than the first two tool above but it is related. It doesn’t prevent or cancel the shutdown but it allows you to run a program or command before shutting down.
4. ShutdownGuard

ShutdownGuard prevents Windows to shutdown, reboot or log off. When it prevents a shutdown it will pop up in the tray and ask you if you want to continue. ShutdownGuard can even prevent the Windows Update prompt from rebooting your computer. Not tested in Vista.
: Copying this article to your website is strictly NOT allowed. However, if you like this article, you can use the HTML code below to directly link to this article.
Schedule Windows Vista Shutdown with Vista Shutdown Timer Shutdown, Restart and Logoff Windows Computer Using Twitter How to Remotely Turn OFF Computer from LAN or WAN Quickly Shutdown or Reboot Your Computer in ONLY 5 Seconds Test the Effectiveness of Your Antivirus, Firewall and HIPS Software Why Are You Asked to Restart After Install or Uninstall Software? Keep Application Running by Automatically ReRun When Closed
Have computer technical problems? Get FREE help from Raymond.CC FORUM
7 Responses for "Prevent, Cancel and Abort a Windows System Shutdown or Restart when Application is Running"
You could alternatively cancel a System Error shutdown (the one that you can’t shutdown because its either triggered by a critical error or a virus)
I have a Windows Vista computer shared with other users. Is there any way or program that can actually stop all non-admin users of the computer from shutting down the computer at all, whilst other users are still running other programs. Unfortunately, none of the above programs seem to do so. Any suggestions?
hmmm…look good..thanks ray!
thanks man, very useful .
Thanks for the referral to Shut It Raymond. FYI: I’ve now added Windows Vista support.
Hi,
I run a script at 6pm every night(at a school) to shutdown all computers, i would like to give the user the option to abort the shutdown, i like the Shut It “shutdown warning” is it possible to only use that dialog? Then make it shutdown after 60 seconds if nothing is pressed? or is there a better application for what i want?
Cheers
Leave a reply