Mac*_*ver 33 internet-explorer windows-server-2012-r2
当我在 Windows Server 2012 R2 的 Internet Explorer 中时,我无法下载 Google Chrome 安装程序。我通常在安全性下设置允许的站点,但这不起作用。是什么阻止我点击“下载 Chrome”按钮?
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 增强的安全配置
关闭您可能已打开的所有 Internet Explorer 浏览器窗口。
打开服务器管理器
如果您的服务器运行的是 Windows Server® 2008 R2,请在服务器摘要的安全信息部分,单击配置 IE ESC 以打开 Internet Explorer 增强的安全配置对话框。
如果您的服务器运行的是 Windows Server® 2012,请单击配置此本地服务器以打开本地服务器配置页面。然后,在属性区域中,在 IE 增强安全配置旁边,单击打开以打开 Internet Explorer 增强安全配置对话框。
要允许本地管理员组的成员在其默认客户端配置中使用 Internet Explorer,请在管理员下单击关闭。
要允许所有其他组的成员在其默认客户端配置中使用 Internet Explorer,请在用户下单击关闭。
注意 为一组用户关闭 Internet Explorer 增强配置后,服务器管理器将在 Internet Explorer 增强安全配置旁边显示关闭。
单击“确定”以应用您的更改
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)
| 归档时间: |
|
| 查看次数: |
101597 次 |
| 最近记录: |