microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
22.97k stars 1.43k forks source link

Incomplete diagnosis: `0x80070057` "The parameter is incorrect" in logs. Unable to troubleshoot problems #4190

Open nopeless opened 6 months ago

nopeless commented 6 months ago

Brief description of your issue

Many winget operations such as

result in this error.

-- Disclaimer --

A lot of registry tweaks and system alterations (including many user account control changes) have been done under my discretion. While "reinstalling windows" would definitely resolve this issue, I'd like to attempt to troubleshoot this and hopefully allow winget-cli devs to make more fail safes

Steps to reproduce

Unknown

Expected behavior

Logs should give more information on logs

Actual behavior

0x80070057 in the link gives the following description:

One or more arguments are not valid. If you check the AppXDeployment-Server event log and see the following event: "While installing the package, the system failed to register the windows.repositoryExtension extension due to the following error: The parameter is incorrect." You may get this error if the manifest elements DisplayName or Description contain characters disallowed by Windows firewall such as |, due to which Windows fails to create the AppContainer profile for the package. Please remove these characters from the manifest and try installing the package.

This is certainly not my case

Environment

Windows Package Manager v1.6.3482
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.3155
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3482.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)       %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

Relevant logs

...
2024-02-21 12:17:03.089 [CORE] Begin waiting for operation #0
2024-02-21 12:17:03.089 [CORE] Begin blocking for operation #0
2024-02-21 12:17:03.705 [CORE] Deployment operation #0: Deployment Add operation with target volume C: on Package Microsoft.Winget.Source_2024.221.1852.636_neutral__8wekyb3d8bbwe from:  (Microsoft.Winget.Source_8wekyb3d8bbwe.msix)  failed with error 0x80070057. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
2024-02-21 12:17:03.705 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!00007FFCF8AD0C60: (caller: 00007FFCF8AD129F) Exception(1) tid(2824) 80070057 The parameter is incorrect.
    Msg:[Operation failed: Deployment Add operation with target volume C: on Package Microsoft.Winget.Source_2024.221.1852.636_neutral__8wekyb3d8bbwe from:  (Microsoft.Winget.Source_8wekyb3d8bbwe.msix)  failed with error 0x80070057. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.] 

2024-02-21 12:17:03.716 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(95)\WindowsPackageManager.dll!00007FFCF8C5066F: (caller: 00007FFCF8B005AC) LogHr(1) tid(2824) 80070057 The parameter is incorrect.
    Msg:[C:\__w\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!00007FFCF8AD0C60: (caller: 00007FFCF8AD129F) Exception(1) tid(2824) 80070057 The parameter is incorrect.
    Msg:[Operation failed: Deployment Add operation with target volume C: on Package Microsoft.Winget.Source_2024.221.1852.636_neutral__8wekyb3d8bbwe from:  (Microsoft.Winget.Source_8wekyb3d8bbwe.msix)  failed with error 0x80070057. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.] 
]
...
github-actions[bot] commented 6 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

nopeless commented 6 months ago

I would also like to contribute to this issue if a collaborator can give me some guidelines.

yao-msft commented 6 months ago

This is what appx/msix deployment service returns to us. When winget is updating the "winget" source, we try to install the source package (which is a msix package) through appx deployment apis. Here is the troubleshooting for appx/msix deployment failures.

florelis commented 6 months ago

For troubleshooting, you could try downloading the source.msix manually (URI should be in the logs) and install it with the Add-AppPackage cmdlet. I believe that would show more information than just the error code.

nopeless commented 6 months ago

I didn't really create this issue for troubleshooting help, but rather giving a better direction for help in the logs itself. But whatever. I think my intention is clear for now.

I think "This is what appx/msix deployment service returns to us. When winget is updating the "winget" source, we try to install the source package (which is a msix package) through appx deployment apis." should be in the logs itself so it gives users a direction on where to go.

Deployment Stage operation with target volume C: on Package Microsoft.GamingServices_18.86.14001.0_neutral_~_8wekyb3d8bbwe from:  (4827ad80d68958837d64eff5098bfd0b30b6737c)  failed with error 0x80070057. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.

For now, this is the new "issue" i get if I try to install the .msixbundle for Microsoft.DesktopAppInstaller_8wekyb3d8bbwe. I'm not sure why gaming services is there, but I still get the same code @florelis .

nopeless commented 6 months ago

update: I think I am getting an idea of what happened, and it is in a completely different direction this issue is heading

Basically, certain group of apps are returning this error, while another group of apps don't. (ex, trying to remove)

And upon inspection, microsoft store was updated as well after updating all packages (winget upgrade --all), and somehow I had two different versions of microsoft store present. I think this might have to do with the issue. Currently looking into how I would solve this if it were the case


update 2.

This is definitely the right direction. Offending apps have two installations that share the same name but have different versions

example application

RunspaceId             : 5b5ea66e-27d2-4ed7-b60f-84b28d4a6489
Name                   : MicrosoftCorporationII.QuickAssist
Publisher              : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
PublisherId            : 8wekyb3d8bbwe
Architecture           : X64
ResourceId             :
Version                : 2.0.22.0
PackageFamilyName      : MicrosoftCorporationII.QuickAssist_8wekyb3d8bbwe
PackageFullName        : MicrosoftCorporationII.QuickAssist_2.0.22.0_x64__8wekyb3d8bbwe
InstallLocation        : C:\Program Files\WindowsApps\MicrosoftCorporationII.QuickAssist_2.0.22.0_x64__8wekyb3d8bbwe
IsFramework            : False
PackageUserInformation : {S-1-5-18 [S-1-5-18]: Staged}
IsResourcePackage      : False
IsBundle               : False
IsDevelopmentMode      : False
NonRemovable           : False
Dependencies           : {Microsoft.VCLibs.140.00.UWPDesktop_14.0.33519.0_x64__8wekyb3d8bbwe,
                         MicrosoftCorporationII.QuickAssist_2.0.22.0_neutral_split.language-ko_8wekyb3d8bbwe,
                         MicrosoftCorporationII.QuickAssist_2.0.22.0_neutral_split.scale-100_8wekyb3d8bbwe,
                         MicrosoftCorporationII.QuickAssist_2.0.22.0_neutral_split.scale-150_8wekyb3d8bbwe…}
IsPartiallyStaged      : False
SignatureKind          : Store
Status                 : Ok

RunspaceId             : 5b5ea66e-27d2-4ed7-b60f-84b28d4a6489
Name                   : MicrosoftCorporationII.QuickAssist
Publisher              : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
PublisherId            : 8wekyb3d8bbwe
Architecture           : X64
ResourceId             :
Version                : 2.0.28.0
PackageFamilyName      : MicrosoftCorporationII.QuickAssist_8wekyb3d8bbwe
PackageFullName        : MicrosoftCorporationII.QuickAssist_2.0.28.0_x64__8wekyb3d8bbwe
InstallLocation        : C:\Program Files\WindowsApps\MicrosoftCorporationII.QuickAssist_2.0.28.0_x64__8wekyb3d8bbwe
IsFramework            : False
PackageUserInformation : {S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed, S-1-5-18 [S-1-5-18]: Paused}
IsResourcePackage      : False
IsBundle               : False
IsDevelopmentMode      : False
NonRemovable           : False
Dependencies           : {}
IsPartiallyStaged      : False
SignatureKind          : Store
Status                 : Modified, NeedsRemediation

update 3.

I was able to trace the offending apps when attempting to do winget source update. It is the same list of apps that are offending

nopeless commented 6 months ago

related #4066 #4067

can we put a big flying banner of a warning when someone tries to run winget upgrade --all because I have like what 7 duplicates and problem is xbox is one of them and its going to take a long time

nopeless commented 6 months ago

I wrote a short script to diagnose my issue.

<!!!> entry has conflict

$t = @{}

Get-AppxPackage -AllUsers | ForEach-Object {
    if ($t[$_.PackageFamilyName] -eq $null) {
        $t[$_.PackageFamilyName] = @()
    }

    $t[$_.PackageFamilyName] += $_
}

