Google Desktop Search UnInstall

(imported topic written by jr6591)

I am trying to uninstall Google Desktop wiothout the DOS command screen pop-up.

dos “C:\Program Files\Google\Google Desktop Search\GoogleDesktopSetup.exe” -silent -uninstall -allusers (WORKS with DOS Screen)

waithidden cmd.exe /C “C:\Program Files\Google\Google Desktop Search\GoogleDesktopSetup.exe” -silent -uninstall -allusers (DOES NOT WORK)

runhidden “C:\Program Files\Google\Google Desktop Search\GoogleDesktopSetup.exe” -silent -uninstall -allusers (DOES NOT WORK)

Any ideas?

(imported comment written by BenKus)

Perhaps the GoogleDesktopSetup.exe itself specifically will not run if it is hidden in some form… This might be due to some weird behavior where the .exe tries to access some properties of the environment that might not be availabe if the application is hidden.

Can you try this test to see what happens:

wait cmd.exe /C “C:\Program Files\Google\Google Desktop Search\GoogleDesktopSetup.exe” -silent -uninstall -allusers

If this theory is correct, this command should work.

Ben

(imported comment written by HGA8191)

Hey JR, I actually created a custom fixlet for this as we were required to remove Google Desktop from all systems, the problem i found is that if you try to uninstall googledesktop with a different account from the one it was installed, users will get prompted with an error message and the app wont be unistalled. So I had tu run a similar line to the one that Ben posted, only using the RunAsCurrentUser command. Users will need to have Admin rights, but then, GoogleDesktop is not installed by our IT Dept, so users who have it on their PCs most have installed it themselfs.

I also added 2 keys to prevent users from re-installing GoogleDesktop.

This worked really good for me, hope it helps…

here is the task…

//Kill process GoogleDesktop

waithidden {if (name of operating system = “WinXP”) then (pathname of client folder of site “BESSupport” & “\taskkill.exe /f /im GoogleDesktop.exe”) else (pathname of client folder of site “BESSupport” & “\kill.exe /f GoogleDesktop.exe”) }

//Download RunAsCurrentUSer

download http://xxxxxxx.com:52311/Uploads/5b2526d053f70b5bcf92e6647abb2b5afc67d0db/big1A0.tmp

continue if { (size of it = 67002 and sha1 of it = “5b2526d053f70b5bcf92e6647abb2b5afc67d0db”) of file “big1A0.tmp” of folder “__Download”}

extract big1A0.tmp

//Remove Google Desktop

waithidden __Download\RunAsCurrentUser.exe cmd.exe /c “{name of drive of system folder}\Program Files\Google\Google Desktop Search\GoogleDesktopSetup.exe” -uninstall -silent -allusers

//Restrict GoogleDesktopSetup & Google Desktop

regset “” “DisallowRun”=dword:00000001

regset “” “GoogleDesktop”=“googledesktop.exe”

regset “” “GoogleDesktopSetup”=“googledesktopsetup.exe”

//Force Policy Update

waithidden {if (name of operating system = “WinXP”) then (“GPUPDATE /FORCE”) else (“SECEDIT /REFRESHPOLICY USER_POLICY /ENFORCE”) }

(imported comment written by sheikh.shadab91)

what would be the relevance to find out whether a process is running or not e.g if I want to find out the applicable computers who are running the process “GoogleDesktop.exe”.

(imported comment written by BenKus)

Try this:

exists running application “googledesktop.exe”

Ben