Remove “Open File” security warning for files downloaded from the internet

I needed a list of my DHCP servers, so I went looking for my DHCPServers.vbs script, which I wrote for that purpose.  Gone.  I remembered that I posted it on, and so I downloaded the script from there (right click, then save target as).  I went to run my script and I got this:

 Open File Security Warning screen cap

This data I suspected existed in the NTFS stream for the file.  So I downloaded a copy of the Sysinternals file streams.exe from  When I looked at the streams I found this:


C:\>streams “C:\myprofile\desktop\11431DHCPServers.vbs”

Streams v1.56 – Enumerate alternate NTFS data streams
Copyright (C) 1999-2007 Mark Russinovich
Sysinternals –

   :Zone.Identifier:$DATA       26

I obviously suspected the zone.identifier, and reran streams with the -d command, which deleted the stream.  When I went to open the file, I was no longer asked whether I trust the script that I wrote.  I then ran the delete command on my script folder:

streams -s -d z:\scripts



Tags: NTFS+Streams, downloaded+files, DHCP+Servers

About Alan

This entry was posted in Computing, Scripting. Bookmark the permalink.

Leave a Reply