How to get rid of :Zone.Identifier files

Everyone who uses Windows inside Virtualbox on Linux machine (and shares host folders) knows this problem.

Firstly 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.

Of course to run gpedit.msc you’ll need Windows Professional 🙂

Secondly to clean up this mess run Linux command:

find /shared/path -type f -name "*:Zone.Identifier" -exec rm -f {} \;

Published by

Konrad Fedorczyk

Konrad Fedorczyk

I'm interested in programming and gamedev. I especially luv HTML5 and everything connected to web technologies.

Leave a Reply

Your email address will not be published. Required fields are marked *