(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”) }