$off = 1
$t.values | ForEach-Object {
    if ($_.Count -gt 1) {
        # Determine if it is installed for two users

        $ut = @{}
        $offu = @()

        foreach ($p in $_) {

            if ($ut[$p.PackageUserInformation[0]] -eq $null) {
                $ut[$p.PackageUserInformation[0]] = 0
            }

            $ut[$p.PackageUserInformation[0]] = $ut[$p.PackageUserInformation[0]] + 1
        }

        foreach ($v in $ut.GetEnumerator()) {
            if ($v.Value -gt 1) {
                $offu += $v.Key
            }
        }

        $isoff = ($offu.Count -gt 0)

        $fg = ($isoff ? "Red" : "White")
        $sym = ($isoff ? "<!!!>" : "")

        Write-host 
        Write-Host "[$off]$sym" -ForegroundColor $fg
        Write-Host "  " $_[0].Name -ForegroundColor $fg
        $i = 1
        foreach ($e in $_) {
            $padin = "$i".PadLeft(4)
            $isoff = $offu -in $e.PackageUserInformation
            $fg = ($isoff ? "Magenta" : "White")
            $symbo = ($isoff ? "<!!!>:" : "     :")

            Write-Host $padin "FullName:        " $e.PackageFullName
            Write-Host "    " "Version:         " $e.Version
            Write-Host "    " "InstallLocation: " $e.InstallLocation
            Write-Host "    " "PkgUsrInfo$symbo " $e.PackageUserInformation -ForegroundColor $fg
            $i++
        }
        $off++
    }
}

This is the output


[1]<!!!>
   Microsoft.NET.Native.Runtime.1.7
   1 FullName:         Microsoft.NET.Native.Runtime.1.7_1.7.27422.0_x64__8wekyb3d8bbwe
     Version:          1.7.27422.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.NET.Native.Runtime.1.7_1.7.27422.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   2 FullName:         Microsoft.NET.Native.Runtime.1.7_1.7.27422.0_x86__8wekyb3d8bbwe
     Version:          1.7.27422.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.NET.Native.Runtime.1.7_1.7.27422.0_x86__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed

[2]<!!!>
   Microsoft.WindowsTerminal
   1 FullName:         Microsoft.WindowsTerminal_1.18.10301.0_x64__8wekyb3d8bbwe
     Version:          1.18.10301.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.18.10301.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-18 [S-1-5-18]: Staged
   2 FullName:         Microsoft.WindowsTerminal_1.19.10302.0_x64__8wekyb3d8bbwe
     Version:          1.19.10302.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.19.10302.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-18 [S-1-5-18]: Staged

[3]<!!!>
   Microsoft.WindowsStore
   1 FullName:         Microsoft.WindowsStore_22312.1401.5.0_x64__8wekyb3d8bbwe
     Version:          22312.1401.5.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.WindowsStore_22312.1401.5.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-18 [S-1-5-18]: Staged
   2 FullName:         Microsoft.WindowsStore_22401.1401.2.0_x64__8wekyb3d8bbwe
     Version:          22401.1401.2.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.WindowsStore_22401.1401.2.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-18 [S-1-5-18]: Staged

[4]<!!!>
   Microsoft.WindowsAppRuntime.1.1
   1 FullName:         Microsoft.WindowsAppRuntime.1.1_1005.616.1651.0_x64__8wekyb3d8bbwe
     Version:          1005.616.1651.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.1_1005.616.1651.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   2 FullName:         Microsoft.WindowsAppRuntime.1.1_1005.616.1651.0_x86__8wekyb3d8bbwe
     Version:          1005.616.1651.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.1_1005.616.1651.0_x86__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed

[5]<!!!>
   Microsoft.VCLibs.140.00.UWPDesktop
   1 FullName:         Microsoft.VCLibs.140.00.UWPDesktop_14.0.33321.0_x64__8wekyb3d8bbwe
     Version:          14.0.33321.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00.UWPDesktop_14.0.33321.0_x64__8wekyb3d8bbwe
     PkgUsrInfo     :  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   2 FullName:         Microsoft.VCLibs.140.00.UWPDesktop_14.0.33519.0_x86__8wekyb3d8bbwe
     Version:          14.0.33519.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00.UWPDesktop_14.0.33519.0_x86__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1003 [S-1-5-21-119248584-2964491339-2963805285-1003]: Installed S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   3 FullName:         Microsoft.VCLibs.140.00.UWPDesktop_14.0.33519.0_x64__8wekyb3d8bbwe
     Version:          14.0.33519.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00.UWPDesktop_14.0.33519.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1003 [S-1-5-21-119248584-2964491339-2963805285-1003]: Installed S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed

[6]<!!!>
   Microsoft.VCLibs.110.00.UWPDesktop
   1 FullName:         Microsoft.VCLibs.110.00.UWPDesktop_11.0.61135.0_x64__8wekyb3d8bbwe
     Version:          11.0.61135.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.VCLibs.110.00.UWPDesktop_11.0.61135.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   2 FullName:         Microsoft.VCLibs.110.00.UWPDesktop_11.0.61135.0_x86__8wekyb3d8bbwe
     Version:          11.0.61135.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.VCLibs.110.00.UWPDesktop_11.0.61135.0_x86__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed

[7]<!!!>
   Microsoft.WindowsAppRuntime.1.3
   1 FullName:         Microsoft.WindowsAppRuntime.1.3_3000.934.1904.0_x64__8wekyb3d8bbwe
     Version:          3000.934.1904.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.3_3000.934.1904.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   2 FullName:         Microsoft.WindowsAppRuntime.1.3_3000.934.1904.0_x86__8wekyb3d8bbwe
     Version:          3000.934.1904.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.3_3000.934.1904.0_x86__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed

[8]<!!!>
   Microsoft.VCLibs.120.00.UWPDesktop
   1 FullName:         Microsoft.VCLibs.120.00.UWPDesktop_12.0.40653.0_x86__8wekyb3d8bbwe
     Version:          12.0.40653.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.VCLibs.120.00.UWPDesktop_12.0.40653.0_x86__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   2 FullName:         Microsoft.VCLibs.120.00.UWPDesktop_12.0.40653.0_x64__8wekyb3d8bbwe
     Version:          12.0.40653.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.VCLibs.120.00.UWPDesktop_12.0.40653.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed

[9]<!!!>
   Microsoft.WindowsAppRuntime.1.4
   1 FullName:         Microsoft.WindowsAppRuntime.1.4_4000.1082.2259.0_x64__8wekyb3d8bbwe
     Version:          4000.1082.2259.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.4_4000.1082.2259.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   2 FullName:         Microsoft.WindowsAppRuntime.1.4_4000.1136.2333.0_x64__8wekyb3d8bbwe
     Version:          4000.1136.2333.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.4_4000.1136.2333.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   3 FullName:         Microsoft.WindowsAppRuntime.1.4_4000.1136.2333.0_x86__8wekyb3d8bbwe
     Version:          4000.1136.2333.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.4_4000.1136.2333.0_x86__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed

[10]<!!!>
   Microsoft.Services.Store.Engagement
   1 FullName:         Microsoft.Services.Store.Engagement_10.0.23012.0_x86__8wekyb3d8bbwe
     Version:          10.0.23012.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.Services.Store.Engagement_10.0.23012.0_x86__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   2 FullName:         Microsoft.Services.Store.Engagement_10.0.23012.0_x64__8wekyb3d8bbwe
     Version:          10.0.23012.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.Services.Store.Engagement_10.0.23012.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed

[11]
   Microsoft.MinecraftUWP
   1 FullName:         Microsoft.MinecraftUWP_1.20.6004.0_x64__8wekyb3d8bbwe
     Version:          1.20.6004.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.MinecraftUWP_1.20.6004.0_x64__8wekyb3d8bbwe
     PkgUsrInfo     :  S-1-5-18 [S-1-5-18]: Staged
   2 FullName:         Microsoft.MinecraftUWP_1.20.6201.0_x64__8wekyb3d8bbwe
     Version:          1.20.6201.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.MinecraftUWP_1.20.6201.0_x64__8wekyb3d8bbwe
     PkgUsrInfo     :  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed S-1-5-18 [S-1-5-18]: Staged

[12]<!!!>
   Microsoft.VCLibs.140.00
   1 FullName:         Microsoft.VCLibs.140.00_14.0.32530.0_x64__8wekyb3d8bbwe
     Version:          14.0.32530.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.32530.0_x64__8wekyb3d8bbwe
     PkgUsrInfo     :  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   2 FullName:         Microsoft.VCLibs.140.00_14.0.33321.0_x64__8wekyb3d8bbwe
     Version:          14.0.33321.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.33321.0_x64__8wekyb3d8bbwe
     PkgUsrInfo     :  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   3 FullName:         Microsoft.VCLibs.140.00_14.0.33519.0_x86__8wekyb3d8bbwe
     Version:          14.0.33519.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.33519.0_x86__8wekyb3d8bbwe
     PkgUsrInfo     :  S-1-5-21-119248584-2964491339-2963805285-1003 [S-1-5-21-119248584-2964491339-2963805285-1003]: Installed S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   4 FullName:         Microsoft.VCLibs.140.00_14.0.33519.0_x64__8wekyb3d8bbwe
     Version:          14.0.33519.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.33519.0_x64__8wekyb3d8bbwe
     PkgUsrInfo     :  S-1-5-21-119248584-2964491339-2963805285-1003 [S-1-5-21-119248584-2964491339-2963805285-1003]: Installed S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed

[13]
   MicrosoftWindows.Client.FileExp
   1 FullName:         MicrosoftWindows.Client.FileExp_1000.22651.1000.0_x64__cw5n1h2txyewy
     Version:          1000.22651.1000.0
     InstallLocation:  C:\Windows\SystemApps\MicrosoftWindows.Client.FileExp_cw5n1h2txyewy
     PkgUsrInfo     :  S-1-5-18 [S-1-5-18]: Staged
   2 FullName:         MicrosoftWindows.Client.FileExp_1000.22653.1000.0_x64__cw5n1h2txyewy
     Version:          1000.22653.1000.0
     InstallLocation:  C:\Windows\SystemApps\MicrosoftWindows.Client.FileExp_cw5n1h2txyewy
     PkgUsrInfo     :  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed S-1-5-18 [S-1-5-18]: Installed

[14]
   Microsoft.UI.Xaml.CBS
   1 FullName:         Microsoft.UI.Xaml.CBS_8.2207.29001.0_x64__8wekyb3d8bbwe
     Version:          8.2207.29001.0
     InstallLocation:  C:\Windows\SystemApps\Microsoft.UI.Xaml.CBS_8wekyb3d8bbwe
     PkgUsrInfo     :  S-1-5-21-119248584-2964491339-2963805285-1000 [S-1-5-21-119248584-2964491339-2963805285-1000]: Installed S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   2 FullName:         Microsoft.UI.Xaml.CBS_8.2305.16002.0_x64__8wekyb3d8bbwe
     Version:          8.2305.16002.0
     InstallLocation:  C:\Windows\SystemApps\Microsoft.UI.Xaml.CBS_8wekyb3d8bbwe
     PkgUsrInfo     :  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed S-1-5-21-119248584-2964491339-2963805285-1003 [S-1-5-21-119248584-2964491339-2963805285-1003]: Installed S-1-5-18 [S-1-5-18]: Installed

[15]
   11157TienDoNam.LocalSend
   1 FullName:         11157TienDoNam.LocalSend_1.12.0.0_x64__g71aj367vb7ze
     Version:          1.12.0.0
     InstallLocation:  C:\Program Files\WindowsApps\11157TienDoNam.LocalSend_1.12.0.0_x64__g71aj367vb7ze
     PkgUsrInfo     :  S-1-5-18 [S-1-5-18]: Staged
   2 FullName:         11157TienDoNam.LocalSend_1.13.1.0_x64__g71aj367vb7ze
     Version:          1.13.1.0
     InstallLocation:  C:\Program Files\WindowsApps\11157TienDoNam.LocalSend_1.13.1.0_x64__g71aj367vb7ze
     PkgUsrInfo     :  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed S-1-5-18 [S-1-5-18]: Staged

