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
- Use local Administrator account
- Install
GitHub.Copilot under the user scope
- 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
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
GitHub.Copilotunder the user scopeGitHub.CopilotExpected 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