The number of reasons for Windows reboots has decreased considerably over the years. But, sometimes, it seems odd to me that operating systems still have to reboot at all. I think, the rise of tablets will force system developers to rethink this weakness. Until then, we have to shut down and reboot our computers at least every now and then.

Latest posts by Michael Pietroforte (see all)

The problem is that "now" is usually the wrong time from the user's perspective, and sometimes Windows insists that "then" is too late. There are many reasons why Windows can initiate a restart without user consent, including during the processing of automatic Windows updates or when an updated application just wants to be sure that everything will work properly. Or perhaps you just initiated the shutdown at the moment your boss calls to ask for some important data and you want to stop it.

I know of four ways to stop or prevent shutdowns and reboots:

1. Click the clock ^

If you are sitting in front of the PC and recognize that one application window after the other magically closes without your intervention, then you have to be very quick to convince Windows that "now" is not "then." This can be done by clicking the clock in the systray to change the date to a time in the past. This makes Windows believe that "now" is still in the future and so it stops the shutdown or reboot process. The problem with time machines is that they need a lot of energy and, in this case, a lot of speed to be put into action. If you only have a few applications open for Windows to close, you will see the "Shutting down…" message before you even had the chance to click the calendar.

Stop shutdown - Click the Clock

2. Shutdown -a ^

The "click the clock" trick is not the official way to cancel shutdowns. An alternative is to open a command prompt and type "shutdown -a". However, only a young PowerShell geek who doesn’t have arthritis in his fingers yet would be fast enough for that. To be prepared for the future, you can just create a Windows shortcut and use the "shutdown -a" command as the "location of the item." If you copy this shortcut to the quickstart bar or to the Windows 7 taskbar, then you can stop a shutdown with a single click in the future.

3. Shutdown Event Tracker ^

Click the clock and shutdown -a only help if you are currently working on the PC. Besides, only John Wayne in his early days would have been fast enough to always win the duel with Windows. For seasoned admins like me, it makes sense to activate the Shutdown Event Tracker. If this setting is enabled, Windows will always display the Shutdown Event Tracker dialog before it actually shuts down the computer. You probably know this feature from Windows Server; enabling this GPO setting will activate it for Windows clients as well. This means an extra click to shut down Windows, but, at least, you will always have enough time to load your rifle and pull the trigger when you are ready. The corresponding Group Policy setting to activate the Shutdown Event Tracker can be found here: Computer Configuration\Administrative Templates\System\Display Shutdown Event Tracker.

Stop Shutdown - Windows Shutdown Eventtracker

4. ShutdownGuard ^

If you don't want the Shutdown Event Tracker to ask for a reason every time you reboot, then you might be interested in ShutdownGuard. This tiny free tool sits in the systray and can be enabled or disabled with a mouse click. If enabled, it will prevent every shutdown. In Windows XP, ShutdownGuard displays its own warning message in the systray; in Vista and Windows 7, the integrated new shutdown warning dialog appears. You can then either cancel the shutdown or just click "Force shut down".

Stop shutdown - ShutdownGuard

Do you know of another way to cancel or prevent shutdowns?

Articles in series

Restart Management

  1. Tilman 11 years ago


    How about (temporarily) disabling the Windows update service (ie. "net stop wuauserv")? This even helps when you already see the countdown timer for automatical reboot.


  2. This is interesting. But I guess this only works for restarts that were initiated by Windows Update.

  3. Mohit Bharatwal 11 years ago

    Hi Michael,

    can we install shut down guard in windows server 2008 enterprise?

    thanks much!

  4. Dejan 11 years ago

    Hi Michael

    But I think, that you can set, that the server does not reboot when updates are deployed directly into GPO. I solved this problem by placing servers into diferent groups, than set client side trigering, created OE in put special GPO to that unit. The server only reboots when no user are not loged on.

  5. Mohit, ShutdownGuard also works with Windows server versions.

    Dejan, yes, there are such GPO settings. I will cover automatic restarts because of Windows Update next week.

  6. leonard 11 years ago

    everytime i go to document and try to open it .documents shut down what can it be.

  7. R1 10 years ago

    I suggest changing "magically" to "automatically"

Leave a reply

Please enclose code in pre tags

Your email address will not be published. Required fields are marked *


© 4sysops 2006 - 2021


Please ask IT administration questions in the forums. Any other messages are welcome.


Log in with your credentials


Forgot your details?

Create Account