Skip to content

Comments

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

Merged
mattwojo merged 1 commit intoMicrosoftDocs:docsfrom
floh96:patch-1
Jun 11, 2025
Merged

fix(sandbox): add -AllUsers to Repair-WinGetPackageManager#5370
mattwojo merged 1 commit intoMicrosoftDocs:docsfrom
floh96:patch-1

Conversation

@floh96
Copy link
Contributor

@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
@prmerger-automator
Copy link
Contributor

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

@learn-build-service-prod
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:

@prmerger-automator
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.

learn-build-service-prod bot pushed a commit that referenced this pull request Apr 29, 2025
* move winui2 docs to uwp (#5361)

* Rename hub/apps/winui/winui2/nuget-packages.md to uwp/get-started/winui2/nuget-packages.md

* Rename hub/apps/winui/winui2/index.md to uwp/get-started/winui2/index.md

* Update and rename hub/apps/winui/winui2/getting-started.md to uwp/get-started/winui2/getting-started.md

* Rename hub/apps/winui/winui2/release-notes/index.md to uwp/get-started/winui2/release-notes/index.md

* Rename hub/apps/winui/winui2/release-notes/winui-2.0.md to uwp/get-started/winui2/release-notes/winui-2.0.md

* Rename hub/apps/winui/winui2/release-notes/winui-2.1.md to uwp/get-started/winui2/release-notes/winui-2.1.md

* Rename hub/apps/winui/winui2/release-notes/winui-2.2.md to uwp/get-started/winui2/release-notes/winui-2.2.md

* Rename hub/apps/winui/winui2/release-notes/winui-2.3.md to uwp/get-started/winui2/release-notes/winui-2.3.md

* Rename hub/apps/winui/winui2/release-notes/winui-2.4.md to uwp/get-started/winui2/release-notes/winui-2.4.md

* Rename hub/apps/winui/winui2/release-notes/winui-2.5.md to uwp/get-started/winui2/release-notes/winui-2.5.md

* Rename hub/apps/winui/winui2/release-notes/winui-2.6.md to uwp/get-started/winui2/release-notes/winui-2.6.md

* Rename hub/apps/winui/winui2/release-notes/winui-2.7.md to uwp/get-started/winui2/release-notes/winui-2.7.md

* Rename hub/apps/winui/winui2/release-notes/winui-2.8.md to uwp/get-started/winui2/release-notes/winui-2.8.md

* move WinUI2 images to UWP folder

* update toc and instructions

* update get-started links in toc

* add missing images

* fix links

* update links

* redirect winui2 docs

* update links to winui2

* Add Blazor Hybrid to overview of framework options

* [WinAppSDK] Improve RuntimeCompatibilityChange references (#5369)

* Link to RuntimeCompatibilityChange use. Clean up styling of servicing fixes.

* Escape un-code-styled less-than/greater-than

* Add note to Smart App Control about ECC sigs

---------

Co-authored-by: Jim Walker <jimwalk@microsoft.com>
Co-authored-by: Alvin Ashcraft <aashcraft@microsoft.com>
Co-authored-by: Mike Crider <45052236+codendone@users.noreply.github.com>
Co-authored-by: Alvin Ashcraft <73072+alvinashcraft@users.noreply.github.com>
@mattwojo mattwojo requested a review from denelon May 1, 2025 17:47
@mattwojo
Copy link
Contributor

mattwojo commented May 1, 2025

@denelon - Any updates?

@floh96
Copy link
Contributor Author

floh96 commented May 16, 2025

@mattwojo if verification is required maybe you can verify the fix yourself?
ping @denelon

@denelon
Copy link
Contributor

denelon commented May 19, 2025

@mattwojo I've isolated the issues I was having, and this PR is fine to merge.

@floh96
Copy link
Contributor Author

floh96 commented Jun 11, 2025

@mattwojo @alvinashcraft can you please merge?

@mattwojo
Copy link
Contributor

Thanks for identifying this issue, @floh96, and contributing the fix! And thanks Demitrius for confirming. Merged.

@mattwojo mattwojo merged commit 58d229d into MicrosoftDocs:docs Jun 11, 2025
2 checks passed
@floh96 floh96 deleted the patch-1 branch June 11, 2025 18:10
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