4

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)

Gras Double
  • 1,068
  • 12
  • 20
  • Related: [How can I disable the “Open File Security Warning” when I want to run downloaded executable files?](https://superuser.com/questions/324954/how-can-i-disable-the-open-file-security-warning-when-i-want-to-run-downloaded) – Gras Double Jul 16 '17 at 14:05

4 Answers4

2

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.

William Hilsum
  • 116,650
  • 19
  • 182
  • 266
1

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.

Andreas
  • 1,393
  • 10
  • 14
  • there seems to be no unblock button in any of the tabs in `->properties` and the linux filesystem isnt ntfs. Note when copying files to my drive i get no msg. However i need to leave it on the share since i am compiling on linux and editing on windows. –  Jul 25 '10 at 09:58
  • Oh I didn't realize that your host OS is linux. – Andreas Jul 25 '10 at 11:44
1

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?

Knox
  • 1,188
  • 8
  • 13
  • That did it! http://windows.microsoft.com/en-US/windows-vista/Security-zones-adding-or-removing-websites –  Jul 25 '10 at 21:05
0

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

https://support.microsoft.com/en-us/help/883260/information-about-the-attachment-manager-in-microsoft-windows