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

winget is no longer usable, and cannot be repaired/reinstalled #4999

Closed
sba923 opened this issue Nov 22, 2024 · 5 comments
Closed

winget is no longer usable, and cannot be repaired/reinstalled #4999

sba923 opened this issue Nov 22, 2024 · 5 comments
Labels
Resolution-Duplicate Issue is a duplicate

Comments

@sba923
Copy link

sba923 commented Nov 22, 2024

Brief description of your issue

On my system (work laptop, IT-managed Windows 10 Enterprise build 19045.5131) winget has stopped working.

In CMD the error message is:

Image

In PowerShell 7.4.6 the message is:

Image

Reinstalling winget using the .msixbundle file fails:

PS> Add-AppxPackage -Path .\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor.
(Exception from HRESULT: 0x80073CF9)
NOTE: For additional information, look for [ActivityId] 1e0eee38-3cc0-0009-e429-111ec03cdb01 in the Event Log or use
the command line Get-AppPackageLog -ActivityID 1e0eee38-3cc0-0009-e429-111ec03cdb01
At line:1 char:1
+ Add-AppxPackage -Path .\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.m ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (C:\Users\sbariz...bbwe.msixbundle:String) [Add-AppxPackage], IOException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
PS> Get-AppPackageLog -ActivityID 1e0eee38-3cc0-0009-e429-111ec03cdb01
Time                      ID           Message
----                      --           -------
2024-11-22 12:02:49       603          Started deployment Add operation on a package with main parameter
                                       Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle and Options 0 and 0. See
                                       http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app
                                       deployment issues.
2024-11-22 12:02:49       164          The app bundle signature was validated for core content of the app bundle
                                       published by CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond,
                                       S=Washington, C=US. App packages won't be validated until they are read.
2024-11-22 12:02:49       391          The bundle streaming reader was created successfully for bundle
                                       Microsoft.DesktopAppInstaller_2024.1108.1842.0_neutral_~_8wekyb3d8bbwe.
2024-11-22 12:02:49       10002        Creating Resiliency File C:\ProgramData\Microsoft\Windows\AppRepository\6eec3f05
                                       -5834-4e9a-a578-ecae420c5159_S-1-5-21-972909419-1157658366-1023659110-263244_3.r
                                       slc for Add Operation on Package
                                       Microsoft.DesktopAppInstaller_2024.1108.1842.0_neutral_~_8wekyb3d8bbwe.
2024-11-22 12:02:49       607          Deployment Add operation on package
                                       Microsoft.DesktopAppInstaller_2024.1108.1842.0_neutral_~_8wekyb3d8bbwe has been
                                       de-queued and is running for user SID
                                       S-1-5-21-972909419-1157658366-1023659110-263244.
