Install Chrome in Windows Server using Powershell

Estimated reading time: < 1 min

The default browser of windows server is Internet Explorer.  By default this blocks all connections which can make it hard to browse through the internet. You can follow these easy steps to install chrome which will be much easier to work with.

  1. Go to start and search for ”Powershell” and open it

    Powershell 1

    Powershell 1

  2. Paste the following code in 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 2

    Powershell 2

  3. Press enter and wait till it finishes

    Powershell 3

    Powershell 3

Was this article helpful?
Dislike 0
Views: 63

Reader Interactions

Leave a Reply

Your email address will not be published. Required fields are marked *