How can i uninstall Google Chrome Silent in Domain

Comments

12 comments

  • Andreas Quadt

    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.

     

    0
    Comment actions Permalink
  • SelfMan

    Also some info from Google support:

     Manually uninstall Google Chrome in Windows
    http://support.google.com/chrome/bin/answer.py?hl=en&answer=111899

     

    0
    Comment actions Permalink
  • Shadhir

    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

    0
    Comment actions Permalink
  • Andreas Quadt

    Ahamed,

    Try instead of "Google Chrome" only "Google". see the attached Screen

    Regards

    Andreas

    0
    Comment actions Permalink
  • Shadhir

    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 

    0
    Comment actions Permalink
  • Shadhir

    SelfMan

    No Luck :)

    0
    Comment actions Permalink
  • Andreas Quadt

    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.

     

    0
    Comment actions Permalink
  • Shane Corellian

    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

    0
    Comment actions Permalink
  • Shadhir

    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

    0
    Comment actions Permalink
  • Warren Sangster

    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]

    0
    Comment actions Permalink
  • Mat Holland

    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?

    0
    Comment actions Permalink
  • Mat Holland

    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.

    0
    Comment actions Permalink

Please sign in to leave a comment.