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

Comments

Please log in to comment

Answers

3

Give this a try 

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

Answered 03/12/2014 by: bstefan
White Belt

  • Amazingly useful entry to know. Thanks!
Please log in to comment
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

Answered 08/15/2013 by: piyushnasa
Red Belt

Please log in to comment
2

Give this a try

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

Answered 03/12/2014 by: bstefan
White Belt

  • This is by far the best answer, it uninstalls every version of chrome irregardless of the directory path :)
Please log in to comment
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"

Answered 12/04/2014 by: adam650
White Belt

Please log in to comment
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.

 

Answered 04/01/2015 by: freewill0078
Senior Yellow Belt

Please log in to comment
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 
Answered 08/14/2013 by: mattski
Second Degree Green Belt

  • 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.
  • looking for a script which will find Chrome version and auto uninstall from the User Profile
  • 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?
Please log in to comment
0
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}

Answered 07/28/2016 by: Randy Schuman
White Belt

Please log in to comment
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.


Answered 06/28/2016 by: rivan
White Belt

Please log in to comment
Answer this question or Comment on this question for clarity