Repository navigation
Description
Relevant area(s)
WinGet CLI
Relevant command(s)
winget upgrade
Brief description of your issue
Running built into windows winget upgrade returns versions of packages that are already outdated.
PS C:\ProgramData\WingetPortable> (Get-Command winget).source
C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps\winget.exe
PS C:\ProgramData\WingetPortable> winget upgrade
Name Id Version Available Source
-----------------------------------------------------------------------------------------------
App Installer Microsoft.AppInstaller 1.29.379.0 1.29.380 winget
Microsoft Teams Microsoft.Teams 26032.208.4399.5 26198.304.4946.9672 winget
Mozilla Firefox ESR (x64 pl) Mozilla.Firefox.ESR.pl 140.8.0 153.4.0 winget
Neovim Neovim.Neovim 0.12.4 0.12.6 winget
4 upgrades available.
Running the same command, with winget downloaded from github releases (on some machines even the same version of winget can produce different output) and extracted with 7zip returns different results:
PS C:\ProgramData\WingetPortable> .\winget.exe upgrade
Name Id Version Available Source
------------------------------------------------------------------------------------------------------
App Installer Microsoft.AppInstaller 1.29.379.0 1.29.380 winget
Google Chrome Google.Chrome 158.0.8127.37 158.0.8127.108 winget
Microsoft Teams Microsoft.Teams 26032.208.4399.5 26304.1207.5384.858 winget
Mozilla Firefox ESR (x64 pl) Mozilla.Firefox.ESR.pl 140.8.0 153.8.0 winget
WindowsAppRuntime.2 Microsoft.WindowsAppRuntime.2 2.4.0.0 2.7.0 winget
5 upgrades available.
As can be seen, the discrepancy goes even further than outdated versions - extracted winget didn't find Neovim on machine in question.
Running winget source update doesn't change anything.
Issue has been spotted on most of the machines in my organization, rendering winget as unreliable tool for managing software.
Steps to reproduce
Run winget upgrade on affected machine, then run & path\to\winget\portable\winget.exe upgrade and compare outputs
Expected behavior
Winget reliably finds latest packages, or at least is capable of updating its internal db (akin to apt update on Debian derived Linuxes)
Actual behavior
As above
Environment
PS C:\ProgramData\WingetPortable> winget --info
Windows Package Manager v1.29.380
© 2026 Microsoft. All rights reserved.
Windows: Windows.Desktop v10.0.26200.9974
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.29.379.0
WinGet Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads
Configuration Modules %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules
Links
---------------------------------------------------------------------------
Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
Admin Setting State
--------------------------------------------------
LocalManifestFiles Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Disabled
ProxyCommandLineOptions Disabled
ConfigurationProcessorPath Disabled
DefaultProxy Disabled
PS C:\ProgramData\WingetPortable> Test-Path "$env:LOCALAPPDATA\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json"
False
PS C:\ProgramData\WingetPortable> .\winget.exe --info
Windows Package Manager v1.29.380
© 2026 Microsoft. All rights reserved.
Windows: Windows.Desktop v10.0.26200.9974
System Architecture: X64
WinGet Directories
------------------------------------------------------------------------------------------------------
Logs %TEMP%\WinGet\defaultState
User Settings %LOCALAPPDATA%\Microsoft\WinGet\Settings\defaultState\settings.json
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads
Configuration Modules %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules
Links
---------------------------------------------------------------------------
Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
Admin Setting State
--------------------------------------------------
LocalManifestFiles Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Disabled
ProxyCommandLineOptions Disabled
ConfigurationProcessorPath Disabled
DefaultProxy Disabled
Activity