HOW DO i REINSTALL winget ?

Anonymous
2025-01-01T22:18:33+00:00

HOW DO i REINSTALL winget ?

***moved from Windows / Windows 10 / Files, folders, and storage***

Windows for business | Windows Client for IT Pros | Performance | Windows desktop and shell experience

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

22 answers

Sort by: Most helpful
  1. Anonymous
    2025-01-01T22:50:04+00:00

    Hello,

    Please install Microsoft App Installer from the Microsoft Store and you should be able to use winget.

    Let me know how this goes.

    0 comments No comments
  2. Anonymous
    2025-01-02T01:25:18+00:00

    Hi Paul,

    What happens when you run Winget? To reinstall it, please open admin PowerShell and run this command:

    get-appxpackage -allusers *DesktopAppInstaller* |  Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
    

    This reinstalls the App Installer package, which includes WinGet.

    Post the output here.

    If the app installer package is missing from the system, you can download and install it from the Store:

    https://apps.microsoft.com/store/detail/app-ins...

    0 comments No comments
  3. Anonymous
    2025-01-02T04:50:00+00:00

    get-appxpackage -allusers DesktopAppInstaller | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

    Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it
    modifies are currently in use.
    error 0x80073D02: Unable to install because the following apps need to be closed
    Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe.
    NOTE: For additional information, look for [ActivityId] 378fde60-5c6b-0003-6af4-a6376b5cdb01 in the Event Log or use
    the command line Get-AppPackageLog -ActivityID 378fde60-5c6b-0003-6af4-a6376b5cdb01
    At line:1 char:61

    • ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ...
    •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
      
      • CategoryInfo : NotSpecified: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], Exception
      • FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
    0 comments No comments
  4. Anonymous
    2025-01-02T04:55:34+00:00

    Download the WinGet offline installer from here.

    https://github.com/microsoft/winget-cli/release...

    You can reinstall it by double-clicking (since the App Installer package is already installed).

    If that doesn't work, install it using this PowerShell command:

    Add-ProvisionedAppPackage -online -PackagePath "C:\DesktopAppInstaller.msixbundle" -skiplicense
    

    Assuming you've stored the msixbundle "DesktopAppInstaller.msixbundle" in the C:\ drive root.

    0 comments No comments
  5. Anonymous
    2025-01-02T22:57:01+00:00

    C:\Windows\System32>winget install Winget-AutoUpdate-aaS XP89BSK82W9J28

    Found an existing package already installed. Trying to upgrade the installed package...
    No available upgrade found.
    No newer package versions are available from the configured sources.
    Package is already installed: Winget-AutoUpdate-aaS
    Found an existing package already installed. Trying to upgrade the installed package...
    No available upgrade found.
    No newer package versions are available from the configured sources.
    Package is already installed: XP89BSK82W9J28

    0 comments No comments