Installing Chrome Browser in Windows Server 2016.

SuperChai
1 min readSep 25, 2020

When using Windows Server 2016, the default Web browser is Internet Explorer which is difficult to use for some tasks because it blocks many Web activities.

It is much easier to work with Chrome Web browser. However, Internet Explorer in Windows Server 2016 makes downloading Chrome difficult.

Fortunately, the script from this blog can be used to download and install Chrome through Windows PowerShell.

Follow the steps below.

  1. On Windows Server 2016, Start → Windows PowerShell → Right-click Windows PowerShell entry → Run as Administrator.
  2. Copy and paste the following script into Windows PowerShell prompt (check the correctness of double-quotes and single-quotes).
$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)

3. Press Enter key.

--

--