microsoft / microsoft/winget-cli
Cache elevated status
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Description of the new feature / enhancement
When you install many apps from winget you can run into this situation: you install app -> you see UAC prompt, you install another app -> you see UAC prompt again, in worst case you'll need to this for dozens of apps. When i tried moving my apps from chocolatey to winget i've been extremely annoyed by dozens of UAC prompts when installs apps, it would be really nice if winget can somehow cache (even 5-15 mins will be better this no cache at all) elevated status so next installers will not ask for admin rights.
Proposed technical implementation details
No response
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
Start by reviewing the winget CLI installation flow and how it currently triggers UAC prompts. Determine the expected scope and lifetime of cached elevation, then define tests covering repeated app installs and expiration before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100