infolink

Monday, October 3, 2011

How to completely remove a corrupt installation of Visual Studio 2010

The other day I logged into my machine and went to open a Visual Studio 2010 project. When Visual Studio 2010 launched I got an error telling me that my installation of Visual Studio 2010 was not fully installed. Very odd I hadn't installed anything and I have run Visual Studio 2010 many times in the last few weeks.

Well needless to say I had to try to uninstall and reinstall Visual Studio 2010. While this may seem simple, it didn't go so well. First, when I tried to uninstall Visual Studio 2010 it would get halfway through and then would say the installer could not complete and had encoutered an error. Next, when I tried to remove SP1, that would also fail. After many attenmpts I finally removed most of it. It was now no longer showing in programs and features.

I then thought everything was fine, so I tried to reinstall Visual Studio 2010. Well this didn't go very well. It would get 1/3 of the way through the installation and it would then give some unknown error and stop.

After some research I came by Visual Studio 2010 Uninstall Utility, I uploded it to One Drive since Micrososft removed the file and page from their site. I have scanned it for viruses and Malware and it is cleaned. The name of the file is VS2010_Uninstall-RTM.ENU.exe. It can be downloaded from here:

https://onedrive.live.com/?cid=394923f8264b10f7&id=394923F8264B10F7%211220

This handy little tool did not only run successfully, but it completely removed and uninstalled Visual Studio 2010 and all it's installed modules.

The Visual Studio 2010 Uninstall Utility can be run in 3 different modes:

Default (VS2010_Uninstall-RTM.ENU.exe)
Uninstalls all top level products of 2010 release and its supporting components. This mode does not remove Visual Studio components shared with previous product releases (e.g. Visual Studio 2008) or system level updates such as Microsoft .NET Framework 4.0.

Full (VS2010_Uninstall-RTM.ENU.exe /full)
Removes Visual Studio 2010 and supporting products, including components shared with previous versions of Visual Studio. Note: may break features of previous versions of Visual Studio installed on the machine. This option does not remove Microsoft .NET Framework 4.0 from the machine.

Complete (VS2010_Uninstall-RTM.ENU.exe /full /netfx)
Removes entire set of Visual Studio 2010 and supporting products, including Microsoft .NET Framework 4.0 and components shared with previous versions of Visual Studio. Note: may break features of previous versions of Visual Studio or other products taking dependency on Microsoft .NET Framework 4.0.



8 comments:

  1. Thank you! You just saved me a week of wasted effort!

    ReplyDelete
    Replies
    1. No problem, very glad I could help.

      Thank you,
      James Campbell
      MCP, MCSE, MCSA, Security +

      Delete
  2. Thanks a lot. I should have read this before wasting a lot of time on installations and un-installations of VS.

    ReplyDelete
    Replies
    1. Very glad I could help. It was quite frustrating, was so much aggravation, that I posted this with the hopes that it would save someone else some time.

      Thank you,
      James Campbell
      MCP, MCSE, MCSA, Security +

      Delete
  3. Hi there. Thanks for the article but both the links you use in there are no longer valid. Do you have any idea where to find the removal tool now?

    ReplyDelete
    Replies
    1. Try this for now:

      https://onedrive.live.com/?cid=394923f8264b10f7&id=394923F8264B10F7%211220

      Delete
  4. Since the archive site has been retired, this utility has disappeared. Anyone know where it can be found now?

    ReplyDelete
    Replies
    1. Try this for now:

      https://onedrive.live.com/?cid=394923f8264b10f7&id=394923F8264B10F7%211220

      Delete

Amazon1