2024-11-22 12:02:49       614          Bundle Uri file:///C:/Users/<REDACTED>/Downloads/Microsoft.DesktopAppInstaller_8w
                                       ekyb3d8bbwe.msixbundle contains packages:
                                       "AppxMetadata\Stub\AppInstaller_arm64_stub.msix":
                                       Microsoft.DesktopAppInstaller_1.24.25199.0_arm64__8wekyb3d8bbwe
                                       "AppxMetadata\Stub\AppInstaller_arm_stub.msix":
                                       Microsoft.DesktopAppInstaller_1.24.25199.0_arm__8wekyb3d8bbwe
                                       "AppxMetadata\Stub\AppInstaller_x64_stub.msix":
                                       Microsoft.DesktopAppInstaller_1.24.25199.0_x64__8wekyb3d8bbwe
                                       "AppxMetadata\Stub\AppInstaller_x86_stub.msix":
                                       Microsoft.DesktopAppInstaller_1.24.25199.0_x86__8wekyb3d8bbwe
                                       "AppInstaller_x64.msix":
                                       Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe
                                       "AppInstaller_x86.msix":
                                       Microsoft.DesktopAppInstaller_1.24.25200.0_x86__8wekyb3d8bbwe
                                       "AppInstaller_arm.msix":
                                       Microsoft.DesktopAppInstaller_1.24.25200.0_arm__8wekyb3d8bbwe
                                       "AppInstaller_arm64.msix":
                                       Microsoft.DesktopAppInstaller_1.24.25200.0_arm64__8wekyb3d8bbwe
                                       "AppInstaller_language-am.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-am_8wekyb3d8bbwe "AppInstaller_language-af.msix": Microsoft.D
                                       esktopAppInstaller_1.24.25200.0_neutral_split.language-af_8wekyb3d8bbwe
                                       "AppInstaller_language-as.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-as_8wekyb3d8bbwe "AppInstaller_language-ar.msix": Microsoft.D
                                       esktopAppInstaller_1.24.25200.0_neutral_split.language-ar_8wekyb3d8bbwe
                                       "AppInstaller_language-hr.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-hr_8wekyb3d8bbwe "AppInstaller_language-fa.msix": Microsoft.D
                                       esktopAppInstaller_1.24.25200.0_neutral_split.language-fa_8wekyb3d8bbwe
                                       "AppInstaller_language-az-latn.msix": Microsoft.DesktopAppInstaller_1.24.25200.0
                                       _neutral_split.language-az-latn_8wekyb3d8bbwe "AppInstaller_language-bg.msix": M
                                       icrosoft.DesktopAppInstaller_1.24.25200.0_neutral_split.language-bg_8wekyb3d8bbw
                                       e "AppInstaller_language-bn.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_ne
                                       utral_split.language-bn_8wekyb3d8bbwe "AppInstaller_language-bs.msix": Microsoft
                                       .DesktopAppInstaller_1.24.25200.0_neutral_split.language-bs_8wekyb3d8bbwe
                                       "AppInstaller_language-ca.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-ca_8wekyb3d8bbwe "AppInstaller_language-id.msix": Microsoft.D
                                       esktopAppInstaller_1.24.25200.0_neutral_split.language-id_8wekyb3d8bbwe
                                       "AppInstaller_language-cy.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-cy_8wekyb3d8bbwe "AppInstaller_language-da.msix": Microsoft.D
                                       esktopAppInstaller_1.24.25200.0_neutral_split.language-da_8wekyb3d8bbwe
                                       "AppInstaller_language-de.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-de_8wekyb3d8bbwe "AppInstaller_language-el.msix": Microsoft.D
                                       esktopAppInstaller_1.24.25200.0_neutral_split.language-el_8wekyb3d8bbwe
                                       "AppInstaller_language-es.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-es_8wekyb3d8bbwe "AppInstaller_language-et.msix": Microsoft.D
                                       esktopAppInstaller_1.24.25200.0_neutral_split.language-et_8wekyb3d8bbwe
                                       "AppInstaller_language-eu.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-eu_8wekyb3d8bbwe "AppInstaller_language-hi.msix": Microsoft.D
                                       esktopAppInstaller_1.24.25200.0_neutral_split.language-hi_8wekyb3d8bbwe
                                       "AppInstaller_language-he.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-he_8wekyb3d8bbwe "AppInstaller_language-fil-latn.msix": Micro
                                       soft.DesktopAppInstaller_1.24.25200.0_neutral_split.language-fil-latn_8wekyb3d8b
                                       bwe "AppInstaller_language-fr.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_
                                       neutral_split.language-fr_8wekyb3d8bbwe "AppInstaller_language-gl.msix": Microso
                                       ft.DesktopAppInstaller_1.24.25200.0_neutral_split.language-gl_8wekyb3d8bbwe
                                       "AppInstaller_language-gd-latn.msix": Microsoft.DesktopAppInstaller_1.24.25200.0
                                       _neutral_split.language-gd-latn_8wekyb3d8bbwe "AppInstaller_language-hy.msix": M
                                       icrosoft.DesktopAppInstaller_1.24.25200.0_neutral_split.language-hy_8wekyb3d8bbw
                                       e "AppInstaller_language-fi.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_ne
                                       utral_split.language-fi_8wekyb3d8bbwe "AppInstaller_language-kk.msix": Microsoft
                                       .DesktopAppInstaller_1.24.25200.0_neutral_split.language-kk_8wekyb3d8bbwe
                                       "AppInstaller_language-is.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-is_8wekyb3d8bbwe "AppInstaller_language-gu.msix": Microsoft.D
                                       esktopAppInstaller_1.24.25200.0_neutral_split.language-gu_8wekyb3d8bbwe
                                       "AppInstaller_language-ga.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-ga_8wekyb3d8bbwe "AppInstaller_language-cs.msix": Microsoft.D
                                       esktopAppInstaller_1.24.25200.0_neutral_split.language-cs_8wekyb3d8bbwe
                                       "AppInstaller_language-hu.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-hu_8wekyb3d8bbwe "AppInstaller_language-it.msix": Microsoft.D
                                       esktopAppInstaller_1.24.25200.0_neutral_split.language-it_8wekyb3d8bbwe
                                       "AppInstaller_language-ta.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-ta_8wekyb3d8bbwe "AppInstaller_language-ka.msix": Microsoft.D
                                       esktopAppInstaller_1.24.25200.0_neutral_split.language-ka_8wekyb3d8bbwe
                                       "AppInstaller_language-lv.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-lv_8wekyb3d8bbwe "AppInstaller_language-th.msix": Microsoft.D
                                       esktopAppInstaller_1.24.25200.0_neutral_split.language-th_8wekyb3d8bbwe
                                       "AppInstaller_language-sv.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-sv_8wekyb3d8bbwe "AppInstaller_language-sr-latn.msix": Micros
                                       oft.DesktopAppInstaller_1.24.25200.0_neutral_split.language-sr-latn_8wekyb3d8bbw
                                       e "AppInstaller_language-sq.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_ne
                                       utral_split.language-sq_8wekyb3d8bbwe "AppInstaller_language-kok.msix": Microsof
                                       t.DesktopAppInstaller_1.24.25200.0_neutral_split.language-kok_8wekyb3d8bbwe
                                       "AppInstaller_language-lb.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-lb_8wekyb3d8bbwe "AppInstaller_language-lo.msix": Microsoft.D
                                       esktopAppInstaller_1.24.25200.0_neutral_split.language-lo_8wekyb3d8bbwe
                                       "AppInstaller_language-lt.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-lt_8wekyb3d8bbwe "AppInstaller_language-sl.msix": Microsoft.D
                                       esktopAppInstaller_1.24.25200.0_neutral_split.language-sl_8wekyb3d8bbwe
                                       "AppInstaller_language-mi-latn.msix": Microsoft.DesktopAppInstaller_1.24.25200.0
                                       _neutral_split.language-mi-latn_8wekyb3d8bbwe "AppInstaller_language-sk.msix": M
                                       icrosoft.DesktopAppInstaller_1.24.25200.0_neutral_split.language-sk_8wekyb3d8bbw
                                       e "AppInstaller_language-ru.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_ne
                                       utral_split.language-ru_8wekyb3d8bbwe "AppInstaller_language-mr.msix": Microsoft
                                       .DesktopAppInstaller_1.24.25200.0_neutral_split.language-mr_8wekyb3d8bbwe
                                       "AppInstaller_language-ro.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-ro_8wekyb3d8bbwe "AppInstaller_language-mt.msix": Microsoft.D
                                       esktopAppInstaller_1.24.25200.0_neutral_split.language-mt_8wekyb3d8bbwe
                                       "AppInstaller_language-nb.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-nb_8wekyb3d8bbwe "AppInstaller_language-quz-latn.msix": Micro
                                       soft.DesktopAppInstaller_1.24.25200.0_neutral_split.language-quz-latn_8wekyb3d8b
                                       bwe "AppInstaller_language-nl.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_
                                       neutral_split.language-nl_8wekyb3d8bbwe "AppInstaller_language-nn.msix": Microso
                                       ft.DesktopAppInstaller_1.24.25200.0_neutral_split.language-nn_8wekyb3d8bbwe
                                       "AppInstaller_language-pl.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-pl_8wekyb3d8bbwe "AppInstaller_language-pa.msix": Microsoft.D
                                       esktopAppInstaller_1.24.25200.0_neutral_split.language-pa_8wekyb3d8bbwe
                                       "AppInstaller_language-te.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-te_8wekyb3d8bbwe "AppInstaller_language-tt-cyrl.msix": Micros
                                       oft.DesktopAppInstaller_1.24.25200.0_neutral_split.language-tt-cyrl_8wekyb3d8bbw
                                       e "AppInstaller_language-mk.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_ne
                                       utral_split.language-mk_8wekyb3d8bbwe "AppInstaller_language-sr-cyrl.msix": Micr
                                       osoft.DesktopAppInstaller_1.24.25200.0_neutral_split.language-sr-cyrl_8wekyb3d8b
                                       bwe "AppInstaller_language-ne.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_
                                       neutral_split.language-ne_8wekyb3d8bbwe "AppInstaller_language-ja.msix": Microso
                                       ft.DesktopAppInstaller_1.24.25200.0_neutral_split.language-ja_8wekyb3d8bbwe
                                       "AppInstaller_language-km.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-km_8wekyb3d8bbwe "AppInstaller_language-tr.msix": Microsoft.D
                                       esktopAppInstaller_1.24.25200.0_neutral_split.language-tr_8wekyb3d8bbwe
                                       "AppInstaller_language-uz-latn.msix": Microsoft.DesktopAppInstaller_1.24.25200.0
                                       _neutral_split.language-uz-latn_8wekyb3d8bbwe "AppInstaller_language-kn.msix": M
                                       icrosoft.DesktopAppInstaller_1.24.25200.0_neutral_split.language-kn_8wekyb3d8bbw
                                       e "AppInstaller_language-vi.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_ne
                                       utral_split.language-vi_8wekyb3d8bbwe "AppInstaller_language-uk.msix": Microsoft
                                       .DesktopAppInstaller_1.24.25200.0_neutral_split.language-uk_8wekyb3d8bbwe
                                       "AppInstaller_language-ug-arab.msix": Microsoft.DesktopAppInstaller_1.24.25200.0
                                       _neutral_split.language-ug-arab_8wekyb3d8bbwe "AppInstaller_language-pt.msix": M
                                       icrosoft.DesktopAppInstaller_1.24.25200.0_neutral_split.language-pt_8wekyb3d8bbw
                                       e "AppInstaller_language-ms.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_ne
                                       utral_split.language-ms_8wekyb3d8bbwe "AppInstaller_language-ko.msix": Microsoft
                                       .DesktopAppInstaller_1.24.25200.0_neutral_split.language-ko_8wekyb3d8bbwe
                                       "AppInstaller_language-ml.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-ml_8wekyb3d8bbwe "AppInstaller_language-ur.msix": Microsoft.D
                                       esktopAppInstaller_1.24.25200.0_neutral_split.language-ur_8wekyb3d8bbwe
                                       "AppInstaller_language-or.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neut
                                       ral_split.language-or_8wekyb3d8bbwe "AppInstaller_language-zh-hans.msix": Micros
                                       oft.DesktopAppInstaller_1.24.25200.0_neutral_split.language-zh-hans_8wekyb3d8bbw
                                       e "AppInstaller_language-zh-hant.msix": Microsoft.DesktopAppInstaller_1.24.25200
                                       .0_neutral_split.language-zh-hant_8wekyb3d8bbwe "AppInstaller_scale-150.msix": M
                                       icrosoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-150_8wekyb3d8bbwe
                                       "AppInstaller_scale-100.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neutra
                                       l_split.scale-100_8wekyb3d8bbwe "AppInstaller_scale-125.msix": Microsoft.Desktop
                                       AppInstaller_1.24.25200.0_neutral_split.scale-125_8wekyb3d8bbwe
                                       "AppInstaller_scale-400.msix": Microsoft.DesktopAppInstaller_1.24.25200.0_neutra
                                       l_split.scale-400_8wekyb3d8bbwe.
2024-11-22 12:02:50       157          The app package signature was validated for core content of the app package
                                       published by CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond,
                                       S=Washington, C=US. Payload won't be validated until the files are read.
2024-11-22 12:02:50       216          App manifest validation warning: Declared namespace
                                       http://schemas.microsoft.com/developer/appx/2015/build is inapplicable, it will
                                       be ignored during manifest processing.
2024-11-22 12:02:50       170          The streaming reader was created successfully for app package
                                       Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe.
2024-11-22 12:02:50       157          The app package signature was validated for core content of the app package
                                       published by CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond,
                                       S=Washington, C=US. Payload won't be validated until the files are read.
2024-11-22 12:02:50       170          The streaming reader was created successfully for app package Microsoft.DesktopA
                                       ppInstaller_1.24.25200.0_neutral_split.language-fr_8wekyb3d8bbwe.
2024-11-22 12:02:50       157          The app package signature was validated for core content of the app package
                                       published by CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond,
                                       S=Washington, C=US. Payload won't be validated until the files are read.
2024-11-22 12:02:50       170          The streaming reader was created successfully for app package Microsoft.DesktopA
                                       ppInstaller_1.24.25200.0_neutral_split.language-de_8wekyb3d8bbwe.
2024-11-22 12:02:50       157          The app package signature was validated for core content of the app package
                                       published by CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond,
                                       S=Washington, C=US. Payload won't be validated until the files are read.
2024-11-22 12:02:50       170          The streaming reader was created successfully for app package Microsoft.DesktopA
                                       ppInstaller_1.24.25200.0_neutral_split.scale-125_8wekyb3d8bbwe.
2024-11-22 12:02:50       157          The app package signature was validated for core content of the app package
                                       published by CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond,
                                       S=Washington, C=US. Payload won't be validated until the files are read.
2024-11-22 12:02:50       170          The streaming reader was created successfully for app package Microsoft.DesktopA
                                       ppInstaller_1.24.25200.0_neutral_split.scale-100_8wekyb3d8bbwe.
2024-11-22 12:02:50       854          Successfully added the following uri(s) to be processed:  file:///C:/Users/sbari
                                       zien/Downloads/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle file:///C:
                                       /Users/<REDACTED>/Downloads/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundl
                                       e\AppInstaller_x64.msix file:///C:/Users/<REDACTED>/Downloads/Microsoft.DesktopAp
                                       pInstaller_8wekyb3d8bbwe.msixbundle\AppInstaller_language-fr.msix file:///C:/Use
                                       rs/<REDACTED>/Downloads/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle\Ap
                                       pInstaller_language-de.msix file:///C:/Users/<REDACTED>/Downloads/Microsoft.Deskt
                                       opAppInstaller_8wekyb3d8bbwe.msixbundle\AppInstaller_scale-125.msix file:///C:/U
                                       sers/<REDACTED>/Downloads/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle\
                                       AppInstaller_scale-100.msix.
2024-11-22 12:02:50       855          Finished resolving action lists. DeploymentRequest action lists:
                                       addPackageList: Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe
                                       Microsoft.DesktopAppInstaller_2024.1108.1842.0_neutral_~_8wekyb3d8bbwe
                                       updateList: Microsoft.DesktopAppInstaller_1.24.25180.0_neutral_split.language-fr
                                       _8wekyb3d8bbwe is updating to Microsoft.DesktopAppInstaller_1.24.25200.0_neutral
                                       _split.language-fr_8wekyb3d8bbwe Microsoft.DesktopAppInstaller_1.24.25180.0_neut
                                       ral_split.language-de_8wekyb3d8bbwe is updating to Microsoft.DesktopAppInstaller
                                       _1.24.25200.0_neutral_split.language-de_8wekyb3d8bbwe Microsoft.DesktopAppInstal
                                       ler_1.24.25180.0_neutral_split.scale-125_8wekyb3d8bbwe is updating to Microsoft.
                                       DesktopAppInstaller_1.24.25200.0_neutral_split.scale-125_8wekyb3d8bbwe Microsoft
                                       .DesktopAppInstaller_1.24.25180.0_neutral_split.scale-100_8wekyb3d8bbwe is
                                       updating to Microsoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-100_8
                                       wekyb3d8bbwe destagePackageList:
                                       Microsoft.DesktopAppInstaller_2024.627.1939.0_neutral_~_8wekyb3d8bbwe
                                       Microsoft.DesktopAppInstaller_1.23.1791.0_x64__8wekyb3d8bbwe
                                       Microsoft.DesktopAppInstaller_1.24.25180.0_x64__8wekyb3d8bbwe.
2024-11-22 12:03:03       8761         AppExecutionAlias directory missing, error code is 0x8007010B.
2024-11-22 12:03:03       8761         AppExecutionAlias directory missing, error code is 0x8007010B.
2024-11-22 12:03:03       8761         AppExecutionAlias directory missing, error code is 0x8007010B.
2024-11-22 12:03:03       8761         AppExecutionAlias directory missing, error code is 0x8007010B.
2024-11-22 12:03:03       573          Setting Sync Enabled status, package family name
                                       Microsoft.DesktopAppInstaller_8wekyb3d8bbwe, enabled false.
2024-11-22 12:03:03       10000        About to service package
                                       Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe. Setting the
                                       package state to disabled returned with 0x0.
2024-11-22 12:03:03       10000        About to service package
                                       Microsoft.DesktopAppInstaller_1.24.25180.0_x64__8wekyb3d8bbwe. Setting the
                                       package state to disabled returned with 0x0.
2024-11-22 12:03:04       5505         Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe : C:\Program Files
                                       \WindowsApps\Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe\micro
                                       soft.system.package.metadata\S-1-5-21-972909419-1157658366-1023659110-263244-Mer
                                       gedResources-46.pri : Linked user-specific merged PRI file
2024-11-22 12:03:04       8100         Starting validation and setting the Trust Label on package
                                       Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe with flags 0x9.
2024-11-22 12:03:04       8106         Package Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe has Trust
                                       Label already. Flags: 0x9
2024-11-22 12:03:04       8101         Finished validation and setting the Trust Label on package
                                       Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe with flags 0x9.
2024-11-22 12:03:04       8100         Starting validation and setting the Trust Label on package Microsoft.DesktopAppI
                                       nstaller_1.24.25200.0_neutral_split.language-fr_8wekyb3d8bbwe with flags 0x9.
2024-11-22 12:03:04       8106         Package Microsoft.DesktopAppInstaller_1.24.25200.0_neutral_split.language-fr_8we
                                       kyb3d8bbwe has Trust Label already. Flags: 0x9
2024-11-22 12:03:04       8101         Finished validation and setting the Trust Label on package Microsoft.DesktopAppI
                                       nstaller_1.24.25200.0_neutral_split.language-fr_8wekyb3d8bbwe with flags 0x9.
2024-11-22 12:03:04       8100         Starting validation and setting the Trust Label on package Microsoft.DesktopAppI
                                       nstaller_1.24.25200.0_neutral_split.language-de_8wekyb3d8bbwe with flags 0x9.
2024-11-22 12:03:04       8106         Package Microsoft.DesktopAppInstaller_1.24.25200.0_neutral_split.language-de_8we
                                       kyb3d8bbwe has Trust Label already. Flags: 0x9
2024-11-22 12:03:04       8101         Finished validation and setting the Trust Label on package Microsoft.DesktopAppI
                                       nstaller_1.24.25200.0_neutral_split.language-de_8wekyb3d8bbwe with flags 0x9.
2024-11-22 12:03:04       8100         Starting validation and setting the Trust Label on package Microsoft.DesktopAppI
                                       nstaller_1.24.25200.0_neutral_split.scale-125_8wekyb3d8bbwe with flags 0x9.
2024-11-22 12:03:04       8106         Package Microsoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-125_8weky
                                       b3d8bbwe has Trust Label already. Flags: 0x9
2024-11-22 12:03:04       8101         Finished validation and setting the Trust Label on package Microsoft.DesktopAppI
                                       nstaller_1.24.25200.0_neutral_split.scale-125_8wekyb3d8bbwe with flags 0x9.
2024-11-22 12:03:04       8100         Starting validation and setting the Trust Label on package Microsoft.DesktopAppI
                                       nstaller_1.24.25200.0_neutral_split.scale-100_8wekyb3d8bbwe with flags 0x9.
2024-11-22 12:03:04       8106         Package Microsoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-100_8weky
                                       b3d8bbwe has Trust Label already. Flags: 0x9
2024-11-22 12:03:04       8101         Finished validation and setting the Trust Label on package Microsoft.DesktopAppI
                                       nstaller_1.24.25200.0_neutral_split.scale-100_8wekyb3d8bbwe with flags 0x9.
2024-11-22 12:03:04       5507         Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe :
                                       S-1-5-21-972909419-1157658366-1023659110-263244-MergedResources-46.pri :
                                       Current user-specific merged PRI file ignored
2024-11-22 12:03:04       5507         Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe :
                                       resources.bdaacb98.pri : Current shared merged PRI file ignored
2024-11-22 12:03:04       5508         Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe : C:\Program Files
                                       \WindowsApps\Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe\micro
                                       soft.system.package.metadata\S-1-5-21-972909419-1157658366-1023659110-263244-Mer
                                       gedResources-45.pri : Deleted
2024-11-22 12:03:04       5507         Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe :
                                       S-1-5-21-972909419-1157658366-1023659110-263244-MergedResources-46.pri :
                                       Current user-specific merged PRI file ignored
2024-11-22 12:03:04       5507         Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe :
                                       resources.bdaacb98.pri : Current shared merged PRI file ignored
2024-11-22 12:03:04       325          error 0x8007139F: While preparing to process the request, the system failed to
                                       register the windows.applicationData.undocked extension due to the following
                                       error: The group or resource is not in the correct state to perform the
                                       requested operation.
                                       .
2024-11-22 12:03:04       8761         AppExecutionAlias directory missing, error code is 0x8007010B.
2024-11-22 12:03:04       8761         AppExecutionAlias directory missing, error code is 0x8007010B.
2024-11-22 12:03:04       8761         AppExecutionAlias directory missing, error code is 0x8007010B.
2024-11-22 12:03:04       8761         AppExecutionAlias directory missing, error code is 0x8007010B.
2024-11-22 12:03:04       6803         error 0x8007139F: The following error occured while preparing the
                                       windows.appExecutionAlias extension in the
                                       Microsoft.DesktopAppInstaller_1.23.1791.0_x64__8wekyb3d8bbwe package for update
                                       or removal: The group or resource is not in the correct state to perform the
                                       requested operation.
                                       .
2024-11-22 12:03:04       605          The last successful state reached was MachineRegisterRemove. Failure occurred
                                       before reaching the next state De-Indexed. hr: 0x8007139F
2024-11-22 12:03:04       300          error 0x8007139F: Cannot register the
                                       Microsoft.DesktopAppInstaller_8wekyb3d8bbwe package due to the following error:
                                       The group or resource is not in the correct state to perform the requested
                                       operation.
                                       .
