How do I uninstall all versions of Google Chrome on my system?

0
3
Asked By CuriousCat99 On

I'm looking for a way to find and uninstall all versions of Google Chrome located in the folder "C:Program Files (x86)GoogleApplication". I'm not concerned whether it's the 32-bit or 64-bit version. We've been using Heimdal to install Chrome for a while, and it seems that I might've accidentally installed the 32-bit version on our 64-bit system. Since Heimdal isn't able to uninstall the 32-bit version, I'm trying to handle it manually. I also want to install the 64-bit version using the MSI file named "googlechromestandaloneenterprise64". We're managing software through Intune, but I'm running into some issues. If anyone has some pointers on how to go about this, I'd really appreciate it!

6 Answers

Answered By DuplicateTracker99 On

Hey, I noticed you've posted about this issue twice with different titles! I found them here:
1. https://www.reddit.com/r/PowerShell/comments/1lcnftl/help_all_versions_of_uninstalling_google_chrome/
2. https://www.reddit.com/r/PowerShell/comments/1lcn69i/powershell_script_for_intune_chrome_uninstall/

Answered By CodeGuru88 On

I had similar issues with SCCM installs. Check out this GitHub repo I put together for app packaging. You’ll just need to tweak the first couple of lines to make it work for your situation: https://github.com/dromatriptan/ApplicationPackaging

Answered By TechWhiz42 On

It seems like you might be a bit confused about the 32-bit and 64-bit installations. If you have a folder labeled x86, that generally means you're on a 64-bit system, and all programs in there should be 32-bit. So searching in that path for a 64-bit version might not work. Just a heads-up!

Answered By ScriptingSavant On

You might find this snippet helpful:
```powershell
$programName = "Chrome"
$installedPrograms = Get-WmiObject -Query "SELECT * FROM Win32_Product WHERE Name LIKE '%$programName%'"
if ($installedPrograms) {
foreach ($program in $installedPrograms) {
Write-Output "Found: $($program.Name)"
Write-Output "MSI Install Code: $($program.IdentifyingNumber)"
$program.uninstall()
}
} else {
Write-Output "Program '$programName' not found."
}
```
We use something similar, and it works great for any versions we want to remove!

SysAdminPro -

We have a similar setup, and this worked like a charm for us during our Chrome package updates.

Answered By WindowsWhiz On

Does the Heimdal installation of Chrome appear in the 'Add or Remove Programs' on your control panel, or is it like a portable version? That could change how you need to approach the uninstall.

Answered By ScriptMaster101 On

You could use PowerShell to uninstall Chrome. Here's a quick script:

```powershell
$chromes = get-package -Name *google*chrome*
$chromes | ForEach-Object {Uninstall-Package $_}
```
This should help you sweep through and uninstall any Chrome packages!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.