Skip to content

[BUG] Cannot install winget packages without administrator privileges #4898

@lemon-sundae

Description

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

2026.2.0

Windows version, edition, and architecture

Windows 11 Pro for Workstations 26300.8553

Describe your issue

It seems that there is no way to install a winget package without admin privileges if UnigetUI thinks it needs it, even if the "Run as admin" in installation options is unchecked. There is only a button saying "Retry as administrator" but not the opposite. That makes the skip hash check option useless since hash check cannot be skipped under admin privileges.

Nothing is checked under "Administrator rights and other dangerous settings" in UnigetUI settings.

Steps to reproduce the issue

No response

UniGetUI Log

[2026/6/9 01:22:18]    __  __      _ ______     __  __  ______
                      / / / /___  (_) ____/__  / /_/ / / /  _/
                     / / / / __ \/ / / __/ _ \/ __/ / / // /
                    / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                    \____/_/ /_/_/\____/\___/\__/\____/___/
                        Welcome to UniGetUI Version 2026.2.0
[2026/6/9 01:22:18]
[2026/6/9 01:22:18] Build 107
[2026/6/9 01:22:18] UI Framework: WinUI 3
[2026/6/9 01:22:18] Data directory C:\Users\lemon\AppData\Local\UniGetUI
[2026/6/9 01:22:18] Encoding Code Page set to 65001
[2026/6/9 01:22:18] OS: Microsoft Windows 10.0.26300
[2026/6/9 01:22:18] Process arch: X64 (OS: X64)
[2026/6/9 01:22:18] Runtime: .NET 10.0.8
[2026/6/9 01:22:18] Loaded language locale: en
[2026/6/9 01:22:18] Elevated: False
[2026/6/9 01:22:18] Packaged (MSIX): False
[2026/6/9 01:22:18] Args: (none)
[2026/6/9 01:22:18] Command cargo-binstall.exe was not found on the system
[2026/6/9 01:22:19] Command vcpkg.exe was not found on the system
[2026/6/9 01:22:19] Command cargo.exe was not found on the system
[2026/6/9 01:22:19] Command bun.exe was not found on the system
[2026/6/9 01:22:19] Command choco.exe was not found on the system
[2026/6/9 01:22:19] Command npm.cmd was not found on the system
[2026/6/9 01:22:19] Cargo is enabled but was not found on the system!
[2026/6/9 01:22:19] Bun is enabled but was not found on the system!
[2026/6/9 01:22:19] Chocolatey is enabled but was not found on the system!
[2026/6/9 01:22:19] Npm is enabled but was not found on the system!
[2026/6/9 01:22:19] PowerShell is enabled and was found on C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
[2026/6/9 01:22:19] PowerShell7 is enabled and was found on C:\Users\lemon\AppData\Local\Microsoft\WindowsApps\pwsh.exe
[2026/6/9 01:22:19] Scoop is enabled and was found on C:\Users\lemon\AppData\Local\Microsoft\WindowsApps\pwsh.exe
[2026/6/9 01:22:19] Command vcpkg was not found on the system
[2026/6/9 01:22:19] Pip is enabled and was found on C:\Users\lemon\AppData\Local\Microsoft\WindowsApps\python.EXE
[2026/6/9 01:22:19] Command vcpkg was not found on the system
[2026/6/9 01:22:19] Vcpkg root was not found. Please define the %VCPKG_ROOT% environment variable or define it from UniGetUI Settings
[2026/6/9 01:22:19] vcpkg is enabled but was not found on the system!
[2026/6/9 01:22:19] .NET Tool is enabled but was not found on the system!
[2026/6/9 01:22:19] Connected to WinGet API using packaged COM activation.
[2026/6/9 01:22:19] WinGet activation mode selected: packaged COM registration | Source: system COM registration
[2026/6/9 01:22:19] Winget is enabled and was found on C:\Users\lemon\AppData\Local\Microsoft\WindowsApps\winget.exe
[2026/6/9 01:22:19] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                    █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                    █ Name: PowerShell 7.x (aka PowerShell7)
                    █ Executable name: "pwsh.exe"
                    █ Executable path: "C:\Users\lemon\AppData\Local\Microsoft\WindowsApps\pwsh.exe"
                    █ Call arguments: " -NoProfile -Command"
                    █ Version: PowerShell 7.6.2
                    █          
                    █ PowerShell 7.x is enabled and ready to go.
                    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2026/6/9 01:22:19] An error occurred while initialising package manager Pip
