Jump to content


  • 0
Westlander

Windows Server 2003 blocked unzipped .bat & .exe files?

Question

When you have a zip file on Windows 2003 server, and in that zip file are .bat & .exe files, Windows doens't show them when you have unzipped it.

 

This is a default security setting in Windows 2003 server.

 

Right click at the zip file and go to properties:

 

post-1-1227866886_thumb.jpg

 

You see, by the Red arrow Unblock. When you click at that, you can unzip the file. .bat & .exe files won't be blocked anymore.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

i know one thing, and that is if you download or save the file with the exe's to a FAT drive (ie: not NTFS) then it will NOT be blocked.

 

I've seen the blocking behaviour on Windows Server 2008 also

 

here's more info on it

 

This is done using NTFS File Streams. There is a stream named "Zone.Identifier" added to downloaded files. When IE7 downloads certain types of file that stream contains:

 

[ZoneTransfer]

ZoneId=3

 

The simplest way to set it is to create a text file with those contents in it, and use more to add it to the alternate stream.

 

Zone.Identifier.txt:

 

[ZoneTransfer]

ZoneId=3

 

Command:

 

more Zone.Identifier.txt > file.exe:Zone.Identifier

 

Then, the way for you to check it would be to try to open the Zone.Identifier stream and look for ZoneId=3, or simply assume that if the stream exists at all that your user will receive that warning.

 

It's also important to note that this has nothing to do with permissions. Administrators see the same warning; it's to do entirely with the source and type of file. The entire stream goes away when users uncheck the "Always ask before opening this file" box and then click Run.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.