microsoft / microsoft/winget-cli

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

Open
#6,306 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Feature msstore
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the WinGet CLI entry points for winget rm and its existing Microsoft Store ID resolution, then compare that path with the winget list results showing MSIX\(...) apps. The change is complete when IDs such as 9wzdncrfhwd2 can resolve and uninstall Store apps outside the msstore source without regressing existing removals.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.