有时,当您从 Internet 下载文件时,会显示“文件下载(File Download)”对话框,询问您是要打开文件还是将文件保存到磁盘。此对话框上有一个复选框,名为“打开此类文件前始终询问”(Always ask before opening this type of file),在该对话框中。如果您不想在下载文件时看到“文件下载(File Download)”对话框,可以取消选中该复选框。
但是,如果取消选中该复选框,则下次下载文件时,将自动下载该文件,然后将自动执行您上次在“文件下载(File Download)”对话框中选择的操作(打开或保存)。由于不再显示“文件下载(File Download)”对话框,因此您无法打开“打开此类文件前始终询问”(Always ask before opening this type of file )复选框。
在Windows XP中,有一种简单的方法可以再次打开此复选框。在Windows 7和Vista中,不再有使用常用图形界面重置或更改此行为的选项。您必须使用编辑注册表来更改选项。我们将向您展示这两种方法。
视窗
要在 Windows XP 的文件下载(File Download )对话框中打开打开此类文件前始终询问(Always ask before opening this type of file )复选框,请打开我的电脑(My Computer)或Windows 资源管理器(Windows Explorer),然后从工具(Tools)菜单中选择文件夹选项。(Folder Options)您还可以访问控制面板(Control Panel)中的文件夹选项(Folder Options)。
显示文件夹选项(Folder Options)对话框。单击文件类型(File Types)选项卡。在已注册的文件类型(Registered file types)列表中找到要恢复为默认文件下载(File Download)行为的文件类型(将为选定的文件类型显示文件下载(File Download)对话框)。单击高级(Advanced)按钮。
注意:(NOTE:)您必须登录到具有管理员(Administrator)权限的帐户才能在此选项卡上进行任何更改。New、Delete、Change和Advanced按钮在受限用户帐户中不可用。
显示编辑文件类型(Edit File Type)对话框。选择“下载后确认打开(Confirm open after download)”复选框,因此该框中没有复选标记。单击(Click) 确定(OK)。
您将返回到“文件夹选项(Folder Options)”对话框。单击关闭(Close)将其关闭。
Windows 7 和 Vista
在Windows 7和Vista中,您必须从特定键中删除一些值数据项才能再次打开打开此类文件前始终询问(Always ask before opening this type of file )复选框。
注意:(NOTE:)我们建议您在对其进行更改之前备份注册表。有关备份注册表的帮助,请参阅以下帖子。
要打开注册表编辑器(Registry Editor),请打开开始(Start)菜单并在搜索程序和文件(Search programs and files)框中输入“ regedit ”(不带引号) 。单击结果中显示的regedit.exe链接或按Enter(如果regedit.exe链接自动突出显示)。
如果显示“用户帐户控制(User Account Control)”对话框,请单击“是”(Yes)继续。
注意:(NOTE:)您可能看不到此对话框,具体取决于您的用户帐户控制(User Account Control)设置。有关更多信息,请参阅我们的帖子Windows – 如何配置 UAC(用户帐户控制)。
显示注册表编辑器(Registry Editor)。导航(Navigate)到以下键:
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ Shell \ AttachmentExecute
AttachmentExecute键下将至少有一个带有一长串数字的键。添加了下图中的键 { FF55E06F-EB92-4CF5-AE8C-35F4B839C7CB } 是因为我们在 Apple 的(FF55E06F-EB92-4CF5-AE8C-35F4B839C7CB)Safari中下载文件时关闭了文件下载(File Download)对话框中打开此类文件之前始终询问(Always ask before opening this type of file )复选框浏览器。
如果在Internet Explorer(Internet Explorer)中下载文件时关闭“文件下载(File Download)”对话框中的“打开此类文件前始终询问”(Always ask before opening this type of file )复选框,您将看到 {0002DF01-0000-0000-C000-000000000046} 作为AttachmentExecute键下的键.
选择AttachmentExecute(AttachmentExecute)键下的键之一。右窗格包含一个(默认)((Default))值以及您关闭了“打开此类文件之前始终询问”(Always ask before opening this type of file )复选框的每种文件类型的值。
右键单击(Right-click)要重新打开“打开此类文件之前始终询问”(Always ask before opening this type of file )复选框的文件类型(elg., .zip ),然后从弹出菜单中选择“删除”。(Delete)这会将“文件下载(File Download)”对话框和“打开此类文件之前始终询问”(Always ask before opening this type of file )复选框设置为在下载您删除的类型的文件时恢复为默认设置。
显示确认值删除(Confirm Value Delete)对话框以确保您确实想要永久删除该值。单击是(Yes)。
通过从文件(File)菜单中选择退出(Exit)来关闭注册表编辑器。(Registry Editor)
现在您可以在“文件下载(File Download)”对话框中重置此选项,您不必担心有时会关闭它。再次打开它相当简单。享受!
Re-enable Always Ask Before Opening this Type of File Check Box in Windows
Sometimes, when yoυ download a file from the internеt, a File Download dialog box displays, asking whether you want to open the file or save the file to disk. There is a check box on this dialog box, called Always ask before opening this type of file, on the dialog box. If you don’t want to see the File Download dialog box when you download a file, you can unselect the check box.
However, if you unselect the check box, the next time you download a file, it will be automatically downloaded and then the action you last selected on the File Download dialog box (open or save) will automatically be performed. Since the File Download dialog box no longer displays, you cannot turn on the Always ask before opening this type of file check box.
In Windows XP, there is a simple way to turn on this check box again. In Windows 7 and Vista, there is no longer an option to reset or change this behavior using the usual graphical interface. You have to use edit the registry to change the option. We will show you both methods.
Windows XP
To turn on the Always ask before opening this type of file check box on the File Download dialog box in Windows XP, open My Computer or Windows Explorer and select Folder Options from the Tools menu. You can also access Folder Options in the Control Panel.
The Folder Options dialog box displays. Click the File Types tab. Find the file type in the Registered file types list for which you want to revert to the default File Download behavior (the File Download dialog box will be displayed for the selected file type). Click the Advanced button.
NOTE: You must be logged into an account with Administrator privileges to make any changes on this tab. The New, Delete, Change, and Advanced buttons are not available in limited user accounts.
The Edit File Type dialog box displays. Select the Confirm open after download check box so there is NO check mark in the box. Click OK.
You are returned to the Folder Options dialog box. Click Close to close it.
Windows 7 and Vista
In Windows 7 and Vista, you must remove some value data items from a specific key to turn on the Always ask before opening this type of file check box again.
NOTE: We recommend that you backup the registry before making changes to it. Refer to the following post for help in backing up the registry.
To open the Registry Editor, open the Start menu and enter “regedit” (without the quotes) in the Search programs and files box. Click the regedit.exe link that displays in the results or press Enter, if the regedit.exe link is highlighted automatically.
If the User Account Control dialog box displays, click Yes to continue.
NOTE: You may not see this dialog box, depending on your User Account Control settings. See our post, Windows – How to configure UAC (User Account Control), for more information.
The Registry Editor displays. Navigate to the following key:
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ Shell \ AttachmentExecute
There will be at least one key with a long string of numbers under the AttachmentExecute key. The key pictured in the image below, {FF55E06F-EB92-4CF5-AE8C-35F4B839C7CB}, was added because we turned off the Always ask before opening this type of file check box on the File Download dialog box while downloading a file in Apple’s Safari browser.
If you turned off the Always ask before opening this type of file check box on the File Download dialog box while downloading a file in Internet Explorer, you will see {0002DF01-0000-0000-C000-000000000046} as a key under the AttachmentExecute key.
Select one of the keys under the AttachmentExecute key. The right pane contains a (Default) value plus values for each of the file types for which you turned off the Always ask before opening this type of file check box.
Right-click on the file type (elg., .zip) for which you want to turn the Always ask before opening this type of file check box back on and select Delete from the popup menu. This sets the File Download dialog box and the Always ask before opening this type of file check box back to the default setting when downloading files of the type you deleted.
The Confirm Value Delete dialog box displays to make sure you really want to permanently want to delete the value. Click Yes.
Close the Registry Editor by selecting Exit from the File menu.
Now that you can reset this option on the File Download dialog box, you don’t have to worry about turning it off sometimes. It is fairly simple to turn it on again. Enjoy!