Brief description of your issue
Some apps that cannot be uninstalled via the Windows Settings App/Control Panel, can be uninstalled via winget (that probably also shouldn't be uninstallable.).
Steps to reproduce
- Find an application that cannot be uninstalled via the Windows Settings App
- Find the application in winget using
winget list
- Run
winget uninstall <application_name_id>
- The application will successfully uninstalled/not usable anymore
- The application will still be listed in the settings but cannot be opened anymore because it can't find the correct files.
To fix
- Open settings application
- Find the application in the Apps section
- Click advanced options
- Reset/repair the application
- Application should be working again (but can be uninstalled again via winget)
tested applications
These application were uninstalled via winget but could not be uninstalled via the Settings app
- Cortana
- Windows Store
- Windows Alarms and clocks
- Microsoft Edge
- Windows Camera
- XboxGameOverlay
- Your phone
Screenshot
Uninstalls the application

Application cannot be opened anymore

Expected behavior
Should not uninstall apps that cannot be uninstalled normally (via Control panel/Windows Settings app)
Actual behavior
It's uninstalling the application that should not be uninstallable
Environment
[winget --info]
Windows Package Manager version: v1.0.11451
Windows: Windows.Desktop v10.0.21390.1
Package: Microsoft.DesktopAppInstaller version: v1.11.11451.0
Any other software?
- Windows insiders (dev channel)
Brief description of your issue
Some apps that cannot be uninstalled via the Windows Settings App/Control Panel, can be uninstalled via winget (that probably also shouldn't be uninstallable.).
Steps to reproduce
winget listwinget uninstall <application_name_id>To fix
tested applications
These application were uninstalled via winget but could not be uninstalled via the Settings app
Screenshot
Uninstalls the application
Application cannot be opened anymore
Expected behavior
Should not uninstall apps that cannot be uninstalled normally (via Control panel/Windows Settings app)
Actual behavior
It's uninstalling the application that should not be uninstallable
Environment