Skip to content

Cannot uninstall user-scoped packages using Administrator account #6363

Description

@djohts

Relevant area(s)

WinGet CLI

Relevant command(s)

winget uninstall

Brief description of your issue

Using local Administrator account. Installed GH Copilot CLI in user scope. Trying to uninstall fails with The package installed for user scope cannot be uninstalled when running with administrator privileges.

Steps to reproduce

  1. Use local Administrator account
  2. Install GitHub.Copilot under the user scope
  3. Attempt to uninstall GitHub.Copilot

Expected behavior

Package to be uninstalled.

Actual behavior

Package does not uninstall because The package installed for user scope cannot be uninstalled when running with administrator privileges.

Environment

winget --info
Windows Package Manager v1.29.280
© 2026 Microsoft. All rights reserved.

Windows: Windows.Desktop v10.0.26200.8737
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.29.280.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Command-UninstallIssue related to WinGet UninstallContext-Elevated-UserRelated to elevated user contextIssue-FeatureThis is a feature request for the Windows Package Manager client.

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions