Friday, May 07, 2004 5:40 PM bart

Abort system shutdown

It seems quite a lot of people that suffer from worms such as Sasser and Blaster (I'm patching my systems, so I didn't see these myself) don't know you can abort the shutdown initiated by these worms (the countdown dialog saying that the system will shut down in 00:00:30 seconds), therefore allowing you to get the fix from the internet and apply it to the affected system.

The trick is this: when the countdown starts, open a command prompt (Windows-R, cmd, OK is the fastest way to do this) and type shutdown /a. This will abort the shutdown. This will work on Windows XP, 2003.

In fact, I'm demonstrating this quite a lot since Windows Server 2003 introduces some new command-line commands and this is one I'm showing the audience. Luckily the default shutdown delay is 30 seconds, so after a shutdown /s, I have 30 seconds time to execute shutdown /a (which is about 2.3 seconds per letter, should be enough for everybody, isn't it?).

Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Filed under:

Comments

# re: Abort system shutdown

Wednesday, May 26, 2004 8:26 PM by bart

Cheers...You're a life saver.

# re: Abort system shutdown

Wednesday, June 30, 2004 9:06 PM by bart

THANK YOU!!!

# re: Abort system shutdown

Thursday, July 22, 2004 9:06 PM by bart

THANK YOU!1!!!!

# re: Abort system shutdown

Thursday, August 26, 2004 3:23 AM by bart

nice! I would have never thought of that!

# re: Abort system shutdown

Tuesday, September 07, 2004 4:43 PM by bart

What if the shutdown -a will not execute on a windows 2000 machine

# re: Abort system shutdown

Friday, May 06, 2005 8:02 AM by bart

huuuhhh! no disappoinment anymore! stop system shutdown a very short period of time! thanks alot!

# re: Abort system shutdown

Wednesday, June 29, 2005 12:24 AM by bart

How do u open a command prompt. havn problems with 60 second shutdown.nd help or pc going out the window. alastairmartin@yahoo.com

# re: Abort system shutdown

Sunday, July 03, 2005 10:54 PM by bart

you can also goto START|RUN, and type SHUTDOWN -A

# re: Abort system shutdown

Thursday, September 22, 2005 5:19 PM by bart

how do i abort a system shutdown on window 2k server

# re: Abort system shutdown

Tuesday, September 27, 2005 3:46 PM by bart

The code in the following URL works perfectly on Windows 2000 machines. The code is wirtten in VC++ 6. Download the program from the following URL. You'll need to register on this website to download the program.

http://www.codeproject.com/system/AbortSystemShutdown.asp