microsoft / microsoft/winget-cli

Repair-WinGetPackageManager failed

Open
#5,772 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Relevant area(s)

PowerShell Module

Relevant command(s)

No response

Brief description of your issue

When attempting to use Repair-WinGetPackageManager -Version 1.12.240-preview the install failed

Steps to reproduce

Unsure; It worked on one machine but not on another

Expected behavior

The error to be caught internally and handled, and a nice error presented to the user explaining what happened

Actual behavior
PS E:\winget-pkgs> Repair-WinGetPackageManager -Version 1.12.240-preview
Repair-WinGetPackageManager: Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor. (Exception from HRESULT: 0x80073CF9)
error 0x3: Creating the package metadata directory C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_2025.918.705.0_neutral_~_8wekyb3d8bbwe\microsoft.system.package.metadata failed.

NOTE: For additional information, look for [ActivityId] ced5a5ad-3682-000c-58c3-d6ce8236dc01 in the Event Log or use the command line Get-AppPackageLog -ActivityID ced5a5ad-3682-000c-58c3-d6ce8236dc01
Repair-WinGetPackageManager: Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor. (Exception from HRESULT: 0x80073CF9)
error 0x3: Creating the package metadata directory C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_2025.918.705.0_neutral_~_8wekyb3d8bbwe\microsoft.system.package.metadata failed.

NOTE: For additional information, look for [ActivityId] ced5a5ad-3682-000c-58c3-d6ce8236dc01 in the Event Log or use the command line Get-AppPackageLog -ActivityID ced5a5ad-3682-000c-58c3-d6ce8236dc01
PS E:\winget-pkgs>  Get-AppPackageLog -ActivityID ced5a5ad-3682-000c-58c3-d6ce8236dc01

Time                      ID           Message
----                      --           -------
10/6/2025 11:12:25 AM     603          Started deployment Add operation on a package with main parameter Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle and Options 0 and UseCurrentStubPreference. See
                                       http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
10/6/2025 11:12:26 AM     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.
10/6/2025 11:12:26 AM     391          The bundle streaming reader was created successfully for bundle Microsoft.DesktopAppInstaller_2025.918.705.0_neutral_~_8wekyb3d8bbwe.
10/6/2025 11:12:26 AM     10002        Creating Resiliency File C:\ProgramData\Microsoft\Windows\AppRepository\bbf38a02-fe9b-4b0a-bc9b-9b637f3c2623_S-1-5-21-3266358599-1266508940-100117616-1001_19.rslc for
                                       Add Operation on Package Microsoft.DesktopAppInstaller_2025.918.705.0_neutral_~_8wekyb3d8bbwe.
10/6/2025 11:12:26 AM     607          Deployment Add operation on package Microsoft.DesktopAppInstaller_2025.918.705.0_neutral_~_8wekyb3d8bbwe has been de-queued and is running for user SID
                                       S-1-5-21-3266358599-1266508940-100117616-1001.
10/6/2025 11:12:28 AM     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.
10/6/2025 11:12:28 AM     216          App manifest validation warning: Declared namespace http://schemas.microsoft.com/developer/appx/2015/build is inapplicable, it will be ignored during manifest
                                       processing.
10/6/2025 11:12:28 AM     216          App manifest validation warning: Declared namespace urn:uuid:489fc062-afa9-4d91-9e8d-d512d48dc494 is inapplicable, it will be ignored during manifest processing.
10/6/2025 11:12:28 AM     170          The streaming reader was created successfully for app package Microsoft.DesktopAppInstaller_1.27.240.0_x64__8wekyb3d8bbwe.
10/6/2025 11:12:29 AM     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.
10/6/2025 11:12:29 AM     170          The streaming reader was created successfully for app package Microsoft.DesktopAppInstaller_1.27.240.0_neutral_split.scale-100_8wekyb3d8bbwe.
10/6/2025 11:12:30 AM     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.
10/6/2025 11:12:30 AM     170          The streaming reader was created successfully for app package Microsoft.DesktopAppInstaller_1.27.240.0_neutral_split.scale-125_8wekyb3d8bbwe.
10/6/2025 11:12:30 AM     854          Successfully added the following uri(s) to be processed:
                                       https://github.com/microsoft/winget-cli/releases/download/v1.12.240-preview/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
                                       https://github.com/microsoft/winget-cli/releases/download/v1.12.240-preview/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle\AppInstaller_x64.msix
                                       https://github.com/microsoft/winget-cli/releases/download/v1.12.240-preview/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle\AppInstaller_scale-100.msix
                                       https://github.com/microsoft/winget-cli/releases/download/v1.12.240-preview/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle\AppInstaller_scale-125.msix.
10/6/2025 11:12:30 AM     672          Package Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe does not satisfy a dependency for package Microsoft.DesktopAppInstaller_1.27.240.0_x64__8wekyb3d8bbwe.
                                       Reason: The package's version is lower than the required MinVersion.
10/6/2025 11:12:30 AM     672          Package Microsoft.VCLibs.140.00.UWPDesktop_14.0.30704.0_x64__8wekyb3d8bbwe does not satisfy a dependency for package
                                       Microsoft.DesktopAppInstaller_1.27.240.0_x64__8wekyb3d8bbwe. Reason: The package's version is lower than the required MinVersion.
10/6/2025 11:12:30 AM     855          Finished resolving action lists. DeploymentRequest action lists: updateList: Microsoft.DesktopAppInstaller_2025.926.104.0_neutral_~_8wekyb3d8bbwe is updating to
                                       Microsoft.DesktopAppInstaller_2025.918.705.0_neutral_~_8wekyb3d8bbwe Microsoft.DesktopAppInstaller_1.26.510.0_x64__8wekyb3d8bbwe is updating to
                                       Microsoft.DesktopAppInstaller_1.27.240.0_x64__8wekyb3d8bbwe Microsoft.WindowsAppRuntime.1.8_8000.616.304.0_x64__8wekyb3d8bbwe is updating to
                                       Microsoft.WindowsAppRuntime.1.8_8000.625.330.0_x64__8wekyb3d8bbwe Microsoft.WindowsAppRuntime.1.8_8000.616.304.0_x86__8wekyb3d8bbwe is updating to
                                       Microsoft.WindowsAppRuntime.1.8_8000.625.330.0_x86__8wekyb3d8bbwe Microsoft.DesktopAppInstaller_1.26.510.0_neutral_split.scale-100_8wekyb3d8bbwe is updating to
                                       Microsoft.DesktopAppInstaller_1.27.240.0_neutral_split.scale-100_8wekyb3d8bbwe Microsoft.DesktopAppInstaller_1.26.510.0_neutral_split.scale-125_8wekyb3d8bbwe is
                                       updating to Microsoft.DesktopAppInstaller_1.27.240.0_neutral_split.scale-125_8wekyb3d8bbwe.
10/6/2025 11:12:30 AM     626          Deployment Add operation on package Microsoft.DesktopAppInstaller_2025.918.705.0_neutral_~_8wekyb3d8bbwe has been requeued for user SID
                                       S-1-5-21-3266358599-1266508940-100117616-1001.
10/6/2025 11:12:30 AM     607          Deployment Add operation on package Microsoft.DesktopAppInstaller_2025.918.705.0_neutral_~_8wekyb3d8bbwe has been de-queued and is running for user SID
                                       S-1-5-21-3266358599-1266508940-100117616-1001.
10/6/2025 11:12:30 AM     854          Successfully added the following uri(s) to be processed:
                                       https://github.com/microsoft/winget-cli/releases/download/v1.12.240-preview/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
                                       https://github.com/microsoft/winget-cli/releases/download/v1.12.240-preview/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle\AppInstaller_x64.msix
                                       https://github.com/microsoft/winget-cli/releases/download/v1.12.240-preview/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle\AppInstaller_scale-100.msix
                                       https://github.com/microsoft/winget-cli/releases/download/v1.12.240-preview/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle\AppInstaller_scale-125.msix.
10/6/2025 11:12:31 AM     672          Package Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe does not satisfy a dependency for package Microsoft.DesktopAppInstaller_1.27.240.0_x64__8wekyb3d8bbwe.
                                       Reason: The package's version is lower than the required MinVersion.
10/6/2025 11:12:31 AM     672          Package Microsoft.VCLibs.140.00.UWPDesktop_14.0.30704.0_x64__8wekyb3d8bbwe does not satisfy a dependency for package
                                       Microsoft.DesktopAppInstaller_1.27.240.0_x64__8wekyb3d8bbwe. Reason: The package's version is lower than the required MinVersion.
10/6/2025 11:12:31 AM     855          Finished resolving action lists. DeploymentRequest action lists: updateList: Microsoft.DesktopAppInstaller_2025.926.104.0_neutral_~_8wekyb3d8bbwe is updating to
                                       Microsoft.DesktopAppInstaller_2025.918.705.0_neutral_~_8wekyb3d8bbwe Microsoft.DesktopAppInstaller_1.26.510.0_x64__8wekyb3d8bbwe is updating to
                                       Microsoft.DesktopAppInstaller_1.27.240.0_x64__8wekyb3d8bbwe Microsoft.WindowsAppRuntime.1.8_8000.616.304.0_x64__8wekyb3d8bbwe is updating to
                                       Microsoft.WindowsAppRuntime.1.8_8000.625.330.0_x64__8wekyb3d8bbwe Microsoft.WindowsAppRuntime.1.8_8000.616.304.0_x86__8wekyb3d8bbwe is updating to
                                       Microsoft.WindowsAppRuntime.1.8_8000.625.330.0_x86__8wekyb3d8bbwe Microsoft.DesktopAppInstaller_1.26.510.0_neutral_split.scale-100_8wekyb3d8bbwe is updating to
                                       Microsoft.DesktopAppInstaller_1.27.240.0_neutral_split.scale-100_8wekyb3d8bbwe Microsoft.DesktopAppInstaller_1.26.510.0_neutral_split.scale-125_8wekyb3d8bbwe is
                                       updating to Microsoft.DesktopAppInstaller_1.27.240.0_neutral_split.scale-125_8wekyb3d8bbwe.
10/6/2025 11:12:31 AM     455          User S-1-5-21-3266358599-1266508940-100117616-1005 had outdated package Microsoft.DesktopAppInstaller_1.26.510.0_x64__8wekyb3d8bbwe, which will be updated to
                                       Microsoft.DesktopAppInstaller_1.27.240.0_x64__8wekyb3d8bbwe. User was online: false.
10/6/2025 11:12:31 AM     626          Deployment Add operation on package Microsoft.DesktopAppInstaller_2025.918.705.0_neutral_~_8wekyb3d8bbwe has been requeued for user SID
                                       S-1-5-21-3266358599-1266508940-100117616-1001.
10/6/2025 11:12:31 AM     607          Deployment Add operation on package Microsoft.DesktopAppInstaller_2025.918.705.0_neutral_~_8wekyb3d8bbwe has been de-queued and is running for user SID
                                       S-1-5-21-3266358599-1266508940-100117616-1001.
10/6/2025 11:12:31 AM     854          Successfully added the following uri(s) to be processed:
                                       https://github.com/microsoft/winget-cli/releases/download/v1.12.240-preview/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
                                       https://github.com/microsoft/winget-cli/releases/download/v1.12.240-preview/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle\AppInstaller_x64.msix
                                       https://github.com/microsoft/winget-cli/releases/download/v1.12.240-preview/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle\AppInstaller_scale-125.msix
                                       https://github.com/microsoft/winget-cli/releases/download/v1.12.240-preview/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle\AppInstaller_scale-100.msix.
10/6/2025 11:12:31 AM     672          Package Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe does not satisfy a dependency for package Microsoft.DesktopAppInstaller_1.27.240.0_x64__8wekyb3d8bbwe.
                                       Reason: The package's version is lower than the required MinVersion.
10/6/2025 11:12:31 AM     672          Package Microsoft.VCLibs.140.00.UWPDesktop_14.0.30704.0_x64__8wekyb3d8bbwe does not satisfy a dependency for package
                                       Microsoft.DesktopAppInstaller_1.27.240.0_x64__8wekyb3d8bbwe. Reason: The package's version is lower than the required MinVersion.
10/6/2025 11:12:31 AM     855          Finished resolving action lists. DeploymentRequest action lists: updateList: Microsoft.DesktopAppInstaller_2025.926.104.0_neutral_~_8wekyb3d8bbwe is updating to
                                       Microsoft.DesktopAppInstaller_2025.918.705.0_neutral_~_8wekyb3d8bbwe Microsoft.DesktopAppInstaller_1.26.510.0_x64__8wekyb3d8bbwe is updating to
                                       Microsoft.DesktopAppInstaller_1.27.240.0_x64__8wekyb3d8bbwe Microsoft.WindowsAppRuntime.1.8_8000.616.304.0_x64__8wekyb3d8bbwe is updating to
                                       Microsoft.WindowsAppRuntime.1.8_8000.625.330.0_x64__8wekyb3d8bbwe Microsoft.WindowsAppRuntime.1.8_8000.616.304.0_x86__8wekyb3d8bbwe is updating to
                                       Microsoft.WindowsAppRuntime.1.8_8000.625.330.0_x86__8wekyb3d8bbwe Microsoft.DesktopAppInstaller_1.26.510.0_neutral_split.scale-125_8wekyb3d8bbwe is updating to
                                       Microsoft.DesktopAppInstaller_1.27.240.0_neutral_split.scale-125_8wekyb3d8bbwe Microsoft.DesktopAppInstaller_1.26.510.0_neutral_split.scale-100_8wekyb3d8bbwe is
                                       updating to Microsoft.DesktopAppInstaller_1.27.240.0_neutral_split.scale-100_8wekyb3d8bbwe.
