-
-
Notifications
You must be signed in to change notification settings - Fork 440
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] AutoElevate WinGet operations that require so #2134
Comments
Are you installing the packages with right-click -> run as administrator? |
Also I only want to update as admin only these packages that require admin. The remaining should update/install per user. |
But you do have this option enabled or not? |
There is no such option, see screenshot in the description. |
Right, but I agree with Marcin here, I only want to elevate for installs that require it. Is that possible? or is that what that setting implies? (because it reads like it's going to elevate ALL installs regardless of if they need it or not). I've tried using "Ask only once for administrator privileges (not recommended)" and "Ask for administrator privileges once for each batch of operations" and I've tried having both enabled, or none enabled. The effect is the same regardless, I get Admin prompt for every individual install in a list of upgrades. |
Right so I think my original issue was caused by misunderstanding how this option is supposed to work. I think the "Ask only once for administrator privileges" deserves extra explanation in the UI that it is only effective when package managers are configured to always use elevation. Separately I can create feature request to actually support asking only once with elevation as needed. I imagine this might be tricky to implement but not impossible. |
I second that. Some installations fail with activated elevation, if the original install was aware of normal user/admin separation and installed only for the normal user and not the admin user. |
I see few options for dynamic elevation:
|
I also fail to understand this option. When I check it i expect to only have to click the elevation prompt the first time it asks. I have just installed around 10 updates and have to sit here and watch it every time so I can allow the elevation prompt. This hardly makes updating my packages a smooth and background experience. |
If you want such behaviour, you need to enable the "cache administrator rights" option, under administrator rights preferences |
The option you have enabled will ask for administrator only once until the install queue is empty, at which point it will lose the cache and will ask again on the next operation. If this is not the case, please let me know |
I'm 90% sure that is not currently working. I will check when I get the chance. |
Please confirm these before moving forward
Describe your issue
and yet I'm always asked multiple times
Steps to reproduce the issue
WingetUI Log
Package Managers Logs
Relevant information
It never worked for me
Screenshots and videos
No response
The text was updated successfully, but these errors were encountered: