User Agents

Web browsers and everyday web tech, explained

Silent Install Google Chrome with PowerShell

· 4 min read · Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

This guide shows you how to silently install Google Chrome using PowerShell, which is useful for IT administrators or users who need to deploy Chrome across multiple machines without user interaction. You'll use the official Chrome standalone installer and a few PowerShell commands to complete the installation quietly.

What You'll Need

  • A Windows computer with PowerShell (version 3.0 or later) — most modern Windows systems have this.
  • Administrator rights on the computer (to install software).
  • Internet access to download the Chrome installer from Google's official site.

Step-by-Step

  1. Open PowerShell as Administrator. Right-click the Start button and select "Windows PowerShell (Admin)" or "Terminal (Admin)". Click "Yes" if prompted by User Account Control.
  2. Download the Chrome standalone installer. Use the Invoke-WebRequest cmdlet to download the official Chrome standalone installer to a temporary location. Run:
    Invoke-WebRequest -Uri "https://dl.google.com/chrome/install/standalonesetup64.exe" -OutFile "$env:TEMP\chrome_installer.exe"
    (If you need 32-bit Chrome, replace standalonesetup64.exe with standalonesetup.exe.)
  3. Verify the download (optional but recommended). Check that the file exists and has a reasonable size (around 1-2 MB for the stub, but the full installer is larger). Run:
    Get-Item "$env:TEMP\chrome_installer.exe" | Select-Object Length
  4. Run the installer silently. Execute the installer with the silent flag. Use the Start-Process cmdlet with the -ArgumentList parameter:
    Start-Process -FilePath "$env:TEMP\chrome_installer.exe" -ArgumentList "/silent /install" -Wait
    The -Wait flag makes PowerShell wait until the installation finishes.
  5. Verify installation. Check if Chrome was installed successfully by looking for the executable or using Get-Command:
    Test-Path "$env:ProgramFiles\Google\Chrome\Application\chrome.exe"
    If it returns True, Chrome is installed. You can also launch it with Start-Process "chrome".
  6. Clean up the installer (optional). Delete the downloaded installer file to save space:
    Remove-Item "$env:TEMP\chrome_installer.exe"

Common Mistakes

  • Forgetting the silent flag. Running the installer without /silent will show the GUI and require interaction.
  • Using the wrong installer URL. The URL must be the standalone installer, not the online stub installer that downloads more files. The standalone installer includes everything needed.
  • Not using -Wait. Without -Wait, PowerShell continues before the installation finishes, which can cause errors if you try to verify immediately.
  • Running without admin rights. Chrome installation requires administrative privileges. If you get an access denied error, you're not running as admin.

Tips

  • Use 64-bit installer on 64-bit systems. The 64-bit version is more efficient. If you're unsure of your system architecture, run echo $env:PROCESSOR_ARCHITECTURE — it should say AMD64 for 64-bit.
  • Consider using the enterprise MSI installer. For large-scale deployments, Google offers an MSI package that supports more customization. You can download it from Google's Chrome Enterprise site, but the standalone installer works fine for most cases.
  • Add Chrome to PATH. The installer usually adds Chrome to the system PATH, so you can run chrome from any PowerShell window. If not, you can add the directory manually.
  • Test in a VM first. If you're deploying to many machines, test the silent install on a virtual machine to ensure it works before rolling out.

Troubleshooting

  • Installation appears to hang. The installer may take a few minutes. Wait longer, or check if the process is still running with Get-Process chrome_installer. If it's stuck, kill it and try again after ensuring no other Chrome processes are running.
  • Error "Access denied" or "The requested operation requires elevation." You're not running PowerShell as administrator. Close and reopen PowerShell with "Run as administrator".
  • Chrome is not installed after the command completes. Check the installer's exit code by using $LASTEXITCODE after Start-Process (though Start-Process may not set it directly). Alternatively, run the installer manually with /silent to see any error messages. Also verify that the downloaded file is not corrupted by checking its size or re-downloading.
  • Download fails with "Could not connect" or "404". The URL might be outdated. Go to Google's Chrome download page, find the direct link to the standalone installer, and use that. Ensure you have internet access.
  • Chrome installs but doesn't appear in the Start Menu. This is rare, but you can manually create a shortcut or run Chrome from the installation path.

Frequently Asked Questions

Can I install Chrome silently without downloading a separate installer?

Yes, you can use the online installer with /silent, but it downloads additional files during install, which can be slower and less reliable. The standalone installer is recommended for silent installs.

Does the silent install work on Windows 10 and Windows 11?

Yes, the standalone installer works on both Windows 10 and Windows 11, as well as older versions like Windows 7 and 8.1 (with updates).

Can I install Chrome for all users on the machine?

Yes, running the installer with /silent /install as an administrator installs Chrome for all users on the machine. If you want to install only for the current user, you can omit the /install flag, but that's less common.

How do I uninstall Chrome silently using PowerShell?

You can use the Windows uninstall string. For example: Start-Process "$env:ProgramFiles\Google\Chrome\Application\chrome.exe" -ArgumentList "--uninstall" -Wait or use the MSI uninstall if you used the MSI package. Alternatively, use Get-Package -Name "Google Chrome" | Uninstall-Package.

Is there a way to set Chrome as the default browser during silent install?

No, the silent install doesn't set Chrome as default. You'd need to configure that separately via group policy or user settings after installation.

Can I use this method to update Chrome silently?

Yes, you can run the same installer with /silent /install to update Chrome to the latest version. It will preserve user data and settings.