[16]<!!!>
   Microsoft.NET.Native.Framework.1.7
   1 FullName:         Microsoft.NET.Native.Framework.1.7_1.7.27413.0_x86__8wekyb3d8bbwe
     Version:          1.7.27413.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.NET.Native.Framework.1.7_1.7.27413.0_x86__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   2 FullName:         Microsoft.NET.Native.Framework.1.7_1.7.27413.0_x64__8wekyb3d8bbwe
     Version:          1.7.27413.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.NET.Native.Framework.1.7_1.7.27413.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed

[17]
   Microsoft.WinDbg
   1 FullName:         Microsoft.WinDbg_1.2306.14001.0_x64__8wekyb3d8bbwe
     Version:          1.2306.14001.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2306.14001.0_x64__8wekyb3d8bbwe
     PkgUsrInfo     :  S-1-5-18 [S-1-5-18]: Staged
   2 FullName:         Microsoft.WinDbg_1.2308.2002.0_x64__8wekyb3d8bbwe
     Version:          1.2308.2002.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2308.2002.0_x64__8wekyb3d8bbwe
     PkgUsrInfo     :  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed S-1-5-18 [S-1-5-18]: Staged

[18]<!!!>
   Microsoft.DirectXRuntime
   1 FullName:         Microsoft.DirectXRuntime_9.29.1974.0_x86__8wekyb3d8bbwe
     Version:          9.29.1974.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.DirectXRuntime_9.29.1974.0_x86__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   2 FullName:         Microsoft.DirectXRuntime_9.29.1974.0_x64__8wekyb3d8bbwe
     Version:          9.29.1974.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.DirectXRuntime_9.29.1974.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed

[19]
   Microsoft.UI.Xaml.2.7
   1 FullName:         Microsoft.UI.Xaml.2.7_7.2208.15002.0_x64__8wekyb3d8bbwe
     Version:          7.2208.15002.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.UI.Xaml.2.7_7.2208.15002.0_x64__8wekyb3d8bbwe
     PkgUsrInfo     :  S-1-5-21-119248584-2964491339-2963805285-1003 [S-1-5-21-119248584-2964491339-2963805285-1003]: Installed S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   2 FullName:         Microsoft.UI.Xaml.2.7_7.2208.15002.0_x86__8wekyb3d8bbwe
     Version:          7.2208.15002.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.UI.Xaml.2.7_7.2208.15002.0_x86__8wekyb3d8bbwe
     PkgUsrInfo     :  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed S-1-5-21-119248584-2964491339-2963805285-1003 [S-1-5-21-119248584-2964491339-2963805285-1003]: Installed

[20]<!!!>
   Microsoft.Windows.DevHome
   1 FullName:         Microsoft.Windows.DevHome_0.1000.389.0_x64__8wekyb3d8bbwe
     Version:          0.1000.389.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.Windows.DevHome_0.1000.389.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-18 [S-1-5-18]: Staged
   2 FullName:         Microsoft.Windows.DevHome_0.1001.389.0_x64__8wekyb3d8bbwe
     Version:          0.1001.389.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.Windows.DevHome_0.1001.389.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-18 [S-1-5-18]: Staged

[21]
   MicrosoftWindows.Client.Core
   1 FullName:         MicrosoftWindows.Client.Core_1000.22646.1000.0_x64__cw5n1h2txyewy
     Version:          1000.22646.1000.0
     InstallLocation:  C:\Windows\SystemApps\MicrosoftWindows.Client.Core_cw5n1h2txyewy
     PkgUsrInfo     :  S-1-5-18 [S-1-5-18]: Staged
   2 FullName:         MicrosoftWindows.Client.Core_1000.22647.1000.0_x64__cw5n1h2txyewy
     Version:          1000.22647.1000.0
     InstallLocation:  C:\Windows\SystemApps\MicrosoftWindows.Client.Core_cw5n1h2txyewy
     PkgUsrInfo     :  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed S-1-5-18 [S-1-5-18]: Installed

