The specified account already exists - .NET Core RC2 tooling Preview 1
Asked Answered
P

3

34

Recently and with the release of Visual Studio 2015 Update 3 and .NET Core RTM, I decided to uninstall my previous installation of Visual Studio 2015 Update 2 and have a fresh installation of Update 3. So I uninstalled Visual Studio completely and restarted my PC.

Now I decided to uninstall the Microsoft .NET Core 1.0 RC2 VS 2015 Tooling Preview 1 from Control Panel. It gives me the following error several times and then fails:

The specified account already exists.

and here is the error code:

0x80070643 - Fatal error during installation

In the log file, these lines are repeated several times:

[1760:1CA0][2016-07-01T02:30:32]i301: Applying execute package: WebToolsExtensionsVS14, action: Uninstall, path: (null), arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" SKIP_SETUP="1"'
[1760:1CA0][2016-07-01T02:30:39]e000: Error 0x80070643: Failed to uninstall MSI package.
[1760:1CA0][2016-07-01T02:30:39]e000: Error 0x80070643: Failed to execute MSI package.
[247C:2490][2016-07-01T02:30:39]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[247C:2490][2016-07-01T02:30:39]w348: Application requested retry of package: WebToolsExtensionsVS14, encountered error: 0x80070643. Retrying...
Puckett answered 30/6, 2016 at 22:5 Comment(2)
If there's option to Repair, try it. Then Uninstall.Korten
Repair gives same error about 'specified account already exists.'Mcmorris
P
3

As I said in the question, I had Visual Studio 2015 Update 2 uninstalled already, and couldn't uninstall the .NET Core tooling after that.

The fix was to INSTALL Visual Studio 2015 Update 3 and THEN uninstalling the .Net Core 1.0 Preview 1.

After that I successfully installed the Preview 2 version of the tooling and had no errors.

Puckett answered 1/7, 2016 at 22:14 Comment(1)
I had this same problem. Not wanting to reinstall Visual Studio 2015 to uninstall the core tools, I tried the official Microsoft install/uninstall troubleshooter. It patched some keys but said it couldn't fix the installer.Rubberize
S
94

This is a bug in the .NET Core Tools for VS2015 installer.

I got this error when I tried to uninstall all VS2015 related tools on Windows 10 (not reinstallation, because I want VS2017 instead). I uninstalled VS2015 before removing .NET Core Tools. While trying to remove .NET Core Tools, it tried to call WebToolsExtensionsVS14 for repair; WebToolsExtensionsVS14 failed because VS2015 no longer existed.

I found the MSI package for WebToolsExtensionsV14 in the package cache:

C:\ProgramData\Package Cache\{BFC344B0-DCDE-36EB-AB05-CB194F2BE946}v14.1.21111.0\packages\WebToolsExtensionsVS14_69.msi

and right-click uninstalled it. Then the .NET Core Tools uninstaller worked.

My recommendation is to remove core tools before removing VS itself.

I found some related issue here, after I figured it out. https://social.msdn.microsoft.com/Forums/vstudio/en-US/ae380a17-60e0-43a4-a481-6e58915e7897/net-core-errors-on-installation-webtoolsextensionsvs14-encountered-error-0x80070643?forum=vssetup

Swinish answered 14/3, 2017 at 17:34 Comment(2)
Thanks! If this doesn't work it's because the GUIDs are different. Search C:\ProgramData\ for WebToolsExtensions.Overtire
In my case (a more recent version) the package's path is C:\ProgramData\Package Cache\{D82E9DB7-1DAC-30F0-8ADF-52EAF842F7EA}v14.1.30801.0\packages\WebToolsExtensionsVS14_74.msi.Pusey
P
3

As I said in the question, I had Visual Studio 2015 Update 2 uninstalled already, and couldn't uninstall the .NET Core tooling after that.

The fix was to INSTALL Visual Studio 2015 Update 3 and THEN uninstalling the .Net Core 1.0 Preview 1.

After that I successfully installed the Preview 2 version of the tooling and had no errors.

Puckett answered 1/7, 2016 at 22:14 Comment(1)
I had this same problem. Not wanting to reinstall Visual Studio 2015 to uninstall the core tools, I tried the official Microsoft install/uninstall troubleshooter. It patched some keys but said it couldn't fix the installer.Rubberize
S
0

What has worked for me, was uninstalling chronologically all the versions of the .NET Core SDK and tools from the "Programs and Features" app. Then I was able to install .NET Core tools preview for Visual Studio version 2.0.3

Sternway answered 13/1, 2017 at 13:39 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.