security - Windows 2003 R2 zip program blocking EXE file

  • Harvey Kwok

    I have a Windows 2003 R2 Enterprise Edition SP2 32-bit machine with all latest patch (as of 1-6-2011). It's a VM.

    I have a zip file, including a pdf file, a txt file and a exe file.

    If I copy the zip file onto the machine via a shared network drive, I can unzip all the files properly without problems.

    If I put the zip file on my web server and then I download it from there, I can only unzip the pdf file and txt file. The exe file is silently ignored.

    I searched the web and found somebody reporting similar issue on XP.

    If I right click on the zip file downloaded from the web server, at the bottom of the general page, it has a warning message saying that "This file came from antoher computer and might be blocked to help protect this computer"

    I understand that I can solve the problem by simply clicking the "Unblock" button and extract the file again.

    The things that bothering me is that why the warning message says "might be blocked"? I tried downloading the same zip file from the same web server on to my Windows 7 box with latest patch. It also shows the same warning message. However, even with the warning message, I can extract all the files properly without clicking the "Unblock" button.

    Is it a bug in Windows 2003 R2 SP1? Is there any security settings controlling this? How likely will the end user seeing this problem? I want to dig into this because I am worrying people downloading my zip file from my web server might see similar problems. The first thought coming to the user's mind will be the zip file is somehow corrupted. Honestly, I didn't know this "Unblock" feature in Windows before I run into this problem.


    I just tried it on another Windows 2003 R2 SP1 machine. The zip program doesn't block the EXE file on that machine either. Both Windows 2003 R2 SP1 machines are joining to the same forest.


    I updated the other box to have latest security patch. I don't see the problem either.

    As what Jeff suggested, I uninstall the Internet Explorer Enhanced Security Configuration. It's working fine. Then, I add back the Internet Explorer Enhanced Security Configuration again. The weird thing happens. Now, it's working fine even with Internet Explorer Enhnaced Security Configuration on. It's just the same as all other boxes now.

  • Answers
  • Jeff F.

    Do you have Internet Explorer's Enhanced protection configuration enabled? I find that super annoying and will often block EXEs from running. You can check this in add remove programs under Windows Components.

  • Brian Knoblauch

    This is fairly normal behaviour and is typically expected by users. I'm surprised that you've never run across it. I have it happen all the time on Vista and 7. I'd recommend putting a note on your download page that instructs users on what to do if they're unfamiliar.

  • Related Question

    unzip - uncompressing .zip file in linux
  • Questioner

    I have a .zip file (It contains multiple files, ex: file1.txt file2.txt file3.txt.. n so on) in a directory.

    And my query is:

    How to extract the files from .zip archive to the very same directory and how to create the list of all the files extracted from .zip archive.**

    The extracted file name should be printed like this in the file named: file_list:


    I have tried the following command assuming that my .zip file name is "".

    unzip -qoj | unzip -ql  > file_list 

    I have used unzip -qoj to extract all the files in the same directory(quietly,overwrite,junk_path). When I try to insert -l with the first unzip command then the command doesn't extract the file in the current and only files are listed thats why I have to used unzip again after the first pipe(If I am making a mistake here let me know please).

    I get the following output

     Length     Date   Time    Name
     --------    ----   ----    ----
            0  12-21-09 14:25   data/
         6148  12-21-09 14:25   data/.DS_Store
            0  12-21-09 14:25   __MACOSX/
            0  12-21-09 14:25   __MACOSX/data/
           82  12-21-09 14:25   __MACOSX/data/._.DS_Store
           82  12-11-09 13:59   data/file1.txt
          120  12-11-09 13:59   data/file2.txt
          166  12-11-09 13:59   data/file3.txt
     --------                   -------
         6598                   8 files

    How do I extract only file1.txt file2.txt file3.txt from this stdout?

    Is it possible to do this with linux command or I have to write a perl script for this?

    Thank you.

  • Related Answers
  • Konrad Garus
    unzip data/file1.txt data/file2.txt data/file3.txt