Skip to content

[BUG] Ask only once for administrator privileges not taking effect for first parallel operations #3615

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

Open
4 tasks done
Uj947nXmRqV2nRaWshKtHzTvckUUpD opened this issue Apr 30, 2025 · 6 comments
Assignees
Labels
bug Something isn't working ready-to-go
Milestone

Comments

@Uj947nXmRqV2nRaWshKtHzTvckUUpD
Copy link

Uj947nXmRqV2nRaWshKtHzTvckUUpD commented Apr 30, 2025

Please confirm these before moving forward

  • I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
  • I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • I have checked the FAQ section for solutions.
  • This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version

UniGetUI 3.2.0 beta 3

Windows version, edition, and architecture

11

Describe your issue

ask only once for administrator privileges toggle not taking effect

Steps to reproduce the issue

enable the new unigetui-branded uac elevator: enabled
enabled "ask only once for administrator privileges"
also set parallel operations to 3 ---- might be the cause of it
update multiple apps => multiple uac prompts are shown

UniGetUI Log

[30-Apr-25 8:28:11 PM] DWM Thread was resumed successfully
[30-Apr-25 8:28:11 PM] XAML Thread was resumed successfully
[30-Apr-25 8:28:12 PM] Found 15 installed packages from Scoop
[30-Apr-25 8:28:12 PM] Found 17 installed packages from Pip
[30-Apr-25 8:28:13 PM] Found 18 installed packages from Chocolatey
[30-Apr-25 8:28:14 PM] Found 0 installed packages from Npm
[30-Apr-25 8:28:15 PM] Found 0 available updates from Npm
[30-Apr-25 8:28:16 PM] Found 0 available updates from Chocolatey
[30-Apr-25 8:28:16 PM] Found 0 available updates from Pip
[30-Apr-25 8:28:18 PM] Found 7 available updates from Winget
[30-Apr-25 8:28:18 PM] Found 207 installed packages from Winget
[30-Apr-25 8:28:18 PM] Adding missing package MSIX\Microsoft.StorePurchaseApp_22503.1401.2.0_x64__8wekyb3d8bbwe to installed packages list
[30-Apr-25 8:28:18 PM] Adding missing package MSIX\Microsoft.WidgetsPlatformRuntime_1.6.9.0_x64__8wekyb3d8bbwe to installed packages list
[30-Apr-25 8:28:18 PM] Adding missing package MSIX\Microsoft.WindowsStore_22503.1401.6.0_x64__8wekyb3d8bbwe to installed packages list
[30-Apr-25 8:28:18 PM] Adding missing package MSIX\Microsoft.Winget.Source_2025.430.1753.12_neutral__8wekyb3d8bbwe to installed packages list
[30-Apr-25 8:28:18 PM] Adding missing package MSIX\MicrosoftWindows.Client.WebExperience_525.8401.30.0_x64__cw5n1h2txyewy to installed packages list
[30-Apr-25 8:28:20 PM] Found 15 installed packages from Scoop
[30-Apr-25 8:28:24 PM] Found 0 available updates from Scoop
[30-Apr-25 8:32:00 PM] WinGet package Cryptomator.Cryptomator is installed on a system-wide scope, forcing administrator rights...
[30-Apr-25 8:32:00 PM] Loaded operation parameters for package id=Cryptomator.Cryptomator on manager Winget and operation Update: update --id "Cryptomator.Cryptomator" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[30-Apr-25 8:32:00 PM] Caching admin rights for process id 15440
[30-Apr-25 8:32:00 PM] WinGet package TheDocumentFoundation.LibreOffice is installed on a system-wide scope, forcing administrator rights...
[30-Apr-25 8:32:00 PM] Loaded operation parameters for package id=TheDocumentFoundation.LibreOffice on manager Winget and operation Update: update --id "TheDocumentFoundation.LibreOffice" --exact --source winget --accept-source-agreements --disable-interactivity --silent  --include-unknown --accept-package-agreements --force
[30-Apr-25 8:32:00 PM] Caching admin rights for process id 15440
[30-Apr-25 8:32:00 PM] WinGet package Mozilla.Firefox is installed on a system-wide scope, forcing administrator rights...
[30-Apr-25 8:32:00 PM] Loaded operation parameters for package id=Mozilla.Firefox on manager Winget and operation Update: update --id "Mozilla.Firefox" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[30-Apr-25 8:32:00 PM] Caching admin rights for process id 15440
[30-Apr-25 8:32:23 PM] WinGet package Mozilla.Thunderbird is installed on a system-wide scope, forcing administrator rights...
[30-Apr-25 8:32:23 PM] Loaded operation parameters for package id=Mozilla.Thunderbird on manager Winget and operation Update: update --id "Mozilla.Thunderbird" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[30-Apr-25 8:32:23 PM] Caching admin rights for process id 15440
[30-Apr-25 8:32:44 PM] Loaded operation parameters for package id=VSCodium.VSCodium on manager Winget and operation Update: update --id "VSCodium.VSCodium" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[30-Apr-25 8:32:57 PM] WinGet package Mozilla.Firefox.DeveloperEdition is installed on a system-wide scope, forcing administrator rights...
[30-Apr-25 8:32:57 PM] Loaded operation parameters for package id=Mozilla.Firefox.DeveloperEdition on manager Winget and operation Update: update --id "Mozilla.Firefox.DeveloperEdition" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[30-Apr-25 8:32:57 PM] Caching admin rights for process id 15440
[30-Apr-25 8:33:50 PM] Resetting administrator rights cache for process id 15440
[30-Apr-25 8:33:50 PM] Resetting administrator rights cache for process id 15440
[30-Apr-25 8:35:33 PM] Clearing UAC prompt since there are no remaining operations
[30-Apr-25 8:35:33 PM] Resetting administrator rights cache for process id 15440
[30-Apr-25 8:36:14 PM] Resetting administrator rights cache for process id 15440
[30-Apr-25 8:36:14 PM] Resetting administrator rights cache for process id 15440

Package Managers Logs

no issues here


Manager WinGet with version:
System WinGet CLI Version: v1.10.390
Using Native WinGet helper (COM Api)

Manager Scoop with version:
Current Scoop version:
859d1db5 chore(release): Bump to version 0.5.2 (#6080)

Manager Chocolatey with version:
2.4.3

Relevant information

No response

Screenshots and videos

No response

@marticliment
Copy link
Owner

It seems to work fine for me. After the various initial prompts, do you see any more prompts?

@Uj947nXmRqV2nRaWshKtHzTvckUUpD
Copy link
Author

only at the start, if i remember well i got 2-3 uac prompts, and had about 6 updates

@marticliment marticliment changed the title [BUG] UniGetUI 3.2.0 beta 3 - ask only once for administrator privileges not taking effect [BUG] Ask only once for administrator privileges not taking effect for first parallel operations May 1, 2025
@Uj947nXmRqV2nRaWshKtHzTvckUUpD
Copy link
Author

i installed now unigetui 3.2.0 beta 4 and seems to be working fine... will keep an eye on it for now

@Uj947nXmRqV2nRaWshKtHzTvckUUpD
Copy link
Author

on beta 4 also got 2 uac prompts today

@Uj947nXmRqV2nRaWshKtHzTvckUUpD
Copy link
Author

got 2 uac prompts today on updating these apps - on 3.2.0 stable

Image

@Uj947nXmRqV2nRaWshKtHzTvckUUpD
Copy link
Author

btw i have "enable the new unigetui-branded uac elevator" set to enabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready-to-go
Projects
None yet
Development

No branches or pull requests

2 participants