[2026/6/9 01:22:19] Generated a IPC API auth token for the current session
[2026/6/9 01:22:19] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                    █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                    █ Name: WinGet (aka Winget)
                    █ Executable name: "winget.exe"
                    █ Executable path: "C:\Users\lemon\AppData\Local\Microsoft\WindowsApps\winget.exe"
                    █ Call arguments: ""
                    █ Version: System WinGet (CLI) Version: v1.29.250
                    █          Using Native WinGet helper (COM Api)
                    █          Activation mode: packaged COM registration
                    █          Activation source: system COM registration
                    █          
                    █ WinGet is enabled and ready to go.
                    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2026/6/9 01:22:19] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                    █▀▀▀▀▀▀▀▀▀▀▀▀▀ 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.8497                                                                          
                    █          PSEdition                      Desktop                                                                                 
                    █          PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
                    █          BuildVersion                   10.0.26100.8497                                                                         
                    █          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.
                    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2026/6/9 01:22:20] System.InvalidOperationException: Microsoft Store python alias is not a valid python install
                       at UniGetUI.PackageEngine.Managers.PipManager.Pip._loadManagerVersion(String& version) in D:\a\UniGetUI\UniGetUI\src\UniGetUI.PackageEngine.Managers.Pip\Pip.cs:line 511
                       at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.Initialize() in D:\a\UniGetUI\UniGetUI\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 106
[2026/6/9 01:22:20] Updater source 'ProductInfo' returned version 2026.2.0.0 (upgradable=False)
[2026/6/9 01:22:20] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                    █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                    █ Name: Scoop (aka Scoop)
                    █ Executable name: "scoop"
                    █ Executable path: "C:\Users\lemon\AppData\Local\Microsoft\WindowsApps\pwsh.exe"
                    █ Call arguments: "-NoProfile -ExecutionPolicy Bypass -Command "C:\Users\lemon\scoop\shims\scoop.ps1" "
                    █ Version: Current Scoop version:
                    █          b588a06e chore(release): Bump to version 0.5.3 (resync) (#6436)
                    █          
                    █          'main' bucket:
                    █          7b45160e2a worktrunk: Update to version 0.52.0
                    █          
                    █          'extras' bucket:
                    █          98534eb1c5 seelen-ui: Update to version 2.7.0
                    █          
                    █          'nerd-fonts' bucket:
                    █          4cec3284 LXGWNeoZhiSong: Update to version 1.064
                    █          
                    █ Scoop is enabled and ready to go.
                    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2026/6/9 01:22:20] Api running on named pipe UniGetUI.IPC
[2026/6/9 01:22:21] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[2026/6/9 01:22:22] Found 7 installed packages from PowerShell7
[2026/6/9 01:22:23] Found 20 installed packages from Scoop
[2026/6/9 01:22:23] Dependency Scoop-Search for manager Scoop is present
[2026/6/9 01:22:24] Found 1 installed packages from PowerShell
[2026/6/9 01:22:24] Found 1 installed packages from PowerShell
[2026/6/9 01:22:24] Dependency Git for manager Scoop is present
[2026/6/9 01:22:24] Found 7 installed packages from PowerShell7
[2026/6/9 01:22:24] Found 0 available updates from PowerShell
[2026/6/9 01:22:25] Found 3 available updates from PowerShell7
[2026/6/9 01:22:25] Found 219 installed packages from Winget
[2026/6/9 01:22:25] System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
                     ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
                       at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
                       at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
                       at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
                       --- End of inner exception stack trace ---
                       at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
                       at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
                       at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
                       at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem)
                       at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
                       at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
                       at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
                       at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
                       at System.Net.Http.SocketsHttpHandler.<SendAsync>g__CreateHandlerAndSendAsync|115_0(HttpRequestMessage request, CancellationToken cancellationToken)
                       at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
                       at UniGetUI.Core.IconEngine.IconCacheEngine.SaveIconToCacheAndGetPath(CacheableIcon icon, String iconLocation) in D:\a\UniGetUI\UniGetUI\src\UniGetUI.Core.IconStore\IconCacheEngine.cs:line 220
