Skip to content

[BUG] Winget error, if proxy is enabled #4338

@panther7

Description

@panther7

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.3.6

Windows version, edition, and architecture

Windows 11 Pro 10.0.22000.0 x64

Describe your issue

From log:

This feature needs to be enabled by administrators. To enable it, run 'winget settings --enable ProxyCommandLineOptions' as administrator.

Steps to reproduce the issue

No response

UniGetUI Log

[07.01.2026 17:48:08]    __  __      _ ______     __  __  ______
                        / / / /___  (_) ____/__  / /_/ / / /  _/
                       / / / / __ \/ / / __/ _ \/ __/ / / // /
                      / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                      \____/_/ /_/_/\____/\___/\__/\____/___/
                          Welcome to UniGetUI Version 3.3.6
[07.01.2026 17:48:08]
[07.01.2026 17:48:08] Build 104
[07.01.2026 17:48:08] Data directory C:\Users\CENSORED\AppData\Local\UniGetUI
[07.01.2026 17:48:08] Encoding Code Page set to 852
[07.01.2026 17:48:08] Loaded language locale: cs
[07.01.2026 17:48:09] Could not retrieve token (it may not exist): Prvek nebyl nalezen.
                      
                      Nelze získat přihlašovací údaje z trezoru.
[07.01.2026 17:48:09] Lang files were updated successfully from GitHub
[07.01.2026 17:48:09] User has disabled updates
[07.01.2026 17:48:09] Randomly-generated background API auth token: 7ehve5z2mjhs8lyf2p277p9nvgjpb5tv0xfattr4o1mttxh5ury1wwx0g0437n8z
[07.01.2026 17:48:10] Api running on http://localhost:7058
[07.01.2026 17:48:10] Npm is enabled and was found on C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
[07.01.2026 17:48:10] Chocolatey is enabled and was found on C:\Users\CENSORED\AppData\Local\UniGetUI\Chocolatey\choco.exe
[07.01.2026 17:48:10] Call to WhichMultiple with file cargo.exe returned non-zero status 1
[07.01.2026 17:48:10] Command cargo.exe was not found on the system
[07.01.2026 17:48:10] Cargo is enabled but was not found on the system!
[07.01.2026 17:48:10] Pip is enabled and was found on C:\Users\CENSORED\AppData\Local\Microsoft\WindowsApps\python.exe
[07.01.2026 17:48:10] Call to WhichMultiple with file dotnet.exe returned non-zero status 1
[07.01.2026 17:48:10] Command dotnet.exe was not found on the system
[07.01.2026 17:48:10] .NET Tool is enabled but was not found on the system!
[07.01.2026 17:48:10] Winget is enabled and was found on C:\Users\CENSORED\AppData\Local\Microsoft\WindowsApps\winget.exe
[07.01.2026 17:48:10] PowerShell7 is enabled and was found on C:\Program Files\PowerShell\7\pwsh.exe
[07.01.2026 17:48:10] PowerShell is enabled and was found on C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
[07.01.2026 17:48:10] Call to WhichMultiple with file vcpkg.exe returned non-zero status 1
[07.01.2026 17:48:10] Command vcpkg.exe was not found on the system
[07.01.2026 17:48:11] Call to WhichMultiple with file scoop.ps1 returned non-zero status 1
[07.01.2026 17:48:11] Command scoop.ps1 was not found on the system
[07.01.2026 17:48:11] Scoop is enabled but was not found on the system!
[07.01.2026 17:48:11] An error occurred while initialising package manager Pip
[07.01.2026 17:48:11] System.Exception: Microsoft Store python alias is not a valid python install
                         at UniGetUI.PackageEngine.Managers.PipManager.Pip._loadManagerVersion(String& version) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.Pip\Pip.cs:line 379
                         at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.Initialize() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 82
