How can i uninstall Google Chrome Silent in Domain
The uninstall string appears as
"C:\Users\%Username%\AppData\Local\Google\Chrome\Application\23.0.1271.64\Installer\setup.exe" --uninstall --multi-install --chrome
I did checked in many websites regarding this, I did try to find in Chrome Site for their Silent Switches but unfortunately i cannot find.
Currently we are in process of software standardization so if anyone knows about this matter Please do update
Thanks in advance :)
0
Comments
Shadhir,
you can use the "silentuninstall.exe" tool from the following web site.
http://www.scriptingsimon.com/2010/10/silently-uninstalling-software/
if you use following command:
silentuninstall.exe "Google Chrome"
all Google Chrome Version of the local Workstation will be uninstalled.
you can build very easily a installer with pdq deploy to do this in your wan Network.
Also some info from Google support:
Manually uninstall Google Chrome in Windows
http://support.google.com/chrome/bin/answer.py?hl=en&answer=111899
Aquadt Hv,
Thanks for your reply !
I did try but no luck, Is it possible for you check & upload some screenshot for me
Screenshot Attached
Regards,
Ahamed Shadhir
Ahamed,
Try instead of "Google Chrome" only "Google". see the attached Screen
Regards
Andreas
Aquadt Hv,
As i can notify in your Screenshot, It shows a MSIEXEC.exe Uninstall String. This can be removed as you say :)
As i know This appears for old versions of Google Chrome
Currently in my network all the PC's has the new version.
Which consist the Uninstall String of
"C:\Users\%Username%\AppData\Local\Google\Chrome\Application\23.0.1271.64\Installer\setup.exe" --uninstall --multi-install --chrome
If you come across any Silent Switches let me know :)
Thanks in advance for your quick support
@ SelfMan
No Luck :)
Ahamed,
we use in our Company the "GoogleChromeStandaloneEnterprise.msi" installer package. this is maybe the problem why the silentuninstall.exe doesn´t work for you.
try to install the msi package over the installed Version of Google Chrome and try again the uninstallation with the silentuninstall tool !? maybe this works.
Hi Ahamed,
It looks like the Chrome you are trying to uninstall was installed in a user's context. Refer to this article for some help in removing it.
http://support.adminarsenal.com/entries/21928883-chrome-uninstall-throws-error
Hi Shane Corellian,
I did try with what you suggested me but still it gives a error :)
Please let me know any other options available ?
Return code: 19
[1127/100641:ERROR:product.cc(129)] Failed to Open or Write MSI valueto client state key. error: 2
For anyone still trying to figure out how to do this. I ended up making a GPO and login script. It is not completely silent as it deletes the icon within the first 30 secs of the user logging in. So they might watch it just disappear from the desktop.
First thing I did was make a CMD file with the following:
regedit.exe /s "\\domain\software\User Software\_UNINSTALL_\Google Chrome\Chrome Remove Registry Entries.reg"
@echo off
IF EXIST "C:\Users\" (
for /D %%x in ("C:\Users\*") do (
rmdir /s /q "%%x\AppData\Local\Google\Chrome"
del /f /s /q "%%x\Desktop\Google Chrome.lnk"
)
)
IF EXIST "C:\Documents and Settings\" (
for /D %%x in ("C:\Documents and Settings\*") do (
rmdir /s /q "%%x\Local Settings\Application Data\Google\Chrome"
del /f /s /q "%%x\Desktop\Google Chrome.lnk"
)
)
I put this and the attached REG file in my DFS and created the GPO. Setup the login script.
Then I used PDQ Deploy to schedule a Reboot just after midnight so the user would have to log back in. This also gave enough time for everything to replicate across my servers.
Now I can use PDQ Inventory to monitor the Chrome installs. When I see one pop up I add that user to the GPO and it gets removed from their computer.
When there are no Chrome installs I disable the GPO.
Thanks to the following websites:
http://serverfault.com/questions/348539/script-to-delete-temp-files-for-all-users-in-xp-vista-and-7
http://support.google.com/chrome/bin/answer.py?hl=en&answer=111899
I had to add this key to the REG file: [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\Google Chrome]
Warren, I have ran your batch file, and reg key. It seems to have removed, but it still shows up in the applications. The reason that I say it seems to have removed it, is because I can right click on Google Chrome and click uninstall now and it says that it cannot find that path. However, how can I get it to remove the entry from the applications?
Also, the above doesn't seem to remove the ones that have it installed for all users which the uninstall path is a little different, it is this:
"C:\Program Files\Google\Chrome\Application\30.0.1599.101\Installer\setup.exe" --uninstall --multi-install --chrome --system-level
However, when you try to right click, uninstall in PDQ Inventory, you get the following error messages:
Return code: 15
[1025/082556:ERROR:setup_main.cc(760)] Google Chrome not found for uninstall.
[1025/082624:ERROR:google_update_util.cc(104)] Command ("C:\Program Files\Google\Update\GoogleUpdate.exe" /uninstall) is taking more than 20000 milliseconds to complete.