[2026/6/9 01:22:25] Found 6 available updates from Winget
[2026/6/9 01:22:25] Backup saved to C:\Users\lemon\OneDrive\Documents\Apps\Backups\UniGetUI\NEGI installed packages 2026-06-09 01-22-25.ubundle
[2026/6/9 01:22:25] Icon download attempt at https://vcredist.com/img/logo.png failed with code NotFound
[2026/6/9 01:22:26] Icon download attempt at https://vcredist.com/img/logo.png failed with code NotFound
[2026/6/9 01:22:27] Downloaded new icons and screenshots successfully!
[2026/6/9 01:22:27] Could not parse Images array from Microsoft Store response
[2026/6/9 01:22:28] System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
                     ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
                       at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
                       at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
                       at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
                       --- End of inner exception stack trace ---
                       at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
                       at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
                       at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
                       at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem)
                       at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
                       at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
                       at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
                       at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
                       at System.Net.Http.SocketsHttpHandler.<SendAsync>g__CreateHandlerAndSendAsync|115_0(HttpRequestMessage request, CancellationToken cancellationToken)
                       at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
                       at UniGetUI.Core.IconEngine.IconCacheEngine.SaveIconToCacheAndGetPath(CacheableIcon icon, String iconLocation) in D:\a\UniGetUI\UniGetUI\src\UniGetUI.Core.IconStore\IconCacheEngine.cs:line 220
[2026/6/9 01:22:29] System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
                     ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
                       at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
                       at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
                       at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
                       --- End of inner exception stack trace ---
                       at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
                       at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
                       at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
                       at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem)
                       at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
                       at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
                       at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
                       at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
                       at System.Net.Http.SocketsHttpHandler.<SendAsync>g__CreateHandlerAndSendAsync|115_0(HttpRequestMessage request, CancellationToken cancellationToken)
                       at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
                       at UniGetUI.Core.IconEngine.IconCacheEngine.SaveIconToCacheAndGetPath(CacheableIcon icon, String iconLocation) in D:\a\UniGetUI\UniGetUI\src\UniGetUI.Core.IconStore\IconCacheEngine.cs:line 220
[2026/6/9 01:22:30] Icon download attempt at https://upload.wikimedia.org/wikipedia/commons/thumb/d/d3/OBS_Studio_Logo.svg/512px-OBS_Studio_Logo.svg.png failed with code BadRequest
[2026/6/9 01:22:31] Found 0 available packages from PowerShell with the query defenderui
[2026/6/9 01:22:31] Found 0 available packages from PowerShell7 with the query defenderui
[2026/6/9 01:22:31] Icon download attempt at https://upload.wikimedia.org/wikipedia/commons/thumb/8/83/Steam_icon_logo.svg/512px-Steam_icon_logo.svg.png failed with code BadRequest
[2026/6/9 01:22:32] Successfully updated Gist ID: e1c7201ee57167547667f35a304c405c
[2026/6/9 01:22:32] Cloud backup completed successfully to gist lemon-sundae/e1c7201ee57167547667f35a304c405c
[2026/6/9 01:22:32] Cloud backup succeeded
[2026/6/9 01:22:34] Found 0 available packages from Scoop with the query defenderui
[2026/6/9 01:22:34] Found 4 available packages from Winget with the query defenderui
[2026/6/9 01:22:34] Found 20 installed packages from Scoop
[2026/6/9 01:22:35] Integrity check passed successfully!
[2026/6/9 01:22:35] Found 0 available updates from Scoop
[2026/6/9 01:22:35] Could not parse Images array from Microsoft Store response
[2026/6/9 01:22:43] WinGet package VoodooSoft.DefenderUI requires elevation, forcing administrator rights...
[2026/6/9 01:22:43] Loaded operation parameters for package id=VoodooSoft.DefenderUI on manager Winget and operation Install: install --id "VoodooSoft.DefenderUI" --exact --source winget --accept-source-agreements --disable-interactivity --silent --accept-package-agreements --force

Package Managers Logs

Package install operation for Package=VoodooSoft.DefenderUI with Manager=Winget
Installation options: <InstallOptions instance (only non-default values are shown)
	OverridesNextLevelOpts: False>
Overriden options: <Scope=;RunAsAdministrator=;WG_SpecifyVersion=;PS_NoScope=False;Pip_BreakSystemPackages=False>
Starting operation...
Executing process with StartInfo:
 - FileName: "C:\Program Files\UniGetUI\Assets\Utilities\UniGetUI Elevator.exe"
 - Arguments: ""C:\Users\lemon\AppData\Local\Microsoft\WindowsApps\winget.exe"  install --id "VoodooSoft.DefenderUI" --exact --source winget --accept-source-agreements --disable-interactivity --silent --accept-package-agreements --force"
Start Time: "2026/6/9 01:22:43"
Found DefenderUI [VoodooSoft.DefenderUI] Version 2.05
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://www.cyberlock.tech/downloads/InstallDefenderUISilent.exe
Installer hash does not match; this cannot be overridden when running as admin
End Time: "2026/6/9 01:22:57"
Process return value: "-1978335215" (0x8A150011)
DefenderUI could not be installed

Relevant information

No response

Screenshots and videos

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions