Excel不提示错误扩展(ExtensionHardening)

Excel Does Not Prompt for Incorrect Extension (ExtensionHardening)

我已经为当前用户添加了 ExtensionHardening 注册表设置。不幸的是,该设置未得到遵守。当用户打开电子表格时,它不会提示他们格式与扩展名不匹配——它只是不打开文件。不幸的是,更改它以使他们打开的文件格式匹配不是一个可行的选择。

用户在 Excel 2013 年,安装时间为 "all users on this machine"。此设置不受我们 Intranet 的组策略控制。

这是不同版本的注册表设置:

Key: HKEY_CURRENT_USER\Software\Microsoft\Office.0\Excel\Security Value: (DWORD)"ExtensionHardening" = [0 = Disable check; 1 = Enable check and prompt; 2 = Enable check, no prompt deny open] Default setting if value not present is 1 (enable and prompt).

(来自 here

我的问题是:

  1. 我还需要设置什么吗?

  2. 作为一般性问题,"install for all users" 与“安装 当前用户”影响注册表?

这是由 Excel 2013 信任中心设置引起的。有几种可能的解决方案:

  • 将远程站点添加到控制面板下的受信任站点集中 -> Internet 选项 -> 安全 -> 可信站点
  • 在 Excel 的选项下,选择 "Trust Center",然后 select 编辑 "Protected View",然后 unselect 最上面的选项。
  • 右键单击文件,select "Properties", 选择 "Unblock",然后单击 "Apply"