/build/static/layout/Breadcrumb_cap_w.png

Uninstall and disable the Yahoo! toolbar using Kbox 1000

I am trying to perform a silent uninstall of Yahoo! toolbar.  The current script I create under "configuration policy" will uninstall the program, but will not disable it. Also, it does not delete the directory "C:\program files\Yahoo!" like I specified.  Anyone else have issues with this?  Does anyone know how to use kbox 1000 to completely remove this from a user's computer?  I'm at a loss here, kinda new to kbox scritping and this one is frustrating me.


0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: jverbosk 11 years ago
Red Belt
0

Does your script kill any open browsers prior to the uninstall?  If not, I'd consider doing that first, along these lines (via batch file):

taskkill /F /IM iexplorer.exe
taskkill /F /IM iexplore.exe
taskkill /F /IM firefox.exe
taskkill /F /IM chrome.exe

:: Just for shorten and avoid errors, creating a env for command
set tl=tasklist /nh /fo csv /m
:: Terminate all ActiveX consumers...
FOR /F "delims=, tokens=1,2,3*" %%a IN ('%tl% flash*') DO taskkill /f /im %%a 2> nul
:: Terminate all Plug-in consumers..
FOR /F "delims=, tokens=1,2,3*" %%a IN ('%tl% npsw*') DO taskkill /f /im %%a 2> nul

The reason the directory isn't getting deleted may be related to a file that's still in use (in memory) when the uninstall runs.  Hopefully killing things as above will allow the directory to be deleted.

The other thing I'd check would be to reboot a target machine and see if things are gone following the reboot (since you said the program does get uninstalled).

John

 


Comments:
  • Thank you so much, I will add this to my existing script and mark as answered if this works. I really appreciate your input. - Strangeronfire 11 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