You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
.NET 6.0.1 / .NET 6.0.2 Windows Update fails with error 0x80070643 #7044
Problem encountered when installing - Windows Update 2021-12 .NET 6.0.1 Security Update for x64 Client (KB5009191)
Operating System: Windows
Description: There have been limited reports of a failure to install the update via Microsoft Update on Windows 11. The update fails with error code 0x80070643. A workaround is to install the package that is failing manually by downloading it from the .NET 6.0.101 x64 SDK download site, then scanning again.
The other work around is to update Visual Studio installer to 17.0.4.
Reacted by General Jack O'Neill, am-cbi, Tommaso Scalici, FrostByteLXV, sky96111, Jesper Hansen, Anthony Langsworth, f19, gagabu, David and 81 more
Reacted by CapitanPrasley, AraHaan, Garfunkel Vila, Phil Puglisi, Lino Schmidt, ksediqi, Radu Ursache, superfaz, Felux, Imanol and 2 more
On Windows 10, same issue. I wish there was a better way to deal with this. I've had to jump through some hoops to resolve similar issues with .Net Core 3.1.
I have had the same issue (Windows 11), but solved it with the Visual Studio Installer. Updating there installed the SDK version 6.0.101.
Reacted by Michael McAuley, Luke Preiner, Derek Gabriel, Fan Bao, Enver Daniel Francisco Baez, Jyot Tushar Hathi, AraHaan, Garfunkel Vila and Þór Sigurðsson
When you say 6.0.2, did you only install the runtime or did you install the 6.0.102 SDK. Updates are branded under the runtime version, but could include one or more SDK that's associated with the release.
I may have a different issue, hope it is okay, to post it here.
I did get the latest Windows Update offered, and it got installed correctly according to Windows Update.
Hope the german User Intrace is understandable.
But out of curiosity I looked into "dotnet --info" and the version 6.0.3 is no where to be found
@PhantomGamers and @milesbuckton could you two also check if 6.0.3 is actually already installed and the update breaks because of that?
I observed previously that net6.0.x installed by Visual Studio, then by a windows update would remove the sdk installed by VS. I don't think however there's a VS shipping 6.0.3 yet though?
Runtime Version and SDK Version are different.
They are even different between Visual Studio Versions.
Visual Studio 17.0.x uses SDK 6.0.103 but Visual Studio 17,1.x uses SDK 6.0.201.
But atleast your windows update did something as x64.
My x64 dotnet -info shows nothing
no runtime 6.0.3
no sdk 6.0.103
no sdk 6.0.201
I expected the sdk 6.0.201 to be installed as I am using Visual Studio 17.2 preview 1.0 + the runtime 6.0.3 for x64.
The only thing I got was the runtime 6.0.3 for x86.
@Rand-Random, you're a genius - thank you! Your solution worked for me! 😄 I uninstalled 6.0.201, then installed 6.0.103, 6.0.200, and 6.0.201 again. Now Windows Update is satisfied. See below:
Sadly for me that is not an option as 6.0.2xx or so is part of Visual Studio and so uninstalling it might break the IDE.
Edit: wish the IDE would not try to install the 6.x but instead the 7.x sdk's when you have only the preview version installed, else stable 6.x when non-preview install of vs2022.
Sadly for me that is not an option as 6.0.2xx or so is part of Visual Studio and so uninstalling it might break the IDE.
Edit: wish the IDE would not try to install the 6.x but instead the 7.x sdk's when you have only the preview version installed, else stable 6.x when non-preview install of vs2022.
Hi @AraHaan, I never uninstalled Microsoft .NET SDK 6.0.201 (x64) from Visual Studio, only the standard one Microsoft .NET SDK 6.0.201 (x64). It appears both can coexist. See below:
Activity
damienmci commentedon Dec 16, 2021
I've received the same error. The work-around above has addressed the issue.
gingters commentedon Dec 16, 2021
I also had that issue. The work-around helped for me, too.
StefanoZamboninD22 commentedon Dec 16, 2021
Same problem, same solution for me.
daedalus-codes commentedon Dec 16, 2021
On Windows 10, same issue. I wish there was a better way to deal with this. I've had to jump through some hoops to resolve similar issues with .Net Core 3.1.
pvanlaar commentedon Dec 16, 2021
I have had the same issue (Windows 11), but solved it with the Visual Studio Installer. Updating there installed the SDK version 6.0.101.
KD0AZT commentedon Dec 17, 2021
Same issue. Was also able to solve it through the Visual Studio Installer.
SMHodges commentedon Dec 17, 2021
Had the same problem, had to use the direct installation workaround.
MichaelKoster70 commentedon Dec 17, 2021
Had the same issue. Updating to VS 17.0.4 fixed the problem
TheCakeMonster commentedon Dec 17, 2021
I've got the same problem on Windows 10; this isn't limited to Windows 11
chrisaut commentedon Dec 17, 2021
Also getting this on fully patched machine, rebooting, retrying nothing helped, googling landed me here, Win11 22000.376
fraluderin commentedon Dec 17, 2021
Same issue on Windows 11 22000.376. Updating to VS 17.0.4 solved for me.
SpirTBBX commentedon Dec 17, 2021
I had the same issue with Windows 11. Updating through Visual Studio Installer fixed it.
seantleonard commentedon Dec 17, 2021
Same issue. Error
0x80070643when attempting to install2021-12 .NET 6.0.1 Security Update for x64 Client (KB5009191). on Windows 11 22000.376.I am on Visual Studio 2022 Preview so updating there, as the last workaround mentioned, did not work as I was still on .NET version 6.0.100.
After manually installing using the 6.0.101 from the first workaround, the issue was solved.
Mrgaton commentedon Dec 17, 2021
i need help 😢
54 remaining items
AraHaan commentedon Mar 9, 2022
The SDK installers for x86 and x64.
PhantomGamers commentedon Mar 10, 2022
I was getting the error with 6.0.2 so I successfully installed the update manually, however I am getting the error again now with 6.0.3

milesbuckton commentedon Mar 10, 2022
💡 I'm not sure if the below scheds more light on the situation:
ℹ️ I have Visual Studio 2022 17.1.1, and Visual Studio 2017 15.9.45 installed.
Rand-Random commentedon Mar 10, 2022
I may have a different issue, hope it is okay, to post it here.
I did get the latest Windows Update offered, and it got installed correctly according to Windows Update.
Hope the german User Intrace is understandable.
But out of curiosity I looked into "dotnet --info" and the version 6.0.3 is no where to be found

jespersh commentedon Mar 10, 2022
@Rand-Random
Could you check the x86 dotnet? I see it there, but not in x64 which it claims it installed:
Seems like it only installed the x86 version for 6.0.3?
I marked the lines from this update cycle with
>>>Rand-Random commentedon Mar 10, 2022
@jespersh
Yes, I do find 6.0.3 as x86
jespersh commentedon Mar 10, 2022
@PhantomGamers and @milesbuckton could you two also check if 6.0.3 is actually already installed and the update breaks because of that?
I observed previously that net6.0.x installed by Visual Studio, then by a windows update would remove the sdk installed by VS. I don't think however there's a VS shipping 6.0.3 yet though?
PhantomGamers commentedon Mar 10, 2022
@jespersh ah according to

dotnet --infothe 6.0.3 runtime is installed but I only have the 6.0.201 SDK installedAraHaan commentedon Mar 10, 2022
The 201 SDK is 6.0.3 I think.
Rand-Random commentedon Mar 10, 2022
@PhantomGamers
That is to be expected as you can see here:
https://dotnet.microsoft.com/en-us/download/dotnet/6.0
Runtime Version and SDK Version are different.
They are even different between Visual Studio Versions.
Visual Studio 17.0.x uses SDK 6.0.103 but Visual Studio 17,1.x uses SDK 6.0.201.
But atleast your windows update did something as x64.
My x64 dotnet -info shows nothing
I expected the sdk 6.0.201 to be installed as I am using Visual Studio 17.2 preview 1.0 + the runtime 6.0.3 for x64.
The only thing I got was the runtime 6.0.3 for x86.
milesbuckton commentedon Mar 11, 2022
Hi @jespersh,
dotnet --infodoes show that it is installed:Rand-Random commentedon Mar 11, 2022
@milesbuckton
If I had to guess, you need to manually install the 6.0.200 sdk to get rid of your windows update message.
https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-6.0.200-windows-x64-installer
Very basic explanation, of how I understand the problem
Windows Update seems to want everything, even older SDK version, but fails to deliver,
Edit:
and/or the 6.0.103 sdk
https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-6.0.103-windows-x64-installer
milesbuckton commentedon Mar 14, 2022
@Rand-Random, you're a genius - thank you! Your solution worked for me! 😄 I uninstalled 6.0.201, then installed 6.0.103, 6.0.200, and 6.0.201 again. Now Windows Update is satisfied. See below:
AraHaan commentedon Mar 14, 2022
Sadly for me that is not an option as 6.0.2xx or so is part of Visual Studio and so uninstalling it might break the IDE.
Edit: wish the IDE would not try to install the 6.x but instead the 7.x sdk's when you have only the preview version installed, else stable 6.x when non-preview install of vs2022.
milesbuckton commentedon Mar 14, 2022
Hi @AraHaan, I never uninstalled
Microsoft .NET SDK 6.0.201 (x64) from Visual Studio, only the standard oneMicrosoft .NET SDK 6.0.201 (x64). It appears both can coexist. See below: