9
3
I like to study a lot of code from various sources from around the internet, and a big part of that involves downloading and opening the files to view the source code.
Now every time I try to open these files it gives me a prompt to make sure that the file is from a valid source and that I trust it to run.
There are many answers on this site, that deal with this issue on the following OS; Vista, XP and 7, but I couldn't find one for 8, and I could not get any of the others to work!
Could someone please tell me how to disable this very annoying feature for someone like myself?
1
@MarkAllen you could also use the powershell command described on http://blogs.technet.com/b/askcore/archive/2013/03/24/alternate-data-streams-in-ntfs.aspx to remove the ntfs alternate data stream "Zone.Identifier" with the command
– BeowulfNode42 – 2014-08-29T06:15:41.817remove-item -path "somefile.zip" -stream "Zone.Identifier"
and that would work too.@BeowulfNode42 I like it! – Mark Allen – 2014-08-29T23:52:37.843
3
It's flagging the file as external due to your Zone settings in IE.
This information is stored in an [Alternate Data Stream][1] on the file you downloaded. You can fix this by clicking Unblock in properties on the file, but the way I like to do it is running:
type filename > newfilename. Del filename. Rename newfilename filename. Voila - no more alternate data stream.
If that's too extreme you can use streams.exe ([download][2]) to remove alternate data streams. [1]: http://support.microsoft.com/kb/105763 [2]: http://technet.microsoft.com/en-us/sysinternals/bb897440.aspx
2Also, what part of the Windows 7 solution didn't work for Windows 8? – Mark Allen – 2013-05-13T23:18:19.873