Skip to content

.NET 6.0.1 / .NET 6.0.2 Windows Update fails with error 0x80070643  #7044

Closed

Description

@kalaskarsanket

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.

Activity

  1. damienmci commented on Dec 16, 2021

    @damienmci

    I've received the same error. The work-around above has addressed the issue.

  2. gingters commented on Dec 16, 2021

    @gingters

    I also had that issue. The work-around helped for me, too.

  3. StefanoZamboninD22 commented on Dec 16, 2021

    @StefanoZamboninD22

    Same problem, same solution for me.

  4. daedalus-codes commented on Dec 16, 2021

    @daedalus-codes

    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.

  5. pvanlaar commented on Dec 16, 2021

    @pvanlaar

    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.

  6. KD0AZT commented on Dec 17, 2021

    @KD0AZT

    Same issue. Was also able to solve it through the Visual Studio Installer.

  7. SMHodges commented on Dec 17, 2021

    @SMHodges

    Had the same problem, had to use the direct installation workaround.

  8. MichaelKoster70 commented on Dec 17, 2021

    @MichaelKoster70

    Had the same issue. Updating to VS 17.0.4 fixed the problem

  9. TheCakeMonster commented on Dec 17, 2021

    @TheCakeMonster

    I've got the same problem on Windows 10; this isn't limited to Windows 11

  10. chrisaut commented on Dec 17, 2021

    @chrisaut

    Also getting this on fully patched machine, rebooting, retrying nothing helped, googling landed me here, Win11 22000.376

  11. fraluderin commented on Dec 17, 2021

    @fraluderin

    Same issue on Windows 11 22000.376. Updating to VS 17.0.4 solved for me.

  12. SpirTBBX commented on Dec 17, 2021

    @SpirTBBX

    I had the same issue with Windows 11. Updating through Visual Studio Installer fixed it.

  13. seantleonard commented on Dec 17, 2021

    @seantleonard

    Same issue. Error 0x80070643 when attempting to install 2021-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.

  14. Mrgaton commented on Dec 17, 2021

    @Mrgaton

    i need help 😢

  15. 54 remaining items

  16. AraHaan commented on Mar 9, 2022

    @AraHaan
    Member

    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.

    The SDK installers for x86 and x64.

  17. PhantomGamers commented on Mar 10, 2022

    @PhantomGamers

    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
    image

  18. milesbuckton commented on Mar 10, 2022

    @milesbuckton

    ⚠️ I am also experiencing the same issue for .NET 6.0.3 on Windows 11:

    image

    💡 I'm not sure if the below scheds more light on the situation:

    image

    ℹ️ I have Visual Studio 2022 17.1.1, and Visual Studio 2017 15.9.45 installed.

  19. Rand-Random commented on Mar 10, 2022

    @Rand-Random

    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.

    image
    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
    image

  20. jespersh commented on Mar 10, 2022

    @jespersh

    @Rand-Random
    Could you check the x86 dotnet? I see it there, but not in x64 which it claims it installed:

    C:\Users\jsh>dotnet --info
    .NET SDK (reflecting any global.json):
     Version:   6.0.200
     Commit:    4c30de7899
    
    Runtime Environment:
     OS Name:     Windows
     OS Version:  10.0.19043
     OS Platform: Windows
     RID:         win10-x64
     Base Path:   C:\Program Files\dotnet\sdk\6.0.200\
    
    Host (useful for support):
      Version: 6.0.2
      Commit:  839cdfb0ec
    
    .NET SDKs installed:
      3.1.417 [C:\Program Files\dotnet\sdk]
      5.0.104 [C:\Program Files\dotnet\sdk]
      5.0.201 [C:\Program Files\dotnet\sdk]
      5.0.203 [C:\Program Files\dotnet\sdk]
      5.0.212 [C:\Program Files\dotnet\sdk]
      5.0.303 [C:\Program Files\dotnet\sdk]
      5.0.403 [C:\Program Files\dotnet\sdk]
      5.0.406 [C:\Program Files\dotnet\sdk]
      6.0.200 [C:\Program Files\dotnet\sdk]
    
    .NET runtimes installed:
      Microsoft.AspNetCore.All 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
      Microsoft.AspNetCore.App 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
      Microsoft.AspNetCore.App 3.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
      Microsoft.AspNetCore.App 3.1.21 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
      Microsoft.AspNetCore.App 3.1.22 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
    >>>  Microsoft.AspNetCore.App 3.1.23 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
      Microsoft.AspNetCore.App 5.0.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
      Microsoft.AspNetCore.App 5.0.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
      Microsoft.AspNetCore.App 5.0.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
      Microsoft.AspNetCore.App 5.0.14 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
    >>>  Microsoft.AspNetCore.App 5.0.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
      Microsoft.AspNetCore.App 6.0.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
      Microsoft.NETCore.App 2.1.26 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      Microsoft.NETCore.App 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      Microsoft.NETCore.App 3.1.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      Microsoft.NETCore.App 3.1.21 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      Microsoft.NETCore.App 3.1.22 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
    >>>  Microsoft.NETCore.App 3.1.23 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      Microsoft.NETCore.App 5.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      Microsoft.NETCore.App 5.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      Microsoft.NETCore.App 5.0.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      Microsoft.NETCore.App 5.0.14 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
    >>>  Microsoft.NETCore.App 5.0.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      Microsoft.NETCore.App 6.0.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      Microsoft.WindowsDesktop.App 3.1.13 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
      Microsoft.WindowsDesktop.App 3.1.21 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
      Microsoft.WindowsDesktop.App 3.1.22 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
    >>>  Microsoft.WindowsDesktop.App 3.1.23 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
      Microsoft.WindowsDesktop.App 5.0.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
      Microsoft.WindowsDesktop.App 5.0.9 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
      Microsoft.WindowsDesktop.App 5.0.12 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
      Microsoft.WindowsDesktop.App 5.0.14 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
    >>>  Microsoft.WindowsDesktop.App 5.0.15 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
      Microsoft.WindowsDesktop.App 6.0.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
    
    To install additional .NET runtimes or SDKs:
      https://aka.ms/dotnet-download
    
    C:\Users\jsh>"c:\Program Files (x86)\dotnet\dotnet.exe" --info
    
    Host (useful for support):
      Version: 6.0.3
      Commit:  c24d9a9c91
    
    .NET SDKs installed:
      No SDKs were found.
    
    .NET runtimes installed:
      Microsoft.AspNetCore.App 3.1.13 [c:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
      Microsoft.AspNetCore.App 3.1.21 [c:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
      Microsoft.AspNetCore.App 3.1.22 [c:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
    >>>  Microsoft.AspNetCore.App 3.1.23 [c:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
      Microsoft.AspNetCore.App 5.0.4 [c:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
      Microsoft.AspNetCore.App 5.0.12 [c:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
      Microsoft.AspNetCore.App 5.0.14 [c:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
    >>>  Microsoft.AspNetCore.App 5.0.15 [c:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
      Microsoft.AspNetCore.App 6.0.2 [c:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
    >>>  Microsoft.AspNetCore.App 6.0.3 [c:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
      Microsoft.NETCore.App 3.1.13 [c:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
      Microsoft.NETCore.App 3.1.21 [c:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
      Microsoft.NETCore.App 3.1.22 [c:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
    >>>  Microsoft.NETCore.App 3.1.23 [c:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
      Microsoft.NETCore.App 5.0.4 [c:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
      Microsoft.NETCore.App 5.0.12 [c:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
      Microsoft.NETCore.App 5.0.14 [c:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
    >>>  Microsoft.NETCore.App 5.0.15 [c:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
      Microsoft.NETCore.App 6.0.2 [c:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
    >>>  Microsoft.NETCore.App 6.0.3 [c:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
      Microsoft.WindowsDesktop.App 3.1.13 [c:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]
      Microsoft.WindowsDesktop.App 3.1.21 [c:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]
      Microsoft.WindowsDesktop.App 3.1.22 [c:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]
    >>>  Microsoft.WindowsDesktop.App 3.1.23 [c:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]
      Microsoft.WindowsDesktop.App 5.0.4 [c:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]
      Microsoft.WindowsDesktop.App 5.0.12 [c:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]
      Microsoft.WindowsDesktop.App 5.0.14 [c:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]
    >>>  Microsoft.WindowsDesktop.App 5.0.15 [c:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]
      Microsoft.WindowsDesktop.App 6.0.2 [c:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]
    >>>  Microsoft.WindowsDesktop.App 6.0.3 [c:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]
    
    To install additional .NET runtimes or SDKs:
      https://aka.ms/dotnet-download
    

    Seems like it only installed the x86 version for 6.0.3?
    I marked the lines from this update cycle with >>>

    image

  21. Rand-Random commented on Mar 10, 2022

    @Rand-Random

    @jespersh
    Yes, I do find 6.0.3 as x86

    image

  22. jespersh commented on Mar 10, 2022

    @jespersh

    @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?

  23. PhantomGamers commented on Mar 10, 2022

    @PhantomGamers

    @jespersh ah according to dotnet --info the 6.0.3 runtime is installed but I only have the 6.0.201 SDK installed
    image

  24. AraHaan commented on Mar 10, 2022

    @AraHaan
    Member

    The 201 SDK is 6.0.3 I think.

  25. Rand-Random commented on Mar 10, 2022

    @Rand-Random

    @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

    • 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.

  26. milesbuckton commented on Mar 11, 2022

    @milesbuckton

    Hi @jespersh, dotnet --info does show that it is installed:

    image

  27. Rand-Random commented on Mar 11, 2022

    @Rand-Random

    @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

  28. milesbuckton commented on Mar 14, 2022

    @milesbuckton

    @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:

    image

  29. AraHaan commented on Mar 14, 2022

    @AraHaan
    Member

    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.

  30. milesbuckton commented on Mar 14, 2022

    @milesbuckton

    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:

    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions