Skip to content

[BUG] Only ask for administrator rights once for each batch of processes not working #3140

@udobehm

Description

@udobehm

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

3.1.5

Windows version, edition, and architecture

Win 11 Pro

Describe your issue

Good day. I think the Only ask for administrator rights once for each batch of processes function isn't working properly.
If the option is selected in the UniGetUI settings and I click on "Actualize all"...
Screenshot 2024-12-28 210848
...I'm not getting the screen with the UniGet Elevator that allows me to install the apps with admin rights (what happens after I click the install with admin rights button).

Is this an error or does UniGetUI not want me to install my batch of processes with admin rights if I configured this before in the settings? Or do I have to activate this function: Only once after administrator rights (not recommended)?

Thanks!

Steps to reproduce the issue

No response

UniGetUI Log

[28.12.2024 21:04:32]    __  __      _ ______     __  __  ______
                        / / / /___  (_) ____/__  / /_/ / / /  _/
                       / / / / __ \/ / / __/ _ \/ __/ / / // /
                      / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                      \____/_/ /_/_/\____/\___/\__/\____/___/
                          Welcome to UniGetUI Version 3.1.5
[28.12.2024 21:04:32]
[28.12.2024 21:04:32] Build 74
[28.12.2024 21:04:32] Encoding Code Page set to 850
[28.12.2024 21:04:32] Using built-in UniGetUI Elevator
[28.12.2024 21:04:33] Loaded language locale: de
[28.12.2024 21:04:34] Randomly-generated background API auth token for the current session: yutsomctcmwiq0guh4nc44upx092q7c5ycqpnorpax3alauijopl0mc25rdiiiby
[28.12.2024 21:04:34] Api running on http://localhost:7058
[28.12.2024 21:04:34] Lang files were updated successfully from GitHub
[28.12.2024 21:04:34] Old chocolatey path is a symbolic link, not migrating Chocolatey...
[28.12.2024 21:04:35] Downloaded new icons and screenshots successfully!
[28.12.2024 21:04:36] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Winget
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: winget.exe
                      █ Executable path: C:\Users\Udo\AppData\Local\Microsoft\WindowsApps\winget.exe
                      █ Call arguments: 
                      █ Version: 
                      █   System WinGet CLI Version: v1.9.25200
                      █   Using Native WinGet helper (COM Api)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[28.12.2024 21:04:36] Command npm was not found on the system
[28.12.2024 21:04:36] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Npm
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[28.12.2024 21:04:38] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Pip
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: pip
                      █ Executable path: C:\Users\Udo\AppData\Local\Programs\Python\Python313\python.exe
                      █ Call arguments:  -m pip
                      █ Version: 
                      █   pip 24.3.1 from C:\Users\Udo\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip (python 3.13)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[28.12.2024 21:04:38] Command cargo was not found on the system
[28.12.2024 21:04:38] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Cargo
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[28.12.2024 21:04:38] Command scoop was not found on the system
[28.12.2024 21:04:38] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Scoop
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[28.12.2024 21:04:38] Command vcpkg was not found on the system
[28.12.2024 21:04:38] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: .NET Tool
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[28.12.2024 21:04:38] Command vcpkg was not found on the system
[28.12.2024 21:04:39] Command pwsh.exe was not found on the system
[28.12.2024 21:04:39] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell7
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[28.12.2024 21:04:39] Command vcpkg was not found on the system
[28.12.2024 21:04:39] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: vcpkg
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[28.12.2024 21:04:42] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Chocolatey
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: choco.exe
                      █ Executable path: C:\Users\Udo\AppData\Local\UniGetUI\Chocolatey\choco.exe
                      █ Call arguments: 
                      █ Version: 
                      █   2.2.2
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[28.12.2024 21:04:43] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: powershell.exe
                      █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -Command
                      █ Version: 
                      █   Name                           Value                                                                                   
                      █   ----                           -----                                                                                   
                      █   PSVersion                      5.1.26100.2161                                                                          
                      █   PSEdition                      Desktop                                                                                 
                      █   PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
                      █   BuildVersion                   10.0.26100.2161                                                                         
                      █   CLRVersion                     4.0.30319.42000                                                                         
                      █   WSManStackVersion              3.0                                                                                     
                      █   PSRemotingProtocolVersion      2.3                                                                                     
                      █   SerializationVersion           1.1.0.1
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[28.12.2024 21:04:43] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[28.12.2024 21:04:51] Dependency parse-pip-search for manager Pip is present
[28.12.2024 21:04:56] Found 0 available updates from Chocolatey
[28.12.2024 21:04:56] Found 0 installed packages from Chocolatey
[28.12.2024 21:04:57] Found 14 installed packages from Pip
[28.12.2024 21:04:59] Found 0 installed packages from PowerShell
[28.12.2024 21:05:02] Found 0 available updates from PowerShell
[28.12.2024 21:05:04] Found 1 available updates from Pip
[28.12.2024 21:05:12] WinGet package Microsoft.Teams.Classic not being shown as an updated as this version has already been marked as installed
[28.12.2024 21:05:13] WinGet package Python.Python.3.12 not being shown as an updated as this version has already been marked as installed
[28.12.2024 21:05:17] Found 9 available updates from Winget
[28.12.2024 21:05:17] Found 883 installed packages from Winget
[28.12.2024 21:05:17] Backup saved to C:\Users\Udo\Einstellungen\UniGetUI\Sicherung\ENVY installierte Pakete.ubundle
[28.12.2024 21:05:17] Icon download attempt at http://static.4kdownload.com/main/img/logo/videodownloader-512.7395df698c5e.png failed with code NotFound
[28.12.2024 21:05:18] Icon download attempt at https://community.chocolatey.org/content/packageimages/gimagereader.3.4.1.png failed with code NotFound
[28.12.2024 21:05:19] Could not parse Images array from Microsoft Store response
[28.12.2024 21:05:58] Resetting administrator rights cache for process id 14268
[28.12.2024 21:05:58] Command vcpkg was not found on the system
[28.12.2024 21:10:22] Loaded operation parameters for package id=OpenMedia.4KVideoDownloader on manager Winget and operation Update: update --id "OpenMedia.4KVideoDownloader" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[28.12.2024 21:10:22] Caching admin rights for process id 14268
[28.12.2024 21:10:44] Elevator [or GSudo] UAC prompt was canceled, not showing error message...
[28.12.2024 21:10:44] Loaded operation parameters for package id=OpenMedia.4KVideoDownloaderPlus on manager Winget and operation Update: update --id "OpenMedia.4KVideoDownloaderPlus" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[28.12.2024 21:10:44] Caching admin rights for process id 14268
[28.12.2024 21:10:49] Elevator [or GSudo] UAC prompt was canceled, not showing error message...
[28.12.2024 21:10:50] Loaded operation parameters for package id=charset-normalizer on manager Pip and operation Update: install --upgrade charset-normalizer --no-input --no-color --no-python-version-warning --no-cache
[28.12.2024 21:10:50] Caching admin rights for process id 14268
[28.12.2024 21:10:54] Elevator [or GSudo] UAC prompt was canceled, not showing error message...
[28.12.2024 21:10:54] Loaded operation parameters for package id=CPUID.CPU-Z on manager Winget and operation Update: update --id "CPUID.CPU-Z" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[28.12.2024 21:10:54] Caching admin rights for process id 14268
[28.12.2024 21:11:05] Elevator [or GSudo] UAC prompt was canceled, not showing error message...
[28.12.2024 21:11:05] Loaded operation parameters for package id=EaseUS.PartitionMaster on manager Winget and operation Update: update --id "EaseUS.PartitionMaster" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[28.12.2024 21:11:05] Caching admin rights for process id 14268
[28.12.2024 21:13:24] Loaded operation parameters for package id=IObit.IObitSoftwareUpdater on manager Winget and operation Update: update --id "IObit.IObitSoftwareUpdater" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[28.12.2024 21:13:24] Caching admin rights for process id 14268

Package Managers Logs

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

——————————————————————————————————————————


Logged native task on manager Winget. Task type is ListSources
Process start time: 28.12.2024 21:04:35
Process end time:   28.12.2024 21:04:36

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Udo\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 28.12.2024 21:04:43
Process end time:   28.12.2024 21:04:52

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 28.12.2024 21:04:43
Process end time:   28.12.2024 21:05:17

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged native task on manager Winget. Task type is OtherTask
Process start time: 28.12.2024 21:04:43
Process end time:   28.12.2024 21:05:03

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListUpdates
Process start time: 28.12.2024 21:04:52
Process end time:   28.12.2024 21:05:17

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListSources
Process start time: 28.12.2024 21:05:58
Process end time:   28.12.2024 21:05:58

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Relevant information

No response

Screenshots and videos

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions