Monday, November 2, 2015

Resolving a Visual Studio uninstallation that takes forever

In some cases, uninstalling Visual Studio may seem to take a long time (as in days) with some cryptic messages about "Applying something" and a looping ball animation as shown in the screenshot below.

If you are in this situation, open up the Windows Task Manager and examine the Disk activity. If the disk activity is minimal, it means the uninstaller is not doing anything and waiting for something.

I found out that the uninstaller will not be able to proceed if the anti-virus software AVG is enabled and running on the system. It seems that AVG will hold onto some files needed by the uninstaller and the installer will wait endlessly for the files to be released. There is no timeout and there is no error messages displayed in the uninstaller.

  1. So to resolve the situation, simply disable AVG temporarily.


  2. Run the Visual Studio uninstaller again.
  3. Optional. Run Task Manager and show the Disk activity.

    The disk activity should be high.

  4. Visual Studio should be successfully removed within a reasonable amount of time now.

No comments:

Related Posts with Thumbnails