[07.01.2026 17:48:11] Call to WhichMultiple with file vcpkg returned non-zero status 1
[07.01.2026 17:48:11] Command vcpkg was not found on the system
[07.01.2026 17:48:11] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: WinGet (aka Winget)
                      █ Executable name: "winget.exe"
                      █ Executable path: "C:\Users\CENSORED\AppData\Local\Microsoft\WindowsApps\winget.exe"
                      █ Call arguments: ""
                      █ Version: System WinGet (CLI) Version: v1.12.350
                      █          Using Native WinGet helper (COM Api)
                      █          
                      █ WinGet is enabled and ready to go.
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[07.01.2026 17:48:12] Call to WhichMultiple with file vcpkg returned non-zero status 1
[07.01.2026 17:48:12] Command vcpkg was not found on the system
[07.01.2026 17:48:12] Vcpkg root was not found. Please define the %VCPKG_ROOT% environment variable or define it from UniGetUI Settings
[07.01.2026 17:48:12] vcpkg is enabled but was not found on the system!
[07.01.2026 17:48:12] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell 7.x (aka PowerShell7)
                      █ Executable name: "pwsh.exe"
                      █ Executable path: "C:\Program Files\PowerShell\7\pwsh.exe"
                      █ Call arguments: " -NoProfile -Command"
                      █ Version: PowerShell 7.5.4
                      █          
                      █ PowerShell 7.x is enabled and ready to go.
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[07.01.2026 17:48:13] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Chocolatey (aka Chocolatey)
                      █ Executable name: "choco.exe"
                      █ Executable path: "C:\Users\CENSORED\AppData\Local\UniGetUI\Chocolatey\choco.exe"
                      █ Call arguments: ""
                      █ Version: 2.5.0
                      █          
                      █ Chocolatey is enabled and ready to go.
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[07.01.2026 17:48:13] UniGetUI Chocolatey was found in the path
[07.01.2026 17:48:15] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Npm (aka Npm)
                      █ Executable name: "npm"
                      █ Executable path: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
                      █ Call arguments: "-NoProfile -ExecutionPolicy Bypass -Command "C:\Users\CENSORED\AppData\Roaming\npm\npm.ps1" "
                      █ Version: 11.7.0
                      █          
                      █ Npm is enabled and ready to go.
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[07.01.2026 17:48:15] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell 5.x (aka PowerShell)
                      █ Executable name: "powershell.exe"
                      █ Executable path: "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"
                      █ Call arguments: " -NoProfile -Command"
                      █ Version: Name                           Value                                                                                   
                      █          ----                           -----                                                                                   
                      █          PSVersion                      5.1.26100.7462                                                                          
                      █          PSEdition                      Desktop                                                                                 
                      █          PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
                      █          BuildVersion                   10.0.26100.7462                                                                         
                      █          CLRVersion                     4.0.30319.42000                                                                         
                      █          WSManStackVersion              3.0                                                                                     
                      █          PSRemotingProtocolVersion      2.3                                                                                     
                      █          SerializationVersion           1.1.0.1
                      █          
                      █ PowerShell 5.x is enabled and ready to go.
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[07.01.2026 17:48:24] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[07.01.2026 17:48:25] Downloaded new icons and screenshots successfully!
[07.01.2026 17:48:27] Integrity check passed successfully!
[07.01.2026 17:48:28] Found 0 installed packages from Chocolatey
[07.01.2026 17:48:28] Found 0 available updates from Chocolatey
[07.01.2026 17:48:29] Found 0 installed packages from PowerShell7
[07.01.2026 17:48:29] Found 0 installed packages from PowerShell7
[07.01.2026 17:48:29] Found 0 available updates from PowerShell7
[07.01.2026 17:48:32] Found 0 installed packages from PowerShell
[07.01.2026 17:48:32] Found 0 installed packages from PowerShell
[07.01.2026 17:48:32] Found 0 available updates from PowerShell
[07.01.2026 17:48:34] Found 3 available updates from Winget
[07.01.2026 17:48:37] Found 3 installed packages from Npm
[07.01.2026 17:48:37] Found 83 installed packages from Winget
[07.01.2026 17:48:37] Found 0 available updates from Npm
[07.01.2026 17:48:37] Cached icon for id=Microsoft.OneDrive is INVALID (SHA256)
[07.01.2026 17:48:55] WinGet package OpenJS.NodeJS.LTS requires elevation, forcing administrator rights...
[07.01.2026 17:48:55] Loaded operation parameters for package id=OpenJS.NodeJS.LTS on manager Winget and operation Update: update --id "OpenJS.NodeJS.LTS" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force --proxy http://CENSORED:3128
[07.01.2026 17:49:06] WinGet package Python.PythonInstallManager is installed on a system-wide scope, forcing administrator rights...
[07.01.2026 17:49:06] Loaded operation parameters for package id=Python.PythonInstallManager on manager Winget and operation Update: update --id "Python.PythonInstallManager" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force --proxy http://CENSORED:3128
[07.01.2026 17:55:44] Error finding sources for manager Winget
[07.01.2026 17:55:44] System.AggregateException: One or more errors occurred. ()
                       ---> System.Runtime.InteropServices.COMException (0x800706BA)
                         at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32)
                         at ABI.Microsoft.Management.Deployment.IPackageManagerMethods.GetPackageCatalogs(IObjectReference _obj) in C:\SomePrograms\WingetUI-Store\src\WindowsPackageManager.Interop\obj\x64\Release\net8.0-windows10.0.26100.0\win-x64\Generated Files\CsWinRT\Microsoft.Management.Deployment.cs:line 9228
                         at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetSources_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\ClientHelpers\NativeWinGetHelper.cs:line 266
                         at System.Threading.Tasks.Task`1.InnerInvoke()
                         at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
                      --- End of stack trace from previous location ---
                         at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
                         at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task&, Thread )
                         --- End of inner exception stack trace ---
                         at System.Threading.Tasks.Task.Wait(Int32, CancellationToken)
                         at System.Threading.Tasks.Task.Wait(TimeSpan, CancellationToken)
                         at System.Threading.Tasks.Task.Wait(TimeSpan)
                         at UniGetUI.PackageEngine.Classes.Manager.Providers.BaseSourceHelper._getSources() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\Helpers\BaseSourceHelper.cs:line 65
[07.01.2026 17:56:05] Could not retrieve Proxy credentials
[07.01.2026 17:56:05] System.ArgumentException: Parametr není správný.
                      
                      Neplatná hodnota uživatelského jména
                         at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32)
                         at ABI.Windows.Security.Credentials.IPasswordVaultMethods.Retrieve(IObjectReference, String, String)
                         at UniGetUI.Core.SettingsEngine.Settings.GetProxyCredentials() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.Core.Settings\SettingsEngine_Extras.cs:line 48

Package Managers Logs

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

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


Logged native task on manager Winget. Task type is ListSources
Process start time: 07.01.2026 17:48:11
Process end time:   07.01.2026 17:48:11

-- Task information
 ...

The task reported success

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

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\CENSORED\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity --proxy http://CENSORED:3128"
Process start time: 07.01.2026 17:48:24
Process end time:   07.01.2026 17:48:24

-- Process STDOUT
 ...

Return code: FAILED (0x8A150002, 2316632066, -1978335230)

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

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 07.01.2026 17:48:24
Process end time:   07.01.2026 17:48:37

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is OtherTask
Process start time: 07.01.2026 17:48:24
Process end time:   07.01.2026 17:48:33

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is ListUpdates
Process start time: 07.01.2026 17:48:24
Process end time:   07.01.2026 17:48:34

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is ListSources
Process start time: 07.01.2026 17:55:44
Process end time:   UNFINISHED

The task has not finished yet

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

Relevant information

No response

Screenshots and videos

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions