microsoft / microsoft/winget-cli

I can't update the Microsoft.WindowsWDK.10.0.26100 package via winget upgrade

Open
#5,762 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Command-Upgrade Issue-Bug Needs-Repro
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

I can't update the WDK via winget:

C:\Windows\System32>winget upgrade
Name                                                ID                                           Version                       Verfügbar                     Quelle
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
Windows Driver Kit - Windows 10.0.26100.4202        Microsoft.WindowsWDK.10.0.26100              10.1.26100.4202               10.1.26100.6584               winget

C:\Windows\System32>winget upgrade --id Microsoft.WindowsWDK.10.0.26100 -e --verbose-logs
Es wurde kein installiertes Paket gefunden, das den Eingabekriterien entspricht.
{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageManifest.PackageManifestResponse, StoreEdgeFD"}
2025-09-30 05:59:42.056 [REPO] No manifest results returned.
2025-09-30 05:59:42.061 [REPO] Opening database for ReadWrite at 'C:\Users\André\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2025-09-30 05:59:42.061 [REPO] Opened SQLite Index with version [1.5], last write [2025-09-24 08:46:48.000]
2025-09-30 05:59:42.332 [REPO] Performing search: Query:[none] Filter:Id='Microsoft.WindowsWDK.10.0.26100'[Exact]
2025-09-30 05:59:42.334 [CORE] Reading cached file [C:\Users\ANDR~1\AppData\Local\Temp\WinGet\cache\V2_PVD\Microsoft.Winget.Source_8wekyb3d8bbwe\packages\Microsoft.WindowsWDK.10.0.26100\bc175c7a\versionData.mszyml]
2025-09-30 05:59:42.335 [CORE] PackageVersionDataManifest deserializing:
sV: 1.0
vD:
- v: 10.1.26100.6584
  rP: manifests/m/Microsoft/WindowsWDK/10/0/26100/10.1.26100.6584/a9aa
  s256H: c46fca2a4878a63989befce13e2e6dfb62648d88ee791615254fe31d5edf0f50
- v: 10.1.26100.4202
  rP: manifests/m/Microsoft/WindowsWDK/10/0/26100/10.1.26100.4202/b98a
  s256H: 667f2de64e86527d4c03a2db4fe7e8f3b63b189461476ceb866b0faf67b9488a
- v: 10.1.26100.3323
  rP: manifests/m/Microsoft/WindowsWDK/10/0/26100/10.1.26100.3323/b98a
  s256H: 1aeb9f23351d1cedfb40868c323cd87cea04dd5945e2aad03a0aea42ce8ab0a0
- v: 10.1.26100.2454
  rP: manifests/m/Microsoft/WindowsWDK/10/0/26100/10.1.26100.2454/b98a
  s256H: fe47521b277a941b24c34eb30de2ac2464fc083283cf2561f90b9b42b78fcc1f
- v: 10.1.26100.2161
  rP: manifests/m/Microsoft/WindowsWDK/10/0/26100/10.1.26100.2161/b98a
  s256H: 3e104aa4eb84a5e0cf0526ddf34dd49b2ab108335f05d47f2f7cb12c9ae1f20b
- v: 10.1.26100.1882
  rP: manifests/m/Microsoft/WindowsWDK/10/0/26100/10.1.26100.1882/b98a
  s256H: ea732de97110da94c267bf2f51cc30d849b6c7a9f27ceb811fef5d84e8607bd2
- v: 10.1.26100.1591
  rP: manifests/m/Microsoft/WindowsWDK/10/0/26100/10.1.26100.1591/b98a
  s256H: 8901ce4cb85ba1db09b57cb5a1d2f198e638658c9da3be63234919182f86afb6
- v: 10.1.26100.1
  rP: manifests/m/Microsoft/WindowsWDK/10/0/26100/10.1.26100.1/b98a
  s256H: c1c2570f1574fd0fcb965b4fa36547cabe331546ae9a634aa482b2b13e08a792

2025-09-30 05:59:42.335 [YAML] Detected UTF-8
2025-09-30 05:59:42.392 [REPO] Performing search: Query:[none] Filter:Id='Microsoft.WindowsWDK.10.0.26100'[CaseInsensitive]
2025-09-30 05:59:42.395 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:ProductCode='{279d1a62-1749-45f8-905e-c475df01c3c2}'[Exact] Include:ProductCode='{4c4fe435-6f5d-4c29-acd9-2bde96f7f27b}'[Exact] Include:ProductCode='{7f6796da-87fb-4204-8a2e-f1c1fbcb5e67}'[Exact] Include:ProductCode='{95abfb6f-ad0d-48b9-beda-ff19db12dff7}'[Exact] Include:ProductCode='{bd1a03d4-a4ca-4fc9-839d-576fbb719aaa}'[Exact] Include:NormalizedNameAndPublisher='windowsdriverkitwindows'+'microsoft'[Exact]
2025-09-30 05:59:42.395 [REPO] Performing search: Query:[none] Include:ProductCode='{279d1a62-1749-45f8-905e-c475df01c3c2}'[Exact] Include:ProductCode='{4c4fe435-6f5d-4c29-acd9-2bde96f7f27b}'[Exact] Include:ProductCode='{7f6796da-87fb-4204-8a2e-f1c1fbcb5e67}'[Exact] Include:ProductCode='{95abfb6f-ad0d-48b9-beda-ff19db12dff7}'[Exact] Include:ProductCode='{bd1a03d4-a4ca-4fc9-839d-576fbb719aaa}'[Exact] Include:NormalizedNameAndPublisher='windowsdriverkitwindows'+'microsoft'[Exact]
2025-09-30 05:59:42.396 [REPO] Performing search: Query:[none] Include:ProductCode='{4d61ab19-93e2-4741-904e-a0b16e0251e6}'[Exact] Include:NormalizedNameAndPublisher='windowsdriverkitwindows'+'microsoft'[Exact]
2025-09-30 05:59:42.396 [REPO]  ... installed package [ARP\Machine\X86\{4d61ab19-93e2-4741-904e-a0b16e0251e6}] had multiple correlations and is being ignored as a match for [Microsoft.WindowsWDK.10.0.26100]
2025-09-30 05:59:42.397 [REPO] Performing search: Query:[none] Include:ProductCode='{fd6c5bb9-4333-4bbe-a3bf-6ea817f212cc}'[Exact] Include:NormalizedNameAndPublisher='windowsdriverkitwindows'+'microsoft'[Exact]
2025-09-30 05:59:42.398 [REPO]  ... installed package [ARP\Machine\X86\{fd6c5bb9-4333-4bbe-a3bf-6ea817f212cc}] had multiple correlations and is being ignored as a match for [Microsoft.WindowsWDK.10.0.26100]
2025-09-30 05:59:42.398 [CLI ] Search result size: 0
2025-09-30 05:59:42.398 [CLI ] No app found matching input criteria
2025-09-30 05:59:42.405 [CLI ] Terminating context: 0x8a150014 at C:\__w\1\s\external\pkg\src\AppInstallerCLICore\Workflows\WorkflowBase.cpp:476

Originally posted by @MagicAndre1981 in https://github.com/microsoft/winget-pkgs/issues/297024#issuecomment-3349884832

C:\Windows\System32>winget --info
Windows-Paket-Manager v1.11.510
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.

Windows: Windows.Desktop v10.0.22631.5909
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.26.510.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the upgrade with the reported package ID and verbose logging, then start at external/pkg/src/AppInstallerCLICore/Workflows/WorkflowBase.cpp:476 and follow the installed-package correlation path shown in the logs. Investigate why multiple product-code correlations are ignored; done means the installed WDK is matched and the upgrade command proceeds successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.