How to stop 7-Zip from automatically downloading and opening a zip file in Chrome?

22,293

There's nothing you can do in 7-Zip to prevent this. It is Chrome who downloads the file and opens it with its default application.

At some point, Chrome was instructed to open ZIP files automatically after downloading. THis overrides the Ask where to save each file before downloading setting.

There are at least three ways to revert this change:

  • Open chrome://settings/, locate the Downloads section and click Clear auto-opening settings.

    This will cause Chrome to forget the auto-opening settings for all file extensions.

  • Start downloading a ZIP file (e.g., http://www.oneasiahost.com/speedtest/100mb.zip) big enough to make the download bar visible for a few seconds.

    When the download bar appears, right-click the ongoing download and uncheck the option Always Open Files of This Type.

    You can cancel the download afterwards.

  • Close Chrome, open the folder %APPDATA%\Local\Google\Chrome\User Data in Windows Explorer, enter your profile's folder (usually Default) and edit the file Preferences.

    Search a line looking like

    "extensions_to_open": "zip",
    

    and remove the zip extension from the list.

    Save the changes and restart Chrome.

Share:
22,293

Related videos on Youtube

Jaak Kütt
Author by

Jaak Kütt

Updated on September 18, 2022

Comments

  • Jaak Kütt
    Jaak Kütt over 1 year

    I have checked the "Ask where to save each file before downloading" option in Chrome settings yet after installing 7-Zip, every time I click on a link which targets a .zip file:

    1. chrome doesn't fire up the download bar like with any other file type
    2. yet downloading starts automatically
    3. (which leaves me no chance to cancel the download for smaller files which arrive pretty fast)
    4. .zip file is saved to my default downloads folder
    5. 7-Zip fires up and opens the file

    I can't find an option to disable this behaviour under the options of 7-zip nor Chrome. Having a file automatically downloaded and opened rises an obvious security concern. Has anyone ran into this before or knows a solution?

    On last check:

    • Windows 7 Enterprise 64-bit
    • Google Chrome Version 31.0.1650.63
    • 7-Zip 9.20
    • KJdev
      KJdev over 10 years
      I'm just curious, instead of clicking it, does right-clicking it and selecting "Save link as.." open the file after download as well?
    • Jaak Kütt
      Jaak Kütt over 10 years
      Apparently "Save link as..." option does allow to choose the location but after the download 7-Zip opens it automatically.
    • KJdev
      KJdev over 10 years
      Then apparently the auto-open setting is universal, good thing @Dennis has a solution.
  • Jaak Kütt
    Jaak Kütt over 10 years
    Would give another +1 for the pref file refrence. For the auto-opening settings - the "clear all" and "after downloading" parts of the explanation label kept me initially away from concidering that as a reasonable suspect.
  • Dennis
    Dennis about 9 years
    @gv0000: I'm using the latest stable version of Chrome on Linux and the option is still there. You have to click Show advanced settings... to discover it. In any case, the other two methods I've mentioned in my answer should work just as well.
  • mario
    mario about 9 years
    Hmm.. I'm looking at chrome://settings/ , under Advanced Settings, under Downloads and all I can see are options for Download location and a checkbox for whether or not to check destination before saving. I guess I'm looking in the wrong place.
  • Dennis
    Dennis about 9 years
    @gv0000: Not necessarily. If you don't have any auto-opening settings, the button isn't there. What file type do you have trouble with?
  • mario
    mario about 9 years
    .zip files, but strangely enough I just realized they are working fine on another site.