On Windows, 7-Zip 22.00 adds support for the -snz switch, which propagates the Zone.Identifier stream to extract files. The stream is used by Windows for security purposes; it may be used to determine whether a file has been created locally or been downloaded from the Internet.
The preference is also available in the graphical user interface. Open 7-Zip and go to Tools > Options. Switch to the 7-Zip tab in the options window, and set the preference "Propagate Zone.Id stream to one of the following values:
- No -- default. 7-Zip does not propagate Zone.Identifier streams.
- Yes -- 7-Zip propagates Zone.Identifier streams for all jobs.
- For Office files -- 7-Zip propagates Zone.Identifier streams for Office files only.