77

I'm trying to install .NET 4.6.1, but it claims I have a newer version installed and won't let me. I do have .NET 5 installed, so I'm trying to uninstall that. I had two installations, one for RC1 and one for RC1 Update 1. I removed the Update 1 installation, that went fine, but RC1 itself won't uninstall. When I run the uninstaller it opens a prompt to locate AspNet5.ENU.RC1.exe. This version of the installer seems to have been wiped from the internet in favor of the RC1 Update 1 installer (AspNet5.ENU.RC1_Update1.exe). If I cancel the prompt I get 0x80070642 - User cancelled installation. If I point it to the Update 1 installer, I get 0x80070001 - Incorrect function. I'm able to repair with no problems, I just can't uninstall.

How can I fix this so I can properly uninstall .NET 5 RC1?

4
  • Maybe this helps you: github.com/aspnet/dnvm/issues/254
    – Matthias
    Commented Dec 10, 2015 at 21:07
  • 1
    @Matthias It doesn't. I don't understand what I have to do. I don't know what that dnvm is they are talking about.
    – Mörre
    Commented Jan 6, 2016 at 13:30
  • 1
    Avoided asp.net-core tag, as this is the RC1 only issue.
    – Lex Li
    Commented May 28, 2016 at 10:43
  • November 2020 - Install full version .NET 5 (finally merged net core and net framework) @ dotnet.microsoft.com/download/dotnet/5.0
    – hB0
    Commented Nov 14, 2020 at 11:15

4 Answers 4

163

I had the same issue, I found it by googling the KB id. http://download.microsoft.com/download/B/0/A/B0AEBD7D-6979-4265-B1AC-A0B73618FB22/AspNet5.ENU.RC1_Update1.exe

or this:

http://download.microsoft.com/download/1/8/0/18048EDD-9F45-479A-B208-6F7C91CF2ECC/AspNet5.ENU.RC1_Update1_KB3137909.exe

5
  • this is the answer but you have to uninstall the files in the order in which they were installed - AspNet5.ENU.RC1_Update1_KB3137909.exe goes first (if you have it)
    – Bogdan
    Commented Jun 17, 2016 at 19:18
  • 3
    In my case, it only worked when I uninstalled AspNet5.ENU.RC1_Update1.exe first, followed by uninstalling AspNet5.ENU.RC1_Update1_KB3137909.exe second.
    – Sean Holm
    Commented Jun 23, 2016 at 3:29
  • 1
    For me (vs2015/vs2015 update 3 already uninstalled) worked when I run first "AspNet5.ENU.RC1_Update1_KB3137909.exe", and select uninstall. For AspNet5.ENU.RC1_Update1.exe I got error: another version already installed.
    – apr
    Commented Mar 16, 2017 at 8:05
  • 3
    When trying to uninstall using the first executable I always get a "the specified account already exists" error dialog.
    – RichardD
    Commented Nov 5, 2017 at 14:51
  • 7
    All these links are now broken. Any idea where to get this file now?
    – cfp
    Commented Nov 12, 2020 at 16:32
8

I downloaded only AspNet5.ENU.RC1.exe file from here: https://www.microsoft.com/en-us/download/details.aspx?id=49959 start it and run "uninstall". The uninstallation procedure with this file, for ASP.NET 5 RC1, works without problems.

1
  • Worth noting that the stated file also gave an error before allowing it to be uninstalled as a previous version still exists. To fix just run it via CMD with the /uninstall flag as follows. AspNet5.ENU.RC1.exe /uninstall and then your allowed to hit uninstall
    – RADXack
    Commented Feb 1, 2018 at 2:42
3

I managed to uninstall it by downloading the installer from asp.net and tried to install it by double clicking on the file. It gave an option to repair and uninstall.

0

I ended up reinstalling Windows for an unrelated reason. I made a point of not installing the update to "Microsoft ASP.NET and Web Tools" and the problem has not happened again.

1
  • This isn't specifically targeted at solving the problem at hand.
    – Crono
    Commented Nov 21, 2016 at 16:18

Not the answer you're looking for? Browse other questions tagged or ask your own question.