[22]<!!!>
   Microsoft.NET.Native.Framework.2.2
   1 FullName:         Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe
     Version:          2.2.29512.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   2 FullName:         Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x86__8wekyb3d8bbwe
     Version:          2.2.29512.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x86__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed

[23]<!!!>
   Microsoft.WindowsAppRuntime.CBS
   1 FullName:         Microsoft.WindowsAppRuntime.CBS_4000.887.425.0_x64__8wekyb3d8bbwe
     Version:          4000.887.425.0
     InstallLocation:  C:\Windows\SystemApps\Microsoft.WindowsAppRuntime.CBS_8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   2 FullName:         Microsoft.WindowsAppRuntime.CBS_4000.952.1714.0_x64__8wekyb3d8bbwe
     Version:          4000.952.1714.0
     InstallLocation:  C:\Windows\SystemApps\Microsoft.WindowsAppRuntime.CBS_8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   3 FullName:         Microsoft.WindowsAppRuntime.CBS_4000.1000.1727.0_x64__8wekyb3d8bbwe
     Version:          4000.1000.1727.0
     InstallLocation:  C:\Windows\SystemApps\Microsoft.WindowsAppRuntime.CBS_8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   4 FullName:         Microsoft.WindowsAppRuntime.CBS_4000.1027.2341.0_x64__8wekyb3d8bbwe
     Version:          4000.1027.2341.0
     InstallLocation:  C:\Windows\SystemApps\Microsoft.WindowsAppRuntime.CBS_8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed S-1-5-18 [S-1-5-18]: Installed

[24]<!!!>
   Microsoft.UI.Xaml.2.5
   1 FullName:         Microsoft.UI.Xaml.2.5_2.52012.2002.0_x64__8wekyb3d8bbwe
     Version:          2.52012.2002.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.UI.Xaml.2.5_2.52012.2002.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   2 FullName:         Microsoft.UI.Xaml.2.5_2.52012.2002.0_x86__8wekyb3d8bbwe
     Version:          2.52012.2002.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.UI.Xaml.2.5_2.52012.2002.0_x86__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed

[25]
   Microsoft.GamingServices
   1 FullName:         Microsoft.GamingServices_17.85.5002.0_x64__8wekyb3d8bbwe
     Version:          17.85.5002.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.GamingServices_17.85.5002.0_x64__8wekyb3d8bbwe
     PkgUsrInfo     :  S-1-5-18 [S-1-5-18]: Staged
   2 FullName:         Microsoft.GamingServices_18.86.14001.0_x64__8wekyb3d8bbwe
     Version:          18.86.14001.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.GamingServices_18.86.14001.0_x64__8wekyb3d8bbwe
     PkgUsrInfo     :  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed

[26]<!!!>
   Microsoft.NET.Native.Runtime.2.2
   1 FullName:         Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x64__8wekyb3d8bbwe
     Version:          2.2.28604.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   2 FullName:         Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x86__8wekyb3d8bbwe
     Version:          2.2.28604.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x86__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed

[27]
   Microsoft.YourPhone
   1 FullName:         Microsoft.YourPhone_0.23122.73.0_x64__8wekyb3d8bbwe
     Version:          0.23122.73.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.YourPhone_0.23122.73.0_x64__8wekyb3d8bbwe
     PkgUsrInfo     :  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   2 FullName:         Microsoft.YourPhone_0.24012.92.0_x64__8wekyb3d8bbwe
     Version:          0.24012.92.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.YourPhone_0.24012.92.0_x64__8wekyb3d8bbwe
     PkgUsrInfo     :  S-1-5-18 [S-1-5-18]: Paused

