Internet Explorer Opens Files Instead of Downloading Them

Last reviewed: February 13, 1998
Article ID: Q140991
The information in this article applies to:
  • Microsoft Windows 95
  • Microsoft Plus! for Windows 95
  • Microsoft Windows NT Server version 4.0
  • Microsoft Windows NT Workstation version 4.0
  • Microsoft Internet Explorer versions 4.0, 4.01 for Windows 95
  • Microsoft Internet Explorer versions 4.0, 4.01 for Windows NT 4.0

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, you should first make a backup copy of the registry files (System.dat and User.dat). These are hidden files in the Windows folder.

SYMPTOMS

When you try to download an executable (.exe) file in Microsoft Internet Explorer, the file may be opened instead of downloaded.

CAUSE

When you first choose to download a file in Internet Explorer, you receive a Confirm File Open dialog box. The "Always ask before opening this type of file" check box in this dialog box is selected.

If you clear the "Always ask before opening this type of file" check box, the registry entry for this setting is changed and you do not see the Confirm File Open dialog box in subsequent download sessions. Instead, Internet Explorer automatically opens files instead of downloading them.

RESOLUTION

To work around this behavior, use either of the following methods:

  • Right-click the link for the file you want to download, and then click Save Target As.
  • Enable the "Always ask before opening this type of file" option. To do so, use Registry Editor to modify the third octet for the EditFlags value in the Hkey_Classes_Root\exefile key from 01 to 00.

    For example, change the EditFlags value from

          d8 07 01 00
    

    to

          d8 07 00 00
    

NOTE: For information about how to edit the registry, view the Changing Keys And Values online Help topic in Registry Editor (Regedit.exe). Note that you should make a backup copy of the registry files (System.dat and User.dat) before you edit the registry.

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall Windows 95. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

MORE INFORMATION

The first time you click a link to download an .exe file in Internet Explorer, you receive a Confirm File Open dialog box. The "Always ask before opening this type of file" check box in this dialog box is selected. If you are sure it is safe to open the file, click Open. To save the file to disk, click Save As.

If you clear the "Always ask before opening this type of file" check box, you are no longer prompted whether or not to open a file. Instead, the file is opened automatically.

If you disable the prompt for ActiveMovie files (this includes any file type that uses ActiveMovie such as .wav, .mov, and .avi files), the registry key that needs to be modified is:

   Hkey_Classes_Root\AMOVIE.ActiveMovie.Control.1

change the EditFlags value from 00 00 01 00 to 00 00 00 00.

If you are running Internet Explorer 4.0 or 4.01, the registry key that needs to be modified is:

   Hkey_Classes_Root\AMOVIE.ActiveMovieControl.2

change the EditFlags value from 00 00 01 00 to 00 00 00 00.


Additional query words: 4.00 95 winnt
Keywords : win95 winplus msient msiew95 kbenv kbui
Version : 4.00 95
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 13, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.