| Home | Register | Members | Search | Windows Vista Tips | File Database | Links |
![]() |
| Thread Tools | Display Modes |
|
|
|
| |
|
Sherry Kissinger [MVP]
Guest
Posts: n/a
|
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. > > > |
|
|
|
|
|||
|
|||
|
Barkley Bees
Guest
Posts: n/a
|
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 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]" <> wrote in message news:17B83968-DF27-4AD7-BEC9-... > 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. >> >> >> |
|
|
|
|
|||
|
|||
|
Sherry Kissinger [MVP]
Guest
Posts: n/a
|
If people re-install the app, they would reappear in the collection. But
unless you've set the Adverisement to re-run (i.e., weekly or something), once they've uninstalled once, even if it was months ago, without the re-curring it'll think "I did this already, I'm done". But if you set the ad to rerun every week, if a box reappears in the collection 3 wks after it was uninstalled, it will again re-run the advrtisement. Simpler way -- no, not really. I'm not a batch file person, so I would have vbscript'ed the uninstalls, but it's the same work--figuring out how to delete/uninstall these wierd apps, and coding it out. "Barkley Bees" wrote: > 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 > 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]" <> > wrote in message news:17B83968-DF27-4AD7-BEC9-... > > 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. > >> > >> > >> > > > |
|
|
|
|
|||
|
|||
|
google script and the like, Head Aches
Guest
Posts: n/a
|
In my op: in any MS app when the unauthorized file shows up on the system it
gets timestamped. I've found it a valuable tool to use the search[little doggie*] to find everything that got on my system at that time[if I was able to do the search BEFORE a REBOOT/restart<new session, all the better] then I can zap them all and discard from the Recycling bin[to ID the "bad files" trust your intuition;for instance you probably know dang well that< ei89jhfooU.mmj >is probably NOT a legit file but if you R click and check the properties, you'll probably also discover that it is NOT from microsoft or any other program YOU installed on your PC. There are some other 'tricks' here but I'll keep em to myself. Sufficient to say that using the uninstall option is always best[can be found on the programs list off the start button or Add Remove App/Programs in control panel] Most new programs do a good job of striking the registry keys but if you know how to do that it should always be checked[especially before starting another session] for drivers and other weird downloads [security files and hacks] go to the website of origin and get the extractor/cleanup download, this may be an option. To make a long story shorter and to get to the original question ON THESE APPs:"Simpler way -- no, not really. I'm not a batch file person, so I would have > vbscript'ed the uninstalls, but it's the same work--figuring out how to > delete/uninstall these wierd apps, and coding it out." ; "- Yahoo! Toolbar > > >> - Google Toolbar > > >> - Google Desktop > > >> - Ask Toolbar > > >> - Windows Live Toolbar" these come with an infestation of those little script files, I suspect they hand off something prior to the reboot that makes them come active the next startup. They may even do backflips in the registry. Those files are the ones with the icon that has a little scroll[usually yellow] found them*, once I erased them, my system got way faster, WAY WAY faster -I have an oldlaptop, it cannot be slow-I hope this helps-pleasse fforgive the spelling, edeichinger techsupport arl Tx 9 yrs eat well, sleep well, be active once a day, be still once a day, Sing! "Sherry Kissinger [MVP]" wrote: > If people re-install the app, they would reappear in the collection. But > unless you've set the Adverisement to re-run (i.e., weekly or something), > once they've uninstalled once, even if it was months ago, without the > re-curring it'll think "I did this already, I'm done". But if you set the ad > to rerun every week, if a box reappears in the collection 3 wks after it was > uninstalled, it will again re-run the advrtisement. > > > > "Barkley Bees" wrote: > > > 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 > > 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]" <> > > wrote in message news:17B83968-DF27-4AD7-BEC9-... > > > 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: > > >> > > >> > > >> > > >> 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. > > >> > > >> > > >> > > > > > > |
|
|
|
|
|||
|
|||
|
|
|
| |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Forum Software Powered by vBulletin®, Copyright Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc. |



Linear Mode
