Windows Update – Hang on Reboot?

Posted on January 14th, 2009 by Luke Sheldrick.
Categories: IT / Tech.
Tags: , , , .

14 01 2009

Do your server(s) hang when they reboot after windows updates are applied? A lot of mine seem to, and usually it’s becuase one process gets stuck when it receives the kill signal… usually the windows update process.. If the server is in a remote location, can be a complete arse. There is a quick and dirty way to get around this.

Rather than rebooting as normal, or pressing the reboot now button on windows update, open up a command prompt (Windows > Start > Run > type cmd) and type the following:

shutdown -r -f -t 1

As shown below;

cmd reboot

The syntax is as follows;
shutdown == runs the shutdown process / app
-r == reboot
-f == force apps to close (so the process that gets stuck, gets forced to close)
-t 1 == time to delay before rebooting, in seconds. I choose 1, as I don’t want to wait around, pick whatever suits you.

Happy patching.

1 comment.

dom

Comment on March 15th, 2009.

usefull thanks :0

Leave a comment

Comments can contain some xhtml. Names and emails are required (emails aren't displayed), url's are optional.




Templatesbrowser.com