Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An unexpected error occurred while executing the command: 0x80072f8f : unknown error #5218

Open
LAR3 opened this issue Feb 18, 2025 · 3 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. msstore Issue related to "msstore" REST source

Comments

@LAR3
Copy link

LAR3 commented Feb 18, 2025

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
Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Feb 18, 2025
@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. msstore Issue related to "msstore" REST source and removed Needs-Triage Issue need to be triaged labels Feb 18, 2025
@JJSaysNay
Copy link

I'm having this issue as well on an enterprise device. It seems to only happen when I'm on our corporate network (either via VPN or directly in the office). I can't tell if this is something to do with our DNS or Firewall (I am thinking the latter) but our network administrator has no idea what it would be at this time.

@LAR3
Copy link
Author

LAR3 commented Mar 5, 2025

I'm having this issue as well on an enterprise device. It seems to only happen when I'm on our corporate network (either via VPN or directly in the office). I can't tell if this is something to do with our DNS or Firewall (I am thinking the latter) but our network administrator has no idea what it would be at this time.

I had the firewall team review the traffic and they do not believe the firewalls are blocking any traffic from the msstore source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. msstore Issue related to "msstore" REST source
Projects
None yet
Development

No branches or pull requests

3 participants