What are `Zone.Identifier` files, and how do I prevent them from being created?

88,011

The text after the colon is an identifier for an "Alternate Data Stream". ADS is used to store meta-information about the file. For example, the Zone identifier stores whether the file was downloaded from the internet.

Some specific info: About URL Security Zones, Zone.Identifier Stream Name

Best is to google around for more information. Eg. this, this and this.

Finally, here's Streams, the Sysinternals tool for ADS.

Share:
88,011
Benjamin
Author by

Benjamin

직장인들을 위한 소개팅 서비스 커피한잔을 개발, 운영하고 있습니다.

Updated on January 23, 2022

Comments

  • Benjamin
    Benjamin over 2 years

    I often see files named 'blabla.exe:Zone.Identifier' when monitoring I/O with Process Monitor.
    The files are seen on network-drives.

    alt text

    • What are Zone.Identifier files?
    • What does the colon mean in the filename?
    • Is the colon related the file's extended attributes?
    • How do I prevent these files from being created when I copy code files from Windows Explorer to a WSL directory?
  • hippietrail
    hippietrail over 11 years
    Just the answer I was looking for! But allow me to publicize a good question from another Stack Exchange site: Why shouldn't we use words such as 'here' and 'this' in textlinks?
  • Sebastian Wagner
    Sebastian Wagner almost 9 years
    FYI, the Zone.Identifier Stream Name MSDN Link has changed.
  • mguassa
    mguassa over 8 years
    Dead links have been fixed.
  • Timo
    Timo over 3 years
    Can I avoid these ADS files as I do not want them? I get them when copying from windows to a wsl folder
  • mtness
    mtness almost 2 years
    To remove problem on Windows side you need to configure it properly. Run gpedit.msc (Win + R) and go to User configuration > Administrative templates >Windows Components > Attachment Manager and set Do not preserve zone information in file attachments. (to run gpedit.msc you’ll need Windows Professional) -- found here: blog.realhe.ro/how-to-get-rid-of-zone-identifier-files