Share via

Continual failure to install any Windows 11 SDK on a specific machine - does not complete

GlenF-5353 15 Reputation points
2023-11-10T10:32:38.03+00:00

In this Visual Studio issue, I describe my ongoing attempts (and failures) to install the latest Windows 11 SDK, either through the VS installer or using the standalone WinSDK installer. In that issue, I was finally told to open a new issue here, since it appears not to be related to VS, but seems to be entirely an issue with the WinSDK installer.

I have been unable to install any of the Windows 11 SDK versions (10.0.22621 or 10.0.22000) on a specific machine. The installer stops when it gets to "Windows SDK for UWP C++ Apps" (roughly 80% progress through the install) and then it never completes. Eventually, after 15 or more minutes waiting, I kill it. There is no CPU activity on the winsdksetup.exe processes.

I have not had this problem on other machines, where the latest Windows 11 SDKs install fine. The machine in question is running Windows 11 Pro (Version 10.0.22621 Build 22621). It is able to install Windows 10 SDK versions, such as 10.0.20348, without problems.

Hopefully you can help me sort this out so that I can "clean" whatever is preventing the proper install on this machine... ideally without requiring a full clean reinstall of Windows.

As requested in the other (VS) issue, I can attach the WinSDK installer logs from my most recent attempt.

Thank you.

Windows for business | Windows Client for IT Pros | User experience | Other

2 answers

Sort by: Most helpful
  1. helloworld-3763 0 Reputation points
    2026-03-13T16:45:41.7+00:00

    I had this problem too when updating VS 2022 to 17.14.24 on Win 10

    The VS update worked but the installation of SDK 10.0.26100 during the VS update failed. In windows programs+features control panel I could see a corrupted installation of SDK 10.0.26100.715 with ~800MB size (normal size is 3.6GB). Building projects in VS only returned the error that 10.0.26100.0 cannot be found.

    I uninstalled 10.0.26100.715 from windows control panel, downloaded the windows sdk installer for 10.0.26100.7705 from https://learn.microsoft.com/en-us/windows/apps/windows-sdk/downloads and installed that. This installation worked correctly, it seems the installation bug has been fixed in that version. After installation, building projects in VS was possible again.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

  2. Brett Bloomquist 5 Reputation points
    2024-03-05T18:11:02.83+00:00

    I just ran into this problem as well. From what I can tell it is trying to uninstall an old component of the SDK that isn't on the machine anymore and isn't handling that case well. If you are comfortable with registry edits, here is how I got past it:

    Referring to the last log you attached referencing "C:\ProgramData\Package Cache{GUID}", copy out the GUID (I just used general GUID here as it was a different one in my case and expect it will still apply here). Search for GUID in the registry and remove those references. In cases where it was a piece of data in a node, I removed the node. I expect you may only need to remove the one that relates to information about uninstallers but I removed them all. After that the install proceeded just fine.

    Also, before doing this, I would recommend running any SDK uninstalls that show up either in the control panel uninstall or apps uninstall as that may clean up some stuff for you. Hopefully this helps!

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.