I have a linux VM sharing a folder with windows 7. I have a file with no extension. By default it opens in my fav text editors. Everytime i double click it, i get a messaging saying files from the internet may be useful but may be malicious. How do i disable the warning and allow me to open the files in peace? (There are quite a few files and this is a long term project)
4 Answers
You can right click the file and choose the "unblock option".
Alternativly, if you have Group Policy Editor / Gpedit.msc, you can navigate to User Configuration > Administrative Templates > Windows Components > Attachment Manager
Then change Do not preserve zone information in file attachments to true.
I only recommend the above one if it is really annoying you as file security like this is a very good feature of Windows.
- 117,648
Maybe you can also go to the file's Properties tab and press the Unblock button to permanently unblock the file. This will delete the zone information from NTFS Alternate Data Stream of the file.
- 1,403
I am speculating but perhaps because the host system is serving files that obviously are not on the target Windows 7 machine, that each file is considered a download from the internet. Thus the problem is not in the file, but rather the download zone. Can you investigate adding the host linux machine to the trusted zone?
- 1,188
A registry entry can also be used instead of gpedit.msc to disable creating the Zone.Identifier NTFS Alternate Data Stream for downloaded files, which can cause permission issues:
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments]
"SaveZoneInformation"=dword:00000001
- 191