Skip to content

winget can uninstall applications that shouldn't be uninstallable  #1047

@casperiv0

Description

@casperiv0

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

  1. Find an application that cannot be uninstalled via the Windows Settings App
  2. Find the application in winget using winget list
  3. Run winget uninstall <application_name_id>
  4. The application will successfully uninstalled/not usable anymore
  5. The application will still be listed in the settings but cannot be opened anymore because it can't find the correct files.

To fix

  1. Open settings application
  2. Find the application in the Apps section
  3. Click advanced options
  4. Reset/repair the application
  5. 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

image

Application cannot be opened anymore

image

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-FeatureThis is a feature request for the Windows Package Manager client.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions