locked
Windows 7 bug - .zip file content encrypted after download from https

    Question

  • Here is an unwanted "feature" in Windows 7. I used Internet Explorer to download a .zip file from a HTPS server. I then unblocked the .zip file and unzipped the file with "Extract all...". The extracted files were all encrypted. So, the files were unreadable when I moved the files off my computer.

    Vista did not have the same behavior - the extracted files were not encrypted.
    Tuesday, December 08, 2009 5:53 PM

Answers

All replies

  • Windows does do that you have something else going on
    Tuesday, December 08, 2009 8:58 PM
  • Yup, I agree. Windows has nothing to do with the encryption of zip files. Someone encrypted the files and then packaged them up in the zip file you downloaded. I have seen this before. Sometimes there is a small .txt file among the encrypted files that gives the password to decrypt them. Sometimes the password is sent separately in an email to an address you provide. If neither has been provided then you will have to go back to where you downloaded the zip file from and look for the info needed to decrypt them. 
    Wednesday, December 09, 2009 1:10 AM
  • Some uploader will encrypt the file when zip it with third party zip programs such as WINRAR. You can check the site you get the file to see if there is a password provided to unencrypt it.
    Thursday, December 10, 2009 3:33 AM
    Moderator
  • He said when he moved them to another computer he could not open them. Could it have something to do with drive encription?


    Seasons greetings!
    Friday, December 11, 2009 3:19 AM
  • Here are more details of what I did

    1. downloaded a .zip file from a HTTPS server to my computer.
    2. unziped the .zip file on my computer using "extract all...". The files were NOT unzipped to an encryped hard drive.
    3. Used file manager to view the unzipped files.
    4. I was surprised that the unzipped file names appeared in green text - the green text means the files are encryped.
    5. I was able to open and edit the unzipped files using notepad. I saved the files with notepad - the saved files were still showing up in green text
    6. I then moved these files from my computer to a web server (some of these files were HTML files)
    7. The files could not be accessed using HTTP from the web server because the files were encrypted and could only be viewed when the files were located on my computer.
    8. I could unencrypt the files on my computer by right clicking on the fules and selecting unencrypt from the properties dialog box

    I did not create the original .zip file. So, I do not know if the original .zip file had some sort of encryption. I am guessing the the .zip file was not encrypted but there is no way to know for sure. I downloaded the same .zip file to a Vista computer and unzipped it - the unzipped files were not encrypted on the Vista computer.

    I think it would be better if Windows 7 asked me if I wanted the unzipped files encrypted on my computer.

    Friday, December 11, 2009 4:28 AM
  • It's still unclear weather this encription thing happend only with the .zips Leo Lucas discussed here or for that matter all of his .zips.
    Seasons greetings!
    Friday, December 11, 2009 6:52 AM
  • To put it bluntly, why not download a cab or rar to test this theory? 

    .zippy
    Seasons greetings!
    Friday, December 11, 2009 7:13 AM
  • Edit:

    I performed more tests.

    1. If the folder I put a ZIP (not encryped) file to is encryped, the ZIP file will change to green --- but the folder or file inside (open the zip file with Windows Explorer) will not changed to green until you unzip them to the same folder.

    2. I tried to send a zip file which included an encryped file to another computer. After unzip it, it is not a green file.

    Thus it seems that the "encryption" is still caused by your local settings especially you can uncrypt the green files.
    Friday, December 11, 2009 8:30 AM
    Moderator
  • Only one .zip file caused this problem. The unusual thing about this .zip file was that it came from a HTTPS site. In the past, I have only downloaded .zip files from HTTP sites.
    Friday, December 11, 2009 11:26 PM
  • If you can you provide the the URL for .zip obtained from the HTTPS SSL encrypted website we may learn more.
    Seasons greetings!
    Friday, December 11, 2009 11:34 PM
  • sorry, I cannot provide the URL for the .zip file. The .zip file is on a pasword protected HTTP site and the contents are confidential.
    Sunday, December 13, 2009 10:45 PM
  • Then can you test the same file on a different computer? As other downloaded files are fine in same folder, let's check the downloaded file.
    Tuesday, December 15, 2009 2:12 AM
    Moderator
  • I had this same thing happen to me only last night while downloading a few things and when I tried to extract the files, they came out in green text, and windows 7 told me that the files were encypted. they still worked, it just told me to  backup encrypted files etc.
    So, I opened the zip file. selected the files and hit copy. and pasted them else where and it fixed the issue and made them all normal.
    hope this helps others.
    Thursday, January 28, 2010 11:37 PM
  • I can tell you that Windows 7 treats file zipped on the Mac OS (10.5.8) differently than files zipped on Windows XP.
    When you unzip a file zipped on the Mac, Windows 7 (and 2008 Server) will encrypt them (make the green.)
    If you unzip a file zipped on XP, it will unzip fine.
    Tuesday, February 23, 2010 5:46 PM
  • Same issue here.  Zipped files on Mac OS X (Snow Leopard), unzipped on Windows 7, all appeared green and were encrypted.  I could open and work on them just fine, but was concerned I wouldn't be able to open them later on the original Mac.  You can remove the encryption in bulk by Extracting All files from the zip, then selecting all the green files/folders as a group, right click, properties, advanced, then unselect "Encrypt contents to secure data".

    • Edited by rhaining Monday, March 08, 2010 9:35 PM typo
    Monday, March 08, 2010 6:53 PM
  • Have the same problems with encryption of zipped Mac OS X files.

    More datails:

    1. I have extracted from zip files which was unzipped on Windows XP. I had normal access to these files on Windows XP.

    2. My HDD failed recently and I moved to Windows 7 (I had back up of all my data files).

    3. While copying data from backup drive to new one (using Windows 7) I got errors for all files that previously was zipped on Mac. All these files are green and have encrypted attribute set which I can't switch off. I can't delete or access those files.

    ZIP file sample: http://www.i-marco.nl/weblog/jquery-accordion-menu-redux/demo.zip

     

    • Edited by APetroff Monday, June 21, 2010 5:41 AM added link to zip-file
    Monday, June 21, 2010 2:13 AM
  • This seems to be standard behaviour from Windows 7 when downloading files from https.   Just right click on the folder and choose 'properties'. Then 'advanced' - uncheck 'encrypt contents to secure data' - OK - OK. Then the files should no longer be green or encrypted.

    Roz

    www.geekette.com.au

     

    • Proposed as answer by majorkell Wednesday, January 05, 2011 7:07 PM
    Sunday, July 04, 2010 11:11 PM
  • I get the same problem when downloading a zipped file from:

    http://www.friendsofed.com/download.html?isbn=1430215984

    Pick "Most files to accompany the book (58.5 MB)".

    Note that this is downloaded from http, not from https. Judging by the presence of a ".DS_Store" file, I'd guess this was zipped on a Mac.

    It only takes a few moments to download the file but then ten minutes for Windows 7 to unencrypt the files that it shouldn't have encrypted in the first place.

    Is "unwanted feature" a euphemism for "bug"?

    Allen

    Wednesday, July 21, 2010 3:53 PM
  • Un-Zip with 7-zip.

    7-zip does not have this issue.

    Friday, May 27, 2011 3:34 AM
  • I have also confirmed the following:

    1. the problem does occur with http

    2. the problem is not standard behavior with https

    3. 7-Zip does not have the problem

     

    I have confirmed the problem on three different Windows 7 installations, both x32 and x64. All three machines are default installations of Windows with very minimal additional software loaded - they mainly have Office applications installed.

    Has anybody tried other unzip utilities? Could this be a bug in Windows?


    Saturday, July 09, 2011 3:15 PM
  • Hello there,

     

    is there a solution to this? We are facing the same issue though the files are downloaded using FTP. Once extracted on the Windows 7 machine the files are encrypted, if extracted on a Windows XP machine they are all fine. I haven't tried to use 7-Zip or WinZip but will do tomorrow and come back to you.

    In the mean time, is there a solution to this?

     

    Thanks,

     

    J

     

    Monday, October 31, 2011 4:10 PM
  • Hi Geekette,

    This is a good reply, but the zip file I downloaded does not have Encrypt contents checked. Still, Windows 7 unzips it into an encrypted file.

    This is a very annoying 'feature' as I use zipped files from YouSendIt a lot to receive client files. This is a https location.

    If a customer sends files from a Mac they are automatically locked after unzipping and I can only use them on the machine that they were unzipped on, so I am not flexible where I can work on them.

    I can unzip them on my old XP laptop at home and they will not be encrypted, so I can back them up, and use them on my work computer.

    Why does Windows 7 have this wonderful feature, and how can I get around it?

    The encryption on upzip seems to be automatic, no matter what I do to the properties of the zip file before unzipping it.

    Thanks for you help everyone!

    • Proposed as answer by kidjedi Saturday, January 21, 2012 10:59 PM
    • Unproposed as answer by kidjedi Saturday, January 21, 2012 10:59 PM
    • Proposed as answer by kidjedi Saturday, January 21, 2012 11:02 PM
    • Unproposed as answer by kidjedi Saturday, January 21, 2012 11:02 PM
    Tuesday, November 08, 2011 2:29 AM
  • Not at all true.  When I download zip files zipped by Mac and unpack them with 7zip, they are always "green" (encrypted).
    Saturday, January 21, 2012 10:58 PM
  • Hi Geekette,

    This is a good reply, but the zip file I downloaded does not have Encrypt contents checked. Still, Windows 7 unzips it into an encrypted file.

    This is a very annoying 'feature' as I use zipped files from YouSendIt a lot to receive client files. This is a https location.

    If a customer sends files from a Mac they are automatically locked after unzipping and I can only use them on the machine that they were unzipped on, so I am not flexible where I can work on them.

    I can unzip them on my old XP laptop at home and they will not be encrypted, so I can back them up, and use them on my work computer.

    Why does Windows 7 have this wonderful feature, and how can I get around it?

    The encryption on upzip seems to be automatic, no matter what I do to the properties of the zip file before unzipping it.

    Thanks for you help everyone!


    Unfortunately, you have to unzip and unencrypt (right click>properties>advanced>untick "encrypt contents to secure data") on the machine you used to download the file.  You could then rezip to be able to move the zipped contents (a zip file) to another machine.
    • Proposed as answer by kidjedi Saturday, January 21, 2012 11:02 PM
    Saturday, January 21, 2012 11:02 PM
  • Here's an explanation (albeit developer-centric) of why this happens: http://blogs.msdn.com/b/asklar/archive/2012/05/03/why-do-zip-files-from-mac-os-show-up-as-green-encrypted.aspx

    Hope this helps,

    Alexander Sklar

    This posting is provided "as is", with no warranties and confers no rights. 


    Thursday, May 03, 2012 6:55 PM
    Answerer