Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On Windows 7 the computer freezes for about 5 minutes once it gets to "Shutting down...". I can't remember when it started happening. I just lived with it for a while.

The first thing I tried was a full scan using Microsoft Security Essentials. This did not solve the problem.

I then went into msconfig and turned off everything I could get away with in the startup and services tabs. This did not solve the problem.

I then uninstalled every program on this computer save the most basic programs. This did not solve the problem (did not uninstall drivers or catalyst).

I then went through and turned off every single service and did a reboot. This did not solve the problem.

I then booted into safe mode and just tried shutting it down. The problem even happens in safe mode.

I have tried examining the event logs but with no success. They just say things like "blah blah has entered the stopped state" with no real clues about what program is causing me all this grief.

*it may be worth noting that Ubuntu is installed on the same computer and the ubuntu boot loader is the one being used.

share|improve this question
it could be a deamon process not shutting down when asked to – ratchet freak Sep 23 '12 at 18:11
is there any way to figure out which one? if i knew which one i would just nuke the entire app – user1526247 Sep 23 '12 at 19:37
Have you tried a system restore? – soandos Sep 25 '12 at 13:27
up vote 1 down vote accepted

I fixed up a friends computer with similar symptoms - the cause turned out to be a rootkit that was booting from a 20MB hidden partition carved off the end of the drive.

The rootkit was getting control when the machine booted, and was in turn booting the legitimate OS and hosting it. Long shutdown times for the machine were a result of the malware allowing it's processes to finish before continuing the shutdown.

Ended up nuking the whole drive - including the partition table, and starting from scratch with a fresh OS install.

Would be worth checking the partitions on your drive to make sure that only the legit ones are there.

One note: In my case the malware partition was marked as hidden and didn't show up in most partition tools; I stumbled across it when using a Linux live-cd to do a malware scan.

PS: I really hope this is not the solution to your problem, as removing this kind of malware is tedious and nasty.

share|improve this answer
probably was a mbr rootkit, nasty devils. – Moab Sep 23 '12 at 20:58
in order to avoid debugging pains i just did a reinstall. also helped me fix my soundcard in the process so all is good. reinstall only took 20 minutes plus another ten to install every web browser, security essentials, inkscape, gimp, and a few utilities. ...visual studio will be a pain though. – user1526247 Sep 30 '12 at 18:34

The Windows Performance Toolkit allows you to trace Shutdown and determine the cause of a slow shutdown.

Windows On/Off Transition Performance Analysis describes how this is done.

There is a useful introduction on the MSFN website.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .