Thanks very much for your reply Sherry. In answer to your points:
1) I have created a query and collection on SMS looking for "Google Toolbar
for Internet Explorer" in A/R Programs. Google doesn't do any version
display for the toolbar in A/R Programs so it is a blanket collection for
all versions.
2) We have buy in from management on this as it not permitted software and
will, of course, be notifying our users in advance. They were previously
notified to manually uninstall this software but we know how that usually
turns out

.
3) Indeed, this is the hardest part as there are so many versions each with
their own ways of being uninstalled. Also, their uninstall method seems to
differ if the user installed one version and then upgraded to a newer one
rather than a fresh with the newer version. Ugh!
Never the less, I have thrown the below batch file together and done some
rudimentary and successful testing manually (hopefully others will find it
useful?). I plan to create an SMS package for this tomorrow and give it a
whirl on some test clients.
Silly question, if I set the advertisement up to use this package pointed at
the above mentioned collection, will users that re-install the Toolbar and
subsequently show up in the collection again get the advertisement that will
uninstall the toolbar again (SMS 2003)?
*note: I will have to update the batch file everytime a new version of the
Toolbar comes out =(.
Also, does it seem as though I'm going about this the right way or perhaps
there's a much simpler method I have overlooked?
************************************************** **************
@ECHO OFF
:GOOGLE
IF EXIST "C:\Program Files\Google\" (GOTO GBAR-6.2.1910.1554_CHECK) ELSE
GOTO END
:GBAR-6.2.1910.1554_CHECK
IF EXIST "C:\Program Files\Google\Google
Toolbar\Component\GoogleToolbarManager_E582EA556D8 DE101.exe" (GOTO
GBAR-6.2.1910.1554_REMOVE) ELSE GOTO GBAR-6.2.1815.1002_CHECK
:GBAR-6.2.1910.1554_REMOVE
ECHO UNINSTALLING GOOGLE TOOLBAR 6.2.1910.1554
"C:\Program Files\Google\Google
Toolbar\Component\GoogleToolbarManager_E582EA556D8 DE101.exe" /uninstall
ECHO UNINSTALLED GOOGLE TOOLBAR 6.2.1910.1554
GOTO END
REM #####
:GBAR-6.2.1815.1002_CHECK
IF EXIST "C:\Program Files\Google\Google
Toolbar\Component\GoogleToolbarManager_874698634E0 FC940.exe" (GOTO
GBAR-6.2.1815.1002_REMOVE) ELSE GOTO GBAR-6.1.1715.1442_CHECK
:GBAR-6.2.1815.1002_REMOVE
ECHO UNINSTALLING GOOGLE TOOLBAR 6.2.1815.1002
"C:\Program Files\Google\Google
Toolbar\Component\GoogleToolbarManager_874698634E0 FC940.exe" /uninstall
ECHO UNINSTALLED GOOGLE TOOLBAR 6.2.1815.1002
GOTO END
REM #####
:GBAR-6.1.1715.1442_CHECK
IF EXIST "C:\Program Files\Google\Google
Toolbar\Component\GoogleToolbarManager_9DE96A29E72 1D90A.exe" (GOTO
GBAR-6.1.1715.1442_REMOVE) ELSE GOTO GBAR-6.1.1518.856_CHECK
:GBAR-6.1.1715.1442_REMOVE
ECHO UNINSTALLING GOOGLE TOOLBAR 6.1.1715.1442
"C:\Program Files\Google\Google
Toolbar\Component\GoogleToolbarManager_9DE96A29E72 1D90A.exe" /uninstall
ECHO UNINSTALLED GOOGLE TOOLBAR 6.1.1715.1442
GOTO END
REM #####
:GBAR-6.1.1518.856_CHECK
IF EXIST "C:\Program Files\Google\Google
Toolbar\Component\GoogleToolbarManager_BDA1448D3D2 55554.exe" (GOTO
GBAR-6.1.1518.856_REMOVE) ELSE GOTO GBAR-6.0.1411.1512_CHECK
:GBAR-6.1.1518.856_REMOVE
ECHO UNINSTALLING GOOGLE TOOLBAR 6.1.1518.856
"C:\Program Files\Google\Google
Toolbar\Component\GoogleToolbarManager_BDA1448D3D2 55554.exe" /uninstall
ECHO UNINSTALLED GOOGLE TOOLBAR 6.1.1518.856
GOTO END
REM #####
:GBAR-6.0.1411.1512_CHECK
IF EXIST "C:\Program Files\Google\Google
Toolbar\Component\GoogleToolbarManager_A4295D9F452 DF225.exe" (GOTO
GBAR-6.0.1411.1512_REMOVE) ELSE GOTO GBAR-5.0.2124.6042_CHECK
:GBAR-6.0.1411.1512_REMOVE
ECHO UNINSTALLING GOOGLE TOOLBAR 6.0.1411.1512
"C:\Program Files\Google\Google
Toolbar\Component\GoogleToolbarManager_A4295D9F452 DF225.exe" /uninstall
ECHO UNINSTALLED GOOGLE TOOLBAR 6.0.1411.1512
GOTO END
REM #####
:GBAR-5.0.2124.6042_CHECK
IF EXIST "C:\Program Files\Google\Google
Toolbar\Component\GoogleToolbarManager_0531C63A913 CC9D1.exe" (GOTO
GBAR-5.0.2124.6042_REMOVE) ELSE GOTO GBAR-5.0.2124.4372_CHECK
:GBAR-5.0.2124.6042_REMOVE
ECHO UNINSTALLING GOOGLE TOOLBAR 5.0.2124.6042
"C:\Program Files\Google\Google
Toolbar\Component\GoogleToolbarManager_0531C63A913 CC9D1.exe" /uninstall
ECHO UNINSTALLED GOOGLE TOOLBAR 5.0.2124.6042
GOTO END
REM #####
:GBAR-5.0.2124.4372_CHECK
IF EXIST "C:\Program Files\Google\Google
Toolbar\Component\GoogleToolbarManager_11CB06797F2 F038A.exe" (GOTO
GBAR-5.0.2124.4372_REMOVE) ELSE GOTO GBAR-5.0.2124.2070_CHECK
:GBAR-5.0.2124.4372_REMOVE
ECHO UNINSTALLING GOOGLE TOOLBAR 5.0.2124.4372
"C:\Program Files\Google\Google
Toolbar\Component\GoogleToolbarManager_11CB06797F2 F038A.exe" /uninstall
ECHO UNINSTALLED GOOGLE TOOLBAR 5.0.2124.4372
GOTO END
REM #####
:GBAR-5.0.2124.2070_CHECK
IF EXIST "C:\Program Files\Google\Google
Toolbar\Component\GoogleToolbarManager_0C68A50B787 4478D.exe" (GOTO
GBAR-5.0.2124.2070_REMOVE) ELSE GOTO GBAR-5.0.2000.5344_CHECK
:GBAR-5.0.2124.2070_REMOVE
ECHO UNINSTALLING GOOGLE TOOLBAR 5.0.2124.2070
"C:\Program Files\Google\Google
Toolbar\Component\GoogleToolbarManager_0C68A50B787 4478D.exe" /uninstall
ECHO UNINSTALLED GOOGLE TOOLBAR 5.0.2124.2070
GOTO END
REM #####
:GBAR-5.0.2000.5344_CHECK
IF EXIST "C:\Program Files\Google\Google
Toolbar\Component\GoogleToolbarManager_FE4264652A9 65D92.exe" (GOTO
GBAR-5.0.2000.5344_REMOVE) ELSE GOTO GBAR-4.0.0.002_CHECK
:GBAR-5.0.2000.5344_REMOVE
ECHO UNINSTALLING GOOGLE TOOLBAR 5.0.2000.5344
"C:\Program Files\Google\Google
Toolbar\Component\GoogleToolbarManager_FE4264652A9 65D92.exe" /uninstall
ECHO UNINSTALLED GOOGLE TOOLBAR 5.0.2000.5344
GOTO END
REM #####
:GBAR-4.0.1601.4978_CHECK
IF EXIST "C:\Program
Files\Google\Installers\GoogleToolbarInstaller4.0. 0.002.msi" (GOTO
GBAR-4.0.1601.4978_REMOVE) ELSE GOTO GBAR-4_CHECK
:GBAR-4.0.1601.4978_REMOVE
ECHO UNINSTALLING GOOGLE TOOLBAR 4.0.1601.4978
MsiExec.exe /X{DBEA1034-5882-4A88-8033-81C4EF0CFA29} /qb
ECHO UNINSTALLED GOOGLE TOOLBAR 4.0.1601.4978
GOTO END
REM #####
:GBAR-4_CHECK
IF EXIST "C:\Program Files\Google\GoogleToolbar3.dll" (GOTO GBAR-4_REMOVE)
ELSE GOTO GBAR-3_CHECK
:GBAR-4_REMOVE
ECHO UNINSTALLING GOOGLE TOOLBA
C:\WINDOWS\system32\regsvr32.exe /s /u "C:\Program
Files\Google\GoogleToolbar3.dll"
ECHO UNINSTALLED GOOGLE TOOLBAR
GOTO END
REM #####
:GBAR-3_CHECK
IF EXIST "C:\Program Files\Google\GoogleToolbar2.dll" (GOTO GBAR-3_REMOVE)
ELSE GOTO GBAR-2_CHECK
:GBAR-3_REMOVE
ECHO UNINSTALLING GOOGLE TOOLBAR
C:\WINDOWS\system32\regsvr32.exe /s /u "C:\Program
Files\Google\GoogleToolbar2.dll"
ECHO UNINSTALLED GOOGLE TOOLBAR
GOTO END
REM #####
:GBAR-2_CHECK
IF EXIST "C:\Program Files\Google\GoogleToolbar1.dll" (GOTO GBAR-2_REMOVE)
ELSE GOTO END
:GBAR-2_REMOVE
ECHO UNINSTALLING GOOGLE TOOLBAR
C:\WINDOWS\system32\regsvr32.exe /s /u "C:\Program
Files\Google\GoogleToolbar1.dll"
ECHO UNINSTALLED GOOGLE TOOLBAR
GOTO END
:END
************************************************** **************
"Sherry Kissinger [MVP]" <SherryKissingerMVP@discussions.microsoft.com>
wrote in message news:17B83968-DF27-4AD7-BEC9-A53CD1D4C117@microsoft.com...
> Sure, I've done similar in the past. The main tasks you have to do are
> (in
> order of difficultly)
> 1) determine how you can tell when <undesired app> is installed.
> 2) confirm that you or your team automatically removing <undesired app>
> will
> be supported by upper mgmt. The last thing you need is believing that an
> application is 'bad for business' and find out that your top salesperson
> relies on it for something.
> 3) Hardest: figuring out how to uninstall those undesired apps. What may
> work with 2 versions of <wierd toolbar> may no longer work with newer
> releases. So you do often have to script solutions. Some apps don't
> install
> as an MSI, or you have to have IE closed, or they were installed as
> per-user,
> or... that's the fun part.
>
> "Barkley Bees" wrote:
>
>> We have many users who have installed various versions of the following:
>>
>> - Yahoo! Toolbar
>> - Google Toolbar
>> - Google Desktop
>> - Ask Toolbar
>> - Windows Live Toolbar
>>
>> We want to clean up these computers and forcibly uninstall these apps.
>> what
>> is the best way to go about doing this?
>>
>> I have considered using psexec and an msiexec command like below to kick
>> it
>> off but I don't know/think that it would be the best way:
>>
>> MsiExec.exe /X{2318C2B1-4965-11d4-9B18-009027A5CD4F} /qb /norestart
>>
>>
>> Do any of you use SMS and create collections for users with specific
>> applications installed and uninstall it via batch or scripts?
>> Appreciate any advice on how to best do this (using SMS or otherwise).
>> Thanks very much.
>>
>>
>>