microsoft / microsoft/winget-cli
winget install --scope machine stopped working
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Brief description of your issue
when executing with the flag --scope winget is resulting in errors. i recognized as i did some machine installs with the --scope machine before, which now dont work anymore.
winget install WireGuard.WireGuard -h --scope machine
winget install AnyDeskSoftwareGmbH.AnyDesk -h --scope machine
winget install SlackTechnologies.Slack -h --scope machine
winget install Google.Chrome.EXE -h --scope machine
winget install Adobe.Acrobat.Reader.64-bit -h --scope machine
winget install Microsoft.VisualStudioCode -h --scope machine
winget install LocalSend.LocalSend -h --scope machine
Steps to reproduce
run winget install <package> --scope user|machine
Expected behavior
run the installer as expected, resulting in either machine- or user-wide available applications.
Actual behavior
errors depending on the scope.
Environment
Windows Package Manager v1.8.1911
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22631.3880
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the listed winget install commands with --scope user and --scope machine on the reported Windows and WinGet versions, recording the exact errors rather than relying on the screenshot. Trace the scope-specific installation path and confirm done when representative packages install with the requested user- or machine-wide availability.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100