2024-11-22 12:03:04       300          error 0x8007139F: Cannot register the
                                       Microsoft.DesktopAppInstaller_8wekyb3d8bbwe package due to the following error:
                                       The group or resource is not in the correct state to perform the requested
                                       operation.
                                       .
2024-11-22 12:03:04       751          Windows failed to undo changes with error code 0x80073CF6 to package
                                       Microsoft.DesktopAppInstaller_2024.1108.1842.0_neutral_~_8wekyb3d8bbwe. The
                                       package needs to be reinstalled.
2024-11-22 12:03:04       751          Windows failed to undo changes with error code 0x80073CF6 to package
                                       Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe. The package
                                       needs to be reinstalled.
2024-11-22 12:03:04       751          Windows failed to undo changes with error code 0x80073CF6 to package Microsoft.D
                                       esktopAppInstaller_1.24.25180.0_neutral_split.scale-100_8wekyb3d8bbwe. The
                                       package needs to be reinstalled.
2024-11-22 12:03:04       751          Windows failed to undo changes with error code 0x80073CF6 to package Microsoft.D
                                       esktopAppInstaller_1.24.25180.0_neutral_split.scale-125_8wekyb3d8bbwe. The
                                       package needs to be reinstalled.
2024-11-22 12:03:04       751          Windows failed to undo changes with error code 0x80073CF6 to package Microsoft.D
                                       esktopAppInstaller_1.24.25180.0_neutral_split.language-de_8wekyb3d8bbwe. The
                                       package needs to be reinstalled.
2024-11-22 12:03:04       751          Windows failed to undo changes with error code 0x80073CF6 to package Microsoft.D
                                       esktopAppInstaller_1.24.25180.0_neutral_split.language-fr_8wekyb3d8bbwe. The
                                       package needs to be reinstalled.
2024-11-22 12:03:04       10001        Finished servicing package
                                       Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe. Setting the
                                       package state to enabled returned with 0x8007139F.
2024-11-22 12:03:04       10001        Finished servicing package
                                       Microsoft.DesktopAppInstaller_1.24.25180.0_x64__8wekyb3d8bbwe. Setting the
                                       package state to enabled returned with 0x8007139F.

Repairing with Repair-WinGetPackageManager also fails:

PS> Repair-WinGetPackageManager -Force -Latest
Repair-WinGetPackageManager: Failed to repair winget. Try running with -AllUsers in administrator mode.
PS> Repair-WinGetPackageManager -Force -Latest -AllUsers
Add-AppxProvisionedPackage: The remote procedure call failed.

Steps to reproduce

I hate to say, but I have no idea about what can have caused this.

Expected behavior

winget should be usable

Actual behavior

No winget actions can be performed.

Environment

(can't run 'winget --info')
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 Nov 22, 2024
@mdanish-kh
Copy link
Contributor

This looks to be a duplicate of #4991. I'll close this to consolidate the conversation in one place

Duplicate of #4991

@sba923
Copy link
Author

sba923 commented Nov 22, 2024

This looks to be a duplicate of #4991. I'll close this to consolidate the conversation in one place

Duplicate of #4991

Some information I posted here is not present in #4991.

@denelon how do you want to proceed?

@mdanish-kh
Copy link
Contributor

This seems to be a combo of:

Both issues mention the same error with using Repair-WinGetPackageManager & getting the result Add-AppxProvisionedPackage: The remote procedure call failed.

The underlying root cause in both issues appears to be a fault WinApp SDK issue. See

@sba923 Let me know if trying the recommendation of upgrading WinAppSDK (see above comments) work. If you believe your issue is different to what's reported above & and this was closed incorrectly, let me know and I'll re-open it 🙂

@sba923
Copy link
Author

sba923 commented Nov 22, 2024

Running https://aka.ms/windowsappsdk/1.6/1.6.241114003/windowsappruntimeinstall-x64.exe (once) has fixed winget.

Thanks for the quick solution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate Issue is a duplicate
Projects
None yet
Development

No branches or pull requests

2 participants