winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

Option to run without promotion to administrator

Open Mikaela opened this issue 4 years ago • 1 comments

Description of the new feature / enhancement

I would like to upgrade all apps that winget upgrade --all recognises and as I don't have administrator access, I have to click cancel which then results to unexpected error 0x800704c7 on user cancellation.

Proposed technical implementation details

I think a flag such as --user that never attempted to perform administrator actions would help in this case, e.g. winget upgrade --all --user and if everything that wasn't requiring administrator access was up-to-date, winget could report that.

Mikaela avatar Oct 19 '21 11:10 Mikaela

I want to supplement this feature with the fact that when installing or updating software via winget, the administrator password should be requested 1 time and not every time a new program is installed It's really annoying and infuriating, if you're doing this under an administrator account, then you need to confirm the installation of the software. And if you move away from the computer for a minute, then half of the programs were not installed, because the timeout for waiting for confirmation of the admin rights worked. Those. if you install many programs at once according to the list, then you have to sit at the computer and wait and confirm each program, otherwise you will have to start the installation process again.

Inf-Sub avatar Nov 08 '22 21:11 Inf-Sub