question

AlexFogerty-6370 avatar image
1 Vote"
AlexFogerty-6370 asked luiz-mesquita rolled back

How to uninstall Google Chrome using command line

I have about 100 computers running the vanilla version of Chrome, but I want to uninstall the Google Chrome and install Google Chrome Enterprise.

My problem is that when I'm trying to uninstall vanilla Chrome it says the MSI file is missing. This shouldn't be a major issue but MSIEXEC won't uninstall Chrome either, even with the MSIEXEC /X command.

I have tried WMIC also, but this just says it was successful but throws an error code 1612, which means "failed to uninstall":

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

The only way I've successfully removed Chrome is using REVO Uninstaller, but I've got 100 machines with the same problem and I really need a command line where I can just uninstall them remotely.Can anyone else think of a way to kill off Google Chrome remotely on 100 machines? A cleanup tool would be amazing.

windows-10-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SSengupta-4080 avatar image
0 Votes"
SSengupta-4080 answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered LimitlessTechnology-2700 edited

Hello @AlexFogerty-6370 ,

Could you please refer below link, i see they have uninstalled it using a powershell script.

https://social.technet.microsoft.com/Forums/en-US/7e3c5fd3-e41c-4a0c-88fd-90ec7520edde/how-can-i-uninstall-google-chrome-using-power-shell?forum=winserverpowershell

JFYI - If you are trying to do for bulk Machines, just create a excel file and paste the names and call those in powershell.

--please don't forget to upvote and Accept as answer if the reply is helpful--
Mohammed S

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

luiz-mesquita avatar image
4 Votes"
luiz-mesquita answered luiz-mesquita rolled back

Try this, in a elevated prompt:

IF EXIST "C:\Program Files (x86)\Google\Chrome\Application\93.0.4577.63\Installer\setup.exe" ("C:\Program Files (x86)\Google\Chrome\Application\93.0.4577.63\Installer\setup.exe" --uninstall --multi-install --chrome --msi --system-level --force-uninstall)

Replace the text for your installed version.

Please don't forget to upvote and Accept as answer if the reply is helpful.







5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.