-
-
Notifications
You must be signed in to change notification settings - Fork 500
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] 3.0.0 Beta 1 can not be started "Run as Administrator" by a standard/limited account? #1870
Comments
This would work on previous WingetUI versions? |
On 2.2. for sure, not sure if I tested this on previous 3.x Beta/Alpha's. |
So you are seeing the UAC prompt and then happens nothing? |
No, a standard account needs elevation under a Admin userID/Password, so I get a dialog to elevate to a real admin account, no UAC involved in this use-case. |
This is still UAC dialog. So I undertstand the dialog still shows, but nothing happens afterwards |
correct |
Please try running PowerToys as administrator in the same way you do with WingetUI (PowerToys uses similar libraries to WingetUI). What happens? |
That works, powertoys starts as admin when launched from a limited/standard account. |
Hello, I have been doing further testing, and this issue is caused by the Windows App Sdk not being compatible with the "Run as other user". Therefore, this issue can't be fixed from WingetUI. More info here: microsoft/WindowsAppSDK#2555 Please remember that WingetUI should not be run as administrator, and the ability to auto elevate operations is already there |
Not all applications are installed for all users. Before 3.0, it was possible to use WingetUI to update apps installed under the admin account from a standard user account by doing a run-as. " the ability to auto elevate operations is already there" |
I am afraid the App Sdk is simply incompatible with running as administrator from an account without administrator rights. |
Please confirm these before moving forward
Describe your issue
As a standard user I can no longer WingetUI "Run as Administrator"
This does work when logged in as Admin account and allow UAC prompt, in that case it also shows "RUN AS ADMINISTRATOR" in the title bar.
Steps to reproduce the issue
Login as standard/limited user account, right mouse -> Run as Administrator on the WingetUI desktop Icon, nothing happens.
WingetUI Log
Package Managers Logs
Relevant information
Win10, x64
Screenshots and videos
No response
The text was updated successfully, but these errors were encountered: