I opened a dotx that was emailed to me and I get the prompt saying the file originates from internet location. That is fine.

But I now made changes and Save As a new dotx but when I open it, it still warns me that it is unsafe. That is not good. How can I mark the document as local and safe?

I am going to use VBA to edit the file and the warning is interfering by making it readonly.

  • 1
    Try saving it to My documents. – surfasb Mar 8 '12 at 6:25
  • You were right... in that my file is in a network drive. Hence the warning. But still is there anyway to mark it as safe? – Jake Mar 8 '12 at 7:42
  • I'll add an answer. Edit: NM. Scott McClenning stole my idea :) – surfasb Mar 8 '12 at 14:18
  • No. I don't want to mark the network location as safe. I want to mark the file as safe. – Jake Mar 9 '12 at 6:07

Right click the file and select Properties, and on the first page there is a button saying "Unblock."

enter image description here

You can also add the domain name of where you got the file from to your Trusted Sites list in the Internet Options control panel.

  • Right click the file in Explorer? Then open up the regular Properties dialog that every file has? I don't see any unblock button. Only the Change Open With button and Advanced attributes button. I am using Windows 7. – Jake Mar 8 '12 at 4:35

Try going in the Trust Center, check the box marked Allow Trusted Locations on my network. Then add the location where the file is by clicking Add new location....

enter image description here

  • No. I don't want to mark the network location as safe. I want to mark the file as safe. – Jake Mar 9 '12 at 6:08

If there is no "Unblock" button on the file properties dialog, you can try this hack.

Copy the file onto any FAT32 disk drive, for example a USB key (only, be sure it is really formatted as FAT32).

Then copy the file back whence it came. You will be prompted to replace the file with one which is identical. Say yes.

This little sleight of hand will remove the invisible Alternate Data Stream block hidden in the MFT, where the Zone Identifier is stored. Lo and behold, the file now appears to be local and is trusted.

Another possibility would be to copy the file using something dumb and different from the Windows CopyFile function, that will copy only visible data. So, for example, you can also

  • ZIP the file (using a non-ADS-aware zip) and unzip it in place;
  • run TYPE FILE > z; DEL FILE; REN z FILE from the command line if the file is ASCII text or HTML (TYPE doesn't deal well with binary files, which will be likely corrupted);
  • for non-HTML files: open them with a browser. You will be prompted to "download" the file. Do so. The file has been downloaded from a local site and should be therefore trusted. Move the file from the download folder to the original one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.