10/6/2025 11:12:31 AM     455          User S-1-5-21-3266358599-1266508940-100117616-1005 had outdated package Microsoft.DesktopAppInstaller_1.26.510.0_x64__8wekyb3d8bbwe, which will be updated to
                                       Microsoft.DesktopAppInstaller_1.27.240.0_x64__8wekyb3d8bbwe. User was online: false.
10/6/2025 11:12:31 AM     1230         These hardlinks did not have packages in repository: \Program
                                       Files\WindowsApps\Microsoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-125_8wekyb3d8bbwe\Assets\AppPackageAppList.scale-125.png;\Program Files\WindowsApps\Micr
                                       osoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-125_8wekyb3d8bbwe\Assets\contrast-black\AppPackageAppList.scale-125_contrast-black.png;\Program
                                       Files\WindowsApps\Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe\Assets\AppPackageAppList.targetsize-30.png;\Program
                                       Files\WindowsApps\Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe\Assets\AppPackageAppList.targetsize-30_altform-unplated.png;\Program Files\WindowsApps\Mi
                                       crosoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe\Assets\contrast-black\AppPackageAppList.targetsize-30_altform-unplated_contrast-black.png;\Program
                                       Files\WindowsApps\Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe\Assets\contrast-black\AppPackageAppList.targetsize-30_contrast-black.png;\Program
                                       Files\WindowsApps\Microsoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-125_8wekyb3d8bbwe\Assets\AppPackageBadgeLogo.scale-125.png;\Program Files\WindowsApps\Mi
                                       crosoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-125_8wekyb3d8bbwe\Assets\contrast-black\AppPackageBadgeLogo.scale-125_contrast-black.png;\Program
                                       Files\WindowsApps\Microsoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-125_8wekyb3d8bbwe\Assets\AppPackageLargeTile.scale-125.png;\Program Files\WindowsApps\Mi
                                       crosoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-125_8wekyb3d8bbwe\Assets\contrast-black\AppPackageLargeTile.scale-125_contrast-black.png;\Program
                                       Files\WindowsApps\Microsoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-125_8wekyb3d8bbwe\Assets\AppPackageMedTile.scale-125.png;\Program Files\WindowsApps\Micr
                                       osoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-125_8wekyb3d8bbwe\Assets\contrast-black\AppPackageMedTile.scale-125_contrast-black.png;\Program
                                       Files\WindowsApps\Microsoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-125_8wekyb3d8bbwe\Assets\AppPackageSmallTile.scale-125.png;.
10/6/2025 11:12:31 AM     1230         These hardlinks did not have packages in repository: \Program
                                       Files\WindowsApps\Microsoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-100_8wekyb3d8bbwe\Assets\AppPackageAppList.scale-100.png;\Program Files\WindowsApps\Micr
                                       osoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-100_8wekyb3d8bbwe\Assets\contrast-black\AppPackageAppList.scale-100_contrast-black.png;\Program
                                       Files\WindowsApps\Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe\Assets\AppPackageAppList.targetsize-24.png;\Program
                                       Files\WindowsApps\Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe\Assets\AppPackageAppList.targetsize-24_altform-unplated.png;\Program Files\WindowsApps\Mi
                                       crosoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe\Assets\contrast-black\AppPackageAppList.targetsize-24_altform-unplated_contrast-black.png;\Program
                                       Files\WindowsApps\Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe\Assets\contrast-black\AppPackageAppList.targetsize-24_contrast-black.png;\Program
                                       Files\WindowsApps\Microsoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-100_8wekyb3d8bbwe\Assets\AppPackageBadgeLogo.scale-100.png;\Program Files\WindowsApps\Mi
                                       crosoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-100_8wekyb3d8bbwe\Assets\contrast-black\AppPackageBadgeLogo.scale-100_contrast-black.png;\Program
                                       Files\WindowsApps\Microsoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-100_8wekyb3d8bbwe\Assets\AppPackageLargeTile.scale-100.png;\Program Files\WindowsApps\Mi
                                       crosoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-100_8wekyb3d8bbwe\Assets\contrast-black\AppPackageLargeTile.scale-100_contrast-black.png;\Program
                                       Files\WindowsApps\Microsoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-100_8wekyb3d8bbwe\Assets\AppPackageMedTile.scale-100.png;\Program Files\WindowsApps\Micr
                                       osoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-100_8wekyb3d8bbwe\Assets\contrast-black\AppPackageMedTile.scale-100_contrast-black.png;\Program
                                       Files\WindowsApps\Microsoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-100_8wekyb3d8bbwe\Assets\AppPackageSmallTile.scale-100.png;.
10/6/2025 11:12:31 AM     466          error 0x3: Creating the package metadata directory C:\Program
                                       Files\WindowsApps\Microsoft.DesktopAppInstaller_2025.918.705.0_neutral_~_8wekyb3d8bbwe\microsoft.system.package.metadata failed.
10/6/2025 11:12:31 AM     605          Error 0x80070003: Failure in the Staged state handler.
10/6/2025 11:12:31 AM     472          Moving package folder \\?\C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.27.240.0_neutral_split.scale-100_8wekyb3d8bbwe to \\?\C:\Program
                                       Files\WindowsApps\Deleted\Microsoft.DesktopAppInstaller_1.27.240.0_neutral_split.scale-100_8wekyb3d8bbwe1edc55b1-18e6-4eb2-bdc6-e9dc40ca303f. Result: 0x0.
10/6/2025 11:12:31 AM     472          Moving package folder \\?\C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.27.240.0_neutral_split.scale-125_8wekyb3d8bbwe to \\?\C:\Program
                                       Files\WindowsApps\Deleted\Microsoft.DesktopAppInstaller_1.27.240.0_neutral_split.scale-125_8wekyb3d8bbwe13ce81a8-7bf8-401e-8f5d-917b5a53ef4c. Result: 0x0.
10/6/2025 11:12:31 AM     401          Deployment Add operation with target volume C: on Package Microsoft.DesktopAppInstaller_2025.918.705.0_neutral_~_8wekyb3d8bbwe from:
                                       (Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle)  failed with error 0x80070003. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app
                                       deployment issues.
10/6/2025 11:12:31 AM     698          Deployment Add operation with target volume C: on Package Microsoft.DesktopAppInstaller_2025.918.705.0_neutral_~_8wekyb3d8bbwe from:
                                       (Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle)  failed with error 0x80070003. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app
                                       deployment issues.
10/6/2025 11:12:31 AM     404          AppX Deployment operation failed for package Microsoft.DesktopAppInstaller_2025.918.705.0_neutral_~_8wekyb3d8bbwe with error 0x80073CF9. The specific error text for
                                       this failure is: error 0x3: Creating the package metadata directory C:\Program
                                       Files\WindowsApps\Microsoft.DesktopAppInstaller_2025.918.705.0_neutral_~_8wekyb3d8bbwe\microsoft.system.package.metadata failed.
10/6/2025 11:12:32 AM     471          error 0x5: Deleting file \\?\C:\Program
                                       Files\WindowsApps\Deleted\Microsoft.StorePurchaseApp_22507.1401.8.0_x64__8wekyb3d8bbwef4628c48-5484-45c5-871d-4026504f78b8\clrcompression.dll failed.
10/6/2025 11:12:32 AM     471          error 0x12C: Deleting file \\?\C:\Program
                                       Files\WindowsApps\Deleted\MSTeams_25241.201.3924.8262_x64__8wekyb3d8bbwed94fd7ff-960e-4d16-83d2-38d52ff98982\Images\AvatarBase.png failed.
10/6/2025 11:12:32 AM     471          error 0x5: Deleting file \\?\C:\Program Files\WindowsApps\Deleted\MSTeams_25241.201.3924.8262_x64__8wekyb3d8bbwed94fd7ff-960e-4d16-83d2-38d52ff98982\msvcp140.dll failed.
10/6/2025 11:12:32 AM     493          There were 1 additional files that failed to be deleted under the folder \\?\C:\Program Files\WindowsApps\Deleted.
Environment
PS E:\winget-pkgs> winget --info
Windows Package Manager v1.11.510
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.26100.6725
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.26.510.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       D:\kaleb\WinGet\Packages\
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads
Configuration Modules              %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules

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                        Enabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled
PS E:\winget-pkgs> Get-Package Microsoft.WinGet.Client

Name                           Version          Source                           ProviderName
----                           -------          ------                           ------------
Microsoft.WinGet.Client        1.11.440         https://www.powershellgallery.c… PowerShellGet

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

Start at the Repair-WinGetPackageManager command and review the supplied Get-AppPackageLog output, including HRESULT 0x80073CF9 and the dependency version messages. Determine how this deployment failure is surfaced and make the completed behavior a clear, user-facing error rather than an unhandled deployment message.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.