Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UnInstall Visual Studio 2010

I want to uninstall Visual Studio 2010 because the installation is corrupt, but impossible to do so. When I try to uninstall with the control panel, it got stuck at the beginning (I found on the web that I am not the only one). So I tried to use Visual Studio 2010 Uninstall Utility, but it got stuck too!!

I am completely out of ideas and I am in a hurry, can you help?

Thanks in advance.

Eric

enter image description here

like image 957
Eric Avatar asked May 10 '12 07:05

Eric


People also ask

Can I Uninstall Microsoft Visual Studio 2010 Tools for Office Runtime x64?

Yes you can remove these if you are not using Microsoft Visual Studio. Was this reply helpful?

Can I Uninstall older versions of Visual Studio?

For Visual Studio 2019 (Professional and Enterprise), the standard uninstallation method is using Visual Studio Installer(VS Installer > VS 2019 > More > Uninstall), or if you want to remove all installations of Visual Studio 2019 and the Visual Studio Installer from your machine, you can uninstall it from Apps & ...

Can I Uninstall Visual Studio 2010 Shell isolated?

You can uninstall Microsoft Visual Studio 2010 Shell Isolated - ENU from your computer by using the Add/Remove Program feature in the Window's Control Panel.


Video Answer


3 Answers

Visual Studio 2010 Uninstall Utility by Microsoft, this can be downloaded from here:

Download link

This handy little tool did not only runs successfully, but it completely removes and uninstalls Visual Studio 2010 and all it's installed modules.

The Visual Studio 2010 Uninstall Utility can be ran 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.

More information can be found here:

like image 77
Romil Kumar Jain Avatar answered Oct 18 '22 13:10

Romil Kumar Jain


I once had such a problem and struggled a lot before being able to uninstall it. I wrote the following PowerShell script for doing so:

# Be careful with that axe, Eugene.

Get-ChildItem HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall | 
select @{Name='Guid';Expression={$_.PSChildName}}, @{Name='Disp';Expression={($_.GetValue("DisplayName"))}} | 
where-object {$_.Disp -ilike "*Studio*"} | 
where-object {$_.Guid -like '{*'} | 
% {"rem " + $_.Disp; '$Env:WinDir\system32\msiexec.exe /x "' + $_.Guid + '" /passive'; ''} > uninstallVS.bat

This generates a .bat file that you can run to uninstall the thing.

No need to say that this is an absolute last resort / desperate measure. Don't use it if your life is not threatened.

like image 21
David Brabant Avatar answered Oct 18 '22 14:10

David Brabant


I ran into this problem today and discovered the the removal tool does NOT remove SP1, you should remove SP1 through Add/Remove programs in the control panel and then use the tool.

like image 44
David Elyk Avatar answered Oct 18 '22 14:10

David Elyk