[28]<!!!>
   Microsoft.UI.Xaml.2.8
   1 FullName:         Microsoft.UI.Xaml.2.8_8.2306.22001.0_x64__8wekyb3d8bbwe
     Version:          8.2306.22001.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.UI.Xaml.2.8_8.2306.22001.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   2 FullName:         Microsoft.UI.Xaml.2.8_8.2310.30001.0_x86__8wekyb3d8bbwe
     Version:          8.2310.30001.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.UI.Xaml.2.8_8.2310.30001.0_x86__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed S-1-5-21-119248584-2964491339-2963805285-1003 [S-1-5-21-119248584-2964491339-2963805285-1003]: Installed
   3 FullName:         Microsoft.UI.Xaml.2.8_8.2310.30001.0_x64__8wekyb3d8bbwe
     Version:          8.2310.30001.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.UI.Xaml.2.8_8.2310.30001.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed S-1-5-21-119248584-2964491339-2963805285-1003 [S-1-5-21-119248584-2964491339-2963805285-1003]: Installed

[29]<!!!>
   Microsoft.WindowsAppRuntime.1.2
   1 FullName:         Microsoft.WindowsAppRuntime.1.2_2000.802.31.0_x86__8wekyb3d8bbwe
     Version:          2000.802.31.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.2_2000.802.31.0_x86__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed
   2 FullName:         Microsoft.WindowsAppRuntime.1.2_2000.802.31.0_x64__8wekyb3d8bbwe
     Version:          2000.802.31.0
     InstallLocation:  C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.2_2000.802.31.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-21-119248584-2964491339-2963805285-1001 [n]: Installed

[30]<!!!>
   MicrosoftCorporationII.QuickAssist
   1 FullName:         MicrosoftCorporationII.QuickAssist_2.0.22.0_x64__8wekyb3d8bbwe
     Version:          2.0.22.0
     InstallLocation:  C:\Program Files\WindowsApps\MicrosoftCorporationII.QuickAssist_2.0.22.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-18 [S-1-5-18]: Staged
   2 FullName:         MicrosoftCorporationII.QuickAssist_2.0.28.0_x64__8wekyb3d8bbwe
     Version:          2.0.28.0
     InstallLocation:  C:\Program Files\WindowsApps\MicrosoftCorporationII.QuickAssist_2.0.28.0_x64__8wekyb3d8bbwe
     PkgUsrInfo<!!!>:  S-1-5-18 [S-1-5-18]: Staged
nopeless commented 6 months ago

@denelon A lot of these applications don't appear in appwiz.cpl. I think more attention needs to be brought into this issue

Especially considering the fact that a single winget upgrade --all caused this

davidldennison commented 6 months ago

@nopeless you're definitely on the right track here. Been dealing with this all day and can't even get winget running again. Can't update any MSStore apps, some of them won't even run. More attention definitely needs to be brought to this as there is literally no easy way to re-isntall the store app. I've tried DISMTools and others to no avail. Seems a clean install is the only solution which is crazyyyy

nopeless commented 6 months ago

@nopeless you're definitely on the right track here. Been dealing with this all day and can't even get winget running again. Can't update any MSStore apps, some of them won't even run. More attention definitely needs to be brought to this as there is literally no easy way to re-isntall the store app. I've tried DISMTools and others to no avail. Seems a clean install is the only solution which is crazyyyy

I'm looking into solutions that involves modifying the system as TrustedInstaller but I am being extremely cautious as I am close to irrecoverably damaging the repository. I'm waiting for someone who knows the ins and outs of Appx to help me here

nopeless commented 6 months ago

@mdanish-kh mentioning you because you commented on a relevant issue

@denelon I would like to know a general direction how this issue might be handled

dasbootbee commented 4 months ago

Getting this error today when attempting an export or upgrade --all.

An unexpected error occurred while executing the command: Download request status is not success. 0x80190194 : Not found (404).

davidldennison commented 4 months ago

Getting this error today when attempting an export or upgrade --all.

An unexpected error occurred while executing the command: Download request status is not success. 0x80190194 : Not found (404).

That means the URL of one of the programs you are trying to upgrade is 404'ing. You should be able to run winget upgrade <name> on each program and it'll have the same 404 error so you can identify which package it is.