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

fix(sandbox): add -AllUsers to Repair-WinGetPackageManager #5370

Open
wants to merge 1 commit into
base: docs
Choose a base branch
from

Conversation

floh96
Copy link

@floh96 floh96 commented Mar 29, 2025

Without -AllUsers the command fails with the following error message

Click to expand

PS C:\Users\WDAGUtilityAccount> Install-PackageProvider -Name NuGet -Force | Out-Null PS C:\Users\WDAGUtilityAccount> Install-Module -Name Microsoft.WinGet.Client -Force -Repository PSGallery | Out-Null PS C:\Users\WDAGUtilityAccount> Repair-WinGetPackageManager Repair-WinGetPackageManager : Deployment failed with HRESULT: 0x80073CF9, Fehler bei der Installation. Wenden Sie sich an den Softwarehersteller. Der Bereitstellungsvorgang "Add" mit Zielvolume "C:" für das Paket "Microsoft.DesktopAppInstaller_2025.228.315.0_neutral_~_8wekyb3d8bbwe" von " (Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle) " ist mit dem Fehler 0x80D02002 fehlgeschlagen. Weitere Informationen zum Diagnostizieren von Problemen bei der Bereitstellung von Apps finden Sie unter
"http://go.microsoft.com/fwlink/?LinkId=235160".
NOTE: For additional information, look for [ActivityId] 48b6168e-a0cd-0006-fe51-b648cda0db01 in the Event Log or use
the command line Get-AppPackageLog -ActivityID 48b6168e-a0cd-0006-fe51-b648cda0db01
At line:1 char:1

  • Repair-WinGetPackageManager
  •   + CategoryInfo          : WriteError: (https://github....bbwe.msixbundle:String) [Repair-WinGetPackageManager], IO
     Exception
      + FullyQualifiedErrorId : DeploymentError,Microsoft.WinGet.Client.Commands.RepairWinGetPackageManagerCmdlet
    
    

Repair-WinGetPackageManager : Deployment failed with HRESULT: 0x80073CF9, Fehler bei der Installation. Wenden Sie sich
an den Softwarehersteller.
Der Bereitstellungsvorgang "Add" mit Zielvolume "C:" für das Paket
"Microsoft.DesktopAppInstaller_2025.228.315.0_neutral_~_8wekyb3d8bbwe" von "
(Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle) " ist mit dem Fehler 0x80D02002 fehlgeschlagen. Weitere
Informationen zum Diagnostizieren von Problemen bei der Bereitstellung von Apps finden Sie unter
"http://go.microsoft.com/fwlink/?LinkId=235160".
NOTE: For additional information, look for [ActivityId] 48b6168e-a0cd-0006-fe51-b648cda0db01 in the Event Log or use
the command line Get-AppPackageLog -ActivityID 48b6168e-a0cd-0006-fe51-b648cda0db01
At line:1 char:1

  • Repair-WinGetPackageManager
  •   + CategoryInfo          : WriteError: (https://github....bbwe.msixbundle:String) [Repair-WinGetPackageManager], IO
     Exception
      + FullyQualifiedErrorId : DeploymentError,Microsoft.WinGet.Client.Commands.RepairWinGetPackageManagerCmdlet
    
    

PS C:\Users\WDAGUtilityAccount>

command fails without -AllUsers
Copy link
Contributor

@floh96 : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

Copy link
Contributor

Learn Build status updates of commit 46f0777:

✅ Validation status: passed

File Status Preview URL Details
hub/package-manager/winget/index.md ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

Copy link
Contributor

PRMerger Results

Issue Description
Index File This PR contains a change to the index file.

@mattwojo
Copy link
Contributor

mattwojo commented Apr 1, 2025

@denelon - Any insight on why this command is failing and the error message?

@denelon
Copy link
Contributor

denelon commented Apr 1, 2025

I'm setting up a device to test this. I'm not sure what's changed. I did get an error running on my "daily driver", but I need to test on a "stable" version of Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants