microsoft / microsoft/winget-cli
An unexpected error occurred while executing the command: 0x80072f8f : unknown error
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Brief description of your issue
We are unable to install packages with winget from the msstore source with an error of "0x80072f8f : unknown error".
Package: Microsoft.DesktopAppInstaller v1.24.25200.0
Steps to reproduce
Change the registry key RemoveWindowsStore to 0 located in HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsStore.
Command used: WinGet invoked with arguments: 'install' '--id' '9nf8h0h7wmlt' '--accept-package-agreements' '--accept-source-agreements' '--source' 'msstore' '--verbose-logs'
Expected behavior
The package to download to the client and install.
Actual behavior
2025-02-18 10:28:42.728 [REPO] Getting manifest
2025-02-18 10:28:42.728 [REPO] Performing search: Query:[none] Filter:Id='9NF8H0H7WMLT'[CaseInsensitive]
2025-02-18 10:28:42.730 [REPO] Found multiple results for Id [9NF8H0H7WMLT] in tracking catalog for: msstore
2025-02-18 10:28:42.731 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:PackageFamilyName='nvidiacorp.nvidiacontrolpanel_56jybvy8sckqj'[Exact] Include:NormalizedNameAndPublisher='nvidia control panel'+'nvidia corp.'[Exact]
2025-02-18 10:28:42.731 [REPO] Performing search: Query:[none] Include:PackageFamilyName='nvidiacorp.nvidiacontrolpanel_56jybvy8sckqj'[Exact] Include:NormalizedNameAndPublisher='nvidia control panel'+'nvidia corp.'[Exact]
2025-02-18 10:28:42.733 [CLI ] Search result size: 1
2025-02-18 10:28:42.733 [CLI ] Found one app. App id: 9NF8H0H7WMLT App name: NVIDIA Control Panel
2025-02-18 10:28:42.734 [CLI ] Market Filter created with market: US
2025-02-18 10:28:42.739 [CLI ] Locale Comparator created with Required Locales: [] , Preferred Locales: [en-US] , IsInstalledLocale: 0
2025-02-18 10:28:42.739 [CLI ] Architecture Comparator created with allowed architectures: [X64, X86, Neutral]
2025-02-18 10:28:42.750 [REPO] Attempting to open pinning database: C:\Users\rho7749\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db
2025-02-18 10:28:42.750 [REPO] Getting manifest
2025-02-18 10:28:42.750 [CLI ] Starting installer selection.
2025-02-18 10:28:42.750 [CLI ] Installer [X64,msstore,User,] is current best choice
2025-02-18 10:28:42.750 [CLI ] Completed installer selection.
2025-02-18 10:28:42.750 [CLI ] Selected installer Architecture: 2
2025-02-18 10:28:42.750 [CLI ] Selected installer URL:
2025-02-18 10:28:42.750 [CLI ] Selected installer InstallerType: msstore
2025-02-18 10:28:42.750 [CLI ] Selected installer Scope: User
2025-02-18 10:28:42.750 [CLI ] Selected installer Language:
2025-02-18 10:28:42.750 [CLI ] Manifest fields: Name [NVIDIA Control Panel], Version [Unknown]
2025-02-18 10:28:42.779 [CLI ] Package agreements accepted by CLI flag
2025-02-18 10:28:47.521 [FAIL] WindowsPackageManager.dll!00007FFD660240EF: LogHr(1) tid(5004) 80072F8F
2025-02-18 10:28:47.523 [FAIL] WindowsPackageManager.dll!00007FFD65F3507A: LogHr(2) tid(5004) 80072F8F
2025-02-18 10:28:47.524 [CLI ] Caught winrt::hresult_error: 0x80072f8f : unknown error
Environment
Windows Package Manager v1.9.25200
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.26100.3194
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.24.25200.0
Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads
Links
---------------------------------------------------------------------------
Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
Admin Setting State
--------------------------------------------------
LocalManifestFiles Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Disabled
ProxyCommandLineOptions Disabled
DefaultProxy Disabled
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported winget install command against the msstore source with RemoveWindowsStore set to 0, using the provided verbose log and environment details as the baseline. Trace the failure associated with HRESULT 0x80072f8f during the Microsoft Store installer flow. Done means the NVIDIA Control Panel package downloads and installs successfully under the reported configuration, with regression coverage added if an existing test entry point is identified.
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