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] "Ask only once for administrator privileges" does not work #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:
|
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: