/build/static/layout/Breadcrumb_cap_w.png

How to uninstall any version Google chrome?

How to uninstall any version Google chrome, there is no uninstall string. how to identify the version and uninstall by path. %APPDATA%\Google\""version""\uninstall

this to create silent uninstall package for any version of Chrome remotely.  by using wise package studio 


0 Comments   [ + ] Show comments

Answers (10)

Posted by: bstefan 10 years ago
White Belt
6

Give this a try 

@echo off
wmic product where "name like 'Google Chrome'" call uninstall /nointeractive


Comments:
  • Amazingly useful entry to know. Thanks! - AndyH 8 years ago
  • The best way to uninstall chrome, thanks ! - ML1 7 years ago
Posted by: bstefan 10 years ago
White Belt
3

Give this a try

@echo off
wmic product where "name like 'Google Chrome'" call uninstall /nointeractive 


Comments:
  • This is by far the best answer, it uninstalls every version of chrome irregardless of the directory path :) - EricSP 8 years ago
Posted by: piyushnasa 11 years ago
Red Belt
3

Hi, I have written a script that will uninstall any previous version of Google Chrome. This can be any legacy Google chrome from earliest version to the latest one. This is a VBScript and you are welcome to copy it from my blog here:

http://msiworld.blogspot.com.au/2012/06/packaging-google-chrome-for-enterprise.html

Do post in your comments/appreciation if you like it.

 

Cheers,

Piyush

Posted by: Randy Schuman 8 years ago
White Belt
2
I created a universal Chrome uninstaller if anybody needs it. The script runs silent as most deployments need it this way.
Just make sure the .cmd and the .ps1 file are in the same folder. If running local, just right click on the .cmd and run as admin.
Works on both 32 and 64 bit PCs.This works on single user exe, multiuser exe and enterprise msi. Feedback is appreciated.
I posted this on the Google forum and you can download the .ps1 script here.  https://productforums.google.com/forum/#!topic/chrome/R8YF7FSdyY4;context-place=forum/chrome

Contents of command file ChromeRemover.cmd 1 line of code.

%WINDIR%\System32\WindowsPowerShell\v1.0\PowerShell -WindowStyle Normal -NoLogo -NonInteractive -ExecutionPolicy Bypass -File "%~dp0ChromeUniUninstaller.ps1"

Contents of PowerShell script ChromeUniUninstaller.ps1 I know this is being wrapped in the forum, so make sure you have 8 lines of code.

$AppInfo = Get-WmiObject Win32_Product -Filter "Name Like 'Google Chrome'"

If ($AppInfo) {& ${env:WINDIR}\System32\msiexec /x $AppInfo.IdentifyingNumber /Quiet /Passive /NoRestart}

$Reg32Key = Get-ItemProperty -path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Google Chrome" -name "Version" -ErrorAction SilentlyContinue

$Ver32Path = $Reg32Key.Version

If ($Ver32Path) {& ${env:ProgramFiles}\Google\Chrome\Application\$Ver32Path\Installer\setup.exe --uninstall --multi-install --chrome --system-level --force-uninstall}

$Reg64Key = Get-ItemProperty -path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Google Chrome' -name "Version" -ErrorAction SilentlyContinue

$Ver64Path = $Reg64Key.Version

If ($Ver64Path) {& ${env:ProgramFiles(x86)}\Google\Chrome\Application\$Ver64Path\Installer\setup.exe --uninstall --multi-install --chrome --system-level --force-uninstall}


Comments:
  • Just wanted to say this works well, thanks - AndyNiel 7 years ago
  • Hi Randy, Can I have copy of this .PS1 ? its been removed from the Chrome help forum.

    Thanks - ITNinja_Tech 7 years ago
Posted by: BNewland 2 years ago
Senior Yellow Belt
1

We had an issue where Chrome was installed on computers in both user and system contexts, but neither was showing up in Add/Remove programs. Because of that, you couldn't get the path from WMIC or the registry.

Also, some of the solutions listed will only work for the current user (anything referencing %appdata% or %localappdata%).


This script searches for the chrome setup.exe in every user profile, in Program Files, and Program Files (x86).


$ChromeInstalls = @(Get-ChildItem "C:\Program Files*\Google\Chrome\Application\*\Installer\setup.exe")

$ChromeInstalls += @(Get-ChildItem "C:\Users\*\AppData\Local\Google\Chrome\Application\*\Installer\setup.exe")

ForEach ($ChromeSetup in $ChromeInstalls) {

Start-Process -FilePath "$ChromeSetup" -ArgumentList "--uninstall --multi-install --chrome --system-level --force-uninstall" -Wait -Passthru

}


Comments:
  • I used this method with PDQ deploy. Uninstalled successfully but Google Chrome is listed in Programs and Features - xyp 1 year ago
Posted by: adam650 10 years ago
White Belt
1

I opened up the command Windows (cmd) as an admin then ran this: "C:\Program Files (x86)\Google\Chrome\Application\39.0.2171.71\Installer\setup.exe" --uninstall --multi-install --chrome --system-level


It worked right away.  It isn't a silent uninstall but hey it works!! I found this by going into my registry and search for the key word "chrome"

It was found in here:  "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Google Chrome" then I found the DWORD named "UninstallString"

Posted by: freewill0078 9 years ago
Senior Yellow Belt
1

How about this to uninstall?  We deploy Chrome with MSI and would not update with a newer version.  The application log would have error 1722.


Command line sample for Chrome MSI 32-bit on Windows 7 64-bit:

FOR /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Google\Update\ClientState\{8A69D345-D564-463C-AFF1-A69D9E530F96}" /v UninstallString`) DO (
    set appdir=%%A %%B
    )

"%appdir%" --uninstall --multi-install --chrome --system-level --force-uninstall


Powershell sample for Chrome MSI 32-bit on Windows 7 64-bit:

$key = 'HKLM:\SOFTWARE\Wow6432Node\Google\Update\ClientState\{8A69D345-D564-463C-AFF1-A69D9E530F96}'
$uninststr = (Get-ItemProperty -Path $key).UninstallString
cmd /c $uninststr --uninstall --multi-install --chrome --system-level --force-uninstall

Thanks to Piyush's concept with vbscript.

 

Posted by: mattski 11 years ago
Second Degree Green Belt
1
Open registry to this path: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall

Search for "Chrome" and find the Uninstall key; eg. msiexec.exe /x {....}
Copy this line and run it in Start>Run or in cmd.exe.

if this was installed via the web, then you will need to find the installer exe in the user profile and run the following command (below example version may vary):
eg. "%userprofile%\Local Settings\Application Data\Google\Chrome\Application\2.0.172.33\Installer\setup.exe" --uninstall --force-uninstall 

Comments:
  • Hi Mattski,
    Thanks for you answer,

    I doing the below one taking installer from User Profile.

    Problem here is we have 5000 plus machine, I cant go check Chromeversion in all the machine to uninstall from User Profile. - Karthikvels 11 years ago
  • looking for a script which will find Chrome version and auto uninstall from the User Profile - Karthikvels 11 years ago
  • I am looking for the same thing. I am using the K1000 though and need a script to find the version of the actual version (ex. 28.0.1500.95 instead of the .msi install version 65.91.xxxx.xx). Any suggestions on a reg key to target and how to identify Chrome's current version? - J.R. Colby 11 years ago
Posted by: georgeb32 7 years ago
White Belt
1
I made this powershell script to uninstall any recent version of chrome, completely non-interactive

#Kill Task
taskkill /F /IM Chrome*

#Get Version
$ChromeVer = Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall, HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall  |
    Get-ItemProperty |
    Where-Object {$_.DisplayName -match "Chrome" } |
    Select-Object -Property DisplayName, UninstallString

#Uninstall
ForEach ($ver in $ChromeVer) {

    If ($ver.UninstallString) {

        $uninst = $ver.UninstallString
        & cmd /c $uninst --force-uninstall --multi-install --chrome 
    }
     
}
Posted by: rivan 8 years ago
White Belt
0

To silently uninstall any version of Chrome (MSI/setup), installed under user or system context, with admin or non-admin privileges, use a batch file with the following code:

if exist %LOCALAPPDATA%\Google\Chrome\Application\51.0.2704.84\Installer\setup.exe %LOCALAPPDATA%\Google\Chrome\Application\51.0.2704.84\Installer\setup.exe --uninstall --user-level --force-uninstall --verbose-logging

wmic product where "name like 'Google Chrome'" call uninstall /nointeractive > %windir%\Logging\Uninstall_Chrome_Google_vALL_W7_P1.0.log

Make sure the logging path exists on the target system or remove that part form the batch file.

Run reports to find out what versions of Chrome run in your environment, replace the version in the script or add extra lines if needed.


 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