如何在 IE 中从 Windows Server 中单击“下载 Chrome”按钮?

Mac*_*ver 33 internet-explorer windows-server-2012-r2

当我在 Windows Server 2012 R2 的 Internet Explorer 中时,我无法下载 Google Chrome 安装程序。我通常在安全性下设置允许的站点,但这不起作用。是什么阻止我点击“下载 Chrome”按钮?

https://www.google.com/chrome/browser/desktop/#

Fra*_*mas 34

Windows 服务器提供带有锁定配置的 IE,它们称为Internet Explorer Enhanced Security Configuration. 此配置由一组区域设置和其他高级设置组成。在默认状态下,这些浏览器将显示有关配置的消息。

在此处输入图片说明

要查看 IE ESC 的详细信息,请单击带有文本的链接Effects of Internet Explorer Enhanced Security Configuration以查看具体设置。

在之前的版本中,您可以简单地授予 Internet Zone 下载文件的权利,但这不再像以前那样有效,而且基于 Chrome 网络的安装还需要脚本和本地安装程序执行,因此特别困难。

如果您只是打算使用其他浏览器(为了避免 IE,或者为了绕过配置),您可以考虑仅禁用 IE ESC。为此,请输入以下网址,查看您的特定 IE 版本的帮助:res://iesetup.dll/IESecHelp.htm#turnoff

对于 Windows Server 2012 和 2012 R2,说明如下:

建议在您的服务器上启用 Internet Explorer 增强的安全配置,以帮助确保您的服务器不会无意中暴露于恶意软件或其他基于浏览器的攻击。但是,在某些环境中,您可能希望关闭 Internet Explorer 增强的安全配置保护,以便管理员或标准用户更轻松地浏览。

关闭 Internet Explorer 增强的安全配置

  1. 关闭您可能已打开的所有 Internet Explorer 浏览器窗口。

  2. 打开服务器管理器

  3. 如果您的服务器运行的是 Windows Server® 2008 R2,请在服务器摘要的安全信息部分,单击配置 IE ESC 以打开 Internet Explorer 增强的安全配置对话框。

    如果您的服务器运行的是 Windows Server® 2012,请单击配置此本地服务器以打开本地服务器配置页面。然后,在属性区域中,在 IE 增强安全配置旁边,单击打开以打开 Internet Explorer 增强安全配置对话框。

  4. 要允许本地管理员组的成员在其默认客户端配置中使用 Internet Explorer,请在管理员下单击关闭。

    要允许所有其他组的成员在其默认客户端配置中使用 Internet Explorer,请在用户下单击关闭。

    注意 为一组用户关闭 Internet Explorer 增强配置后,服务器管理器将在 Internet Explorer 增强安全配置旁边显示关闭。

  5. 单击“确定”以应用您的更改

  • 对于 Windows Server 2019,只需在 IE 安全设​​置中启用 [Internet 区域的文件下载](https://improveandrepeat.com/2018/03/internet-explorer-on-windows-server-enable-file-downloads/) 。 (2认同)

Jor*_*geM 25

我使用 powershell 在 Windows Server 2012 R2/2016/2019 中安装 Chrome:

$LocalTempDir = $env:TEMP; $ChromeInstaller = "ChromeInstaller.exe"; (new-object System.Net.WebClient).DownloadFile('http://dl.google.com/chrome/install/375.126/chrome_installer.exe', "$LocalTempDir\$ChromeInstaller"); & "$LocalTempDir\$ChromeInstaller" /silent /install; $Process2Monitor =  "ChromeInstaller"; Do { $ProcessesFound = Get-Process | ?{$Process2Monitor -contains $_.Name} | Select-Object -ExpandProperty Name; If ($ProcessesFound) { "Still running: $($ProcessesFound -join ', ')" | Write-Host; Start-Sleep -Seconds 2 } else { rm "$LocalTempDir\$ChromeInstaller" -ErrorAction SilentlyContinue -Verbose } } Until (!$ProcessesFound)
Run Code Online (Sandbox Code Playgroud)

当然我知道不值得推荐,但有时你需要一个浏览器来获取一些文件。

如果您想在 EC2 Windows 中自动安装 Chrome,请将其放入您的用户数据中:

<powershell>
$LocalTempDir = $env:TEMP; $ChromeInstaller = "ChromeInstaller.exe"; (new-object System.Net.WebClient).DownloadFile('http://dl.google.com/chrome/install/375.126/chrome_installer.exe', "$LocalTempDir\$ChromeInstaller"); & "$LocalTempDir\$ChromeInstaller" /silent /install; $Process2Monitor =  "ChromeInstaller"; Do { $ProcessesFound = Get-Process | ?{$Process2Monitor -contains $_.Name} | Select-Object -ExpandProperty Name; If ($ProcessesFound) { "Still running: $($ProcessesFound -join ', ')" | Write-Host; Start-Sleep -Seconds 2 } else { rm "$LocalTempDir\$ChromeInstaller" -ErrorAction SilentlyContinue -Verbose } } Until (!$ProcessesFound)
</powershell>
Run Code Online (Sandbox Code Playgroud)


小智 7

对我而言,我执行了以下操作,并且能够在 Windows Server 2019 上下载 chrome。

  1. 关闭 Internet Explorer 增强的安全配置。单击此处查看操作方法。
  2. 启用文件下载。点击这里查看如何
  3. 启用活动脚本 (JavaScript)。点击这里查看如何

在我完成所有这些之后,下载 chrome 按钮工作正常。

  • 实际上只是第一颗子弹就足够了,对我有用 (2认同)