Relevant area(s)
WinGet CLI
Relevant command(s)
winget install
Brief description of your issue
When installing/updating software via winget from a REST source that was added through Group Policy, downloaded installer files (e.g. MSI) are marked with the "Mark of the Web" (Zone.Identifier, ZoneId=3). This causes Windows to show the "Open File - Security Warning" dialog when the installer is executed, even though the source was explicitly trusted and configured via Group Policy.
This leads to never ending loops in the installation process. The process worked without conflicts until Version 1.29.
Steps to reproduce
- Add a winget REST source via Group Policy (
EnableAdditionalSources / configured source policy).
- Trigger an installation, e.g.:
Expected behavior
Since the source was explicitly added and trusted via Group Policy, installers downloaded through winget from that source should not be flagged with Mark of the Web / ZoneId=3, or the resulting security prompt should not block/interrupt unattended or scripted installations initiated by winget.
Actual behavior
Downloaded installer files consistently carry ZoneId=3 in their Zone.Identifier alternate data stream, causing the standard "Security Warning" dialog to appear when the file is executed — even outside of winget (e.g. manual double-click), and this cannot be suppressed via the SaveZoneInformation policy:
Environment
- Winget version: 1.29.280
- Windows version/build: 25H2 Build: 26200.8655
- Source type: private REST source (Winget-Repo), added via Group Policy
- Installer example: Google.Chrome (MSI)
Relevant area(s)
WinGet CLI
Relevant command(s)
winget install
Brief description of your issue
When installing/updating software via
wingetfrom a REST source that was added through Group Policy, downloaded installer files (e.g. MSI) are marked with the "Mark of the Web" (Zone.Identifier, ZoneId=3). This causes Windows to show the "Open File - Security Warning" dialog when the installer is executed, even though the source was explicitly trusted and configured via Group Policy.This leads to never ending loops in the installation process. The process worked without conflicts until Version 1.29.
Steps to reproduce
EnableAdditionalSources/ configured source policy).Expected behavior
Since the source was explicitly added and trusted via Group Policy, installers downloaded through winget from that source should not be flagged with Mark of the Web / ZoneId=3, or the resulting security prompt should not block/interrupt unattended or scripted installations initiated by winget.
Actual behavior
Downloaded installer files consistently carry
ZoneId=3in theirZone.Identifieralternate data stream, causing the standard "Security Warning" dialog to appear when the file is executed — even outside of winget (e.g. manual double-click), and this cannot be suppressed via theSaveZoneInformationpolicy:Environment
- Winget version: 1.29.280 - Windows version/build: 25H2 Build: 26200.8655 - Source type: private REST source (Winget-Repo), added via Group Policy - Installer example: Google.Chrome (MSI)