Skip to content

Make "winget rm" able to uninstall any MS Store app by ID, even those not in the msstore repo source. #6306

@DandelionSprout

Description

@DandelionSprout

Relevant area(s)

WinGet CLI

Description of the new feature / enhancement

So, I learned recently that Winget is able to uninstall Microsoft Store apps even if they were not installed through winget install; i.e. they were shown as MSIX\(...) when running winget list.

  • winget rm 9nzbf4gt040c successfully uninstall the Bing app.
  • winget rm xp8bt8dw290mpq successfully uninstalls Start Experiences App.
  • winget rm 9wzdncrfhwd2 fails at uninstalling the Solitaire & Casual Games app, since the ID 9wzdncrfhwd2 is not in the msstore repo's data. This is the part that could need improvement.

Proposed technical implementation details

Make winget rm able to detect the IDs of any Microsoft Store apps, for the specific purpose of finding ID-to-app matches for uninstallations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-FeatureThis is a feature request for the Windows Package Manager client.Needs-TriageIssue needs to be triaged
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions