You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
winget install 7zip.7zip
Failed in attempting to update the source: winget
An unexpected error occurred while executing the command:
InternetOpenUrl() failed.
0x80072efd : unknown error
Reacted by eabase, Djaka Pradana Jaya Priambudi, Arcturuss, Junlin Zhou and Jérôme MEVEL
You could try changing your default download provider to "wininet" in WinGet settings. The URL at the bottom of the help output will take you to the settings page so you can see how to make the change.
PS C:\Users\denelon> winget settings -?
Windows Package Manager (Preview) v1.7.2782-preview
Copyright (c) Microsoft Corporation. All rights reserved.
Open settings in the default json text editor. If no editor is configured, opens settings in notepad. For available settings see https://aka.ms/winget-settings This command can also be used to set administrator settings by providing the --enable or --disable arguments
usage: winget settings [<command>] [<options>]
The following command aliases are available:
config
The following sub-commands are available:
export Export settings
For more details on a specific command, pass it the help argument. [-?]
The following options are available:
--enable Enables the specific administrator setting
--disable Disables the specific administrator setting
-?,--help Shows help about the selected command
--wait Prompts the user to press any key before exiting
--logs,--open-logs Open the default logs location
--verbose,--verbose-logs Enables verbose logging for winget
--disable-interactivity Disable interactive prompts
More help can be found at: https://aka.ms/winget-settings
Kaleb Luedtke (@Trenly) I'm not OP but I'm still getting the issue with the latest release v1.7.10661 of the CLI:
huyz winget --version
v1.7.10661
huyz winget source update winget
Updating source: winget...
Cancelled
huyz winget update
Failed in attempting to update the source: winget
Name Id Version Available Source
-------------------------------------------------------------------------------------------------------------------------
Microsoft Edge Microsoft.Edge 122.0.2365.80122.0.2365.92 winget
WinSCP 6.3.1 WinSCP.WinSCP 6.3.16.3.2 winget
Microsoft Visual C++2015-2022 Redistributable (x86) -1… Microsoft.VCRedist.2015+.x86 14.38.33135.014.40.33617.1 winget
Microsoft Visual Studio Code (User) Microsoft.VisualStudioCode 1.87.11.87.2 winget
Microsoft Visual C++2015-2022 Redistributable (x64) -1… Microsoft.VCRedist.2015+.x86 14.38.33135.014.40.33617.1 winget
5 upgrades available.
huyz winget install WinSCP.WinSCP
Found an existing package already installed. Trying to upgrade the installed package...
An unexpected error occurred while executing the command:
InternetOpenUrl() failed.
0x80072f7d : unknown error
But when I open a VPN connection to another country:
huyz winget source update winget
Updating source: winget...
Done
huyz winget update
Name Id Version Available Source
-------------------------------------------------------------------------------------------------------------------------
Microsoft Edge Microsoft.Edge 122.0.2365.80122.0.2365.92 winget
WinSCP 6.3.1 WinSCP.WinSCP 6.3.16.3.2 winget
Microsoft Visual C++2015-2022 Redistributable (x86) -1… Microsoft.VCRedist.2015+.x86 14.38.33135.014.40.33617.1 winget
Microsoft Visual Studio Code (User) Microsoft.VisualStudioCode 1.87.11.87.2 winget
Microsoft Visual C++2015-2022 Redistributable (x64) -1… Microsoft.VCRedist.2015+.x86 14.38.33135.014.40.33617.1 winget
5 upgrades available.
huyz winget install WinSCP.WinSCP
Found an existing package already installed. Trying to upgrade the installed package...
Found WinSCP [WinSCP.WinSCP] Version 6.3.2
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://sourceforge.net/projects/winscp/files/WinSCP/6.3.2/WinSCP-6.3.2-Setup.exe/download
██████████████████████████████ 11.0 MB /11.0 MB
Successfully verified installer hash
Starting package install...
Successfully installed
Is something wrong with the Microsoft servers around the world?
I've tried a lot of options. Only this solved it: my computer has a VPN program installed. winget can't update anything, then I start the VPN, now winget work without error.
It probably did at some point, but no longer does. Either way, that's not what this issue is about, that's just a case of the manifest being incorrect and needing to be updated.
Ok you are right. My home provider doesn't allow to download that URL. But it works in different place.
Activity
eabase commentedon Oct 28, 2023
denelon commentedon Oct 30, 2023
verrierRoberts commentedon Oct 31, 2023
eabase commentedon Nov 2, 2023
denelon commentedon Nov 2, 2023
NVT223 which version of WinGet is installed?
Run
winget --infoand share the results please.NVT223 commentedon Nov 3, 2023
Here:
PS C:\windows\system32> winget --info
Windows Package Manager v1.6.2771
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.19045.3570
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.2771.0
Winget Directories
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
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
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
denelon commentedon Nov 6, 2023
You could try changing your default download provider to "wininet" in WinGet settings. The URL at the bottom of the help output will take you to the settings page so you can see how to make the change.
NVT223 commentedon Nov 21, 2023
Masamune3210 commentedon Nov 22, 2023
NVT223 winget has nothing to do with chocolatey.....
Trenly commentedon Mar 15, 2024
NVT223 - - Are you still experiencing this issue with the latest release of the cli?
huyz commentedon Mar 15, 2024
Kaleb Luedtke (@Trenly) I'm not OP but I'm still getting the issue with the latest release v1.7.10661 of the CLI:
But when I open a VPN connection to another country:
Is something wrong with the Microsoft servers around the world?
silver716 commentedon Jun 1, 2024
Check that TLS 1.2 and TLS 1.3 are enabled if you're experiencing this issue.
Location:
> Internet Properties > Advanced > Use TLS 1.x
jacattrongnlh commentedon Sep 16, 2024
I've tried a lot of options. Only this solved it: my computer has a VPN program installed. winget can't update anything, then I start the VPN, now winget work without error.
huyz commentedon Sep 16, 2024
@jaccattrongnlh Sounds like you're in VN. If so, switch your connection from VNPT to FPT (or maybe Viettel)
ReshaSD commentedon Dec 16, 2024
Hey guys.

any news when the issue will be resolved?
I see the 7zip url is unavailable at all:
Masamune3210 commentedon Dec 18, 2024
If you are failing to open the page in a browser, its not an issue with winget, its an issue with your connection or something deeper in the system.
ReshaSD commentedon Dec 18, 2024
Masamune3210
Ok you are right. My home provider doesn't allow to download that URL. But it works in different place.
ReshaSD commentedon Dec 18, 2024
Ok you are right. My home provider doesn't allow to download that URL. But it works in different place.
atom-tr commentedon Dec 23, 2024
I have found an easier option: change the DNS settings to another DNS server, not the Viet Nam ISP DNS server.