/build/static/layout/Breadcrumb_cap_w.png

Best Practices Question


How To Un-install Silently Old java version using K1000?

03/09/2013 3237 views

I'm trying to get update for all the java version in my college, but the thing is it has so many versions. How do I update to the newest version and delete all the older version using K1000 without disrupting their flow of work during the day. 

Any suggestion/help would be appreaciated

 

0 Comments   [ + ] Show comments

Comments



Community Chosen Answer


  • Probably looking for this one: http://www.itninja.com/question/ultimate-java-uninstaller

All Answers

0

thank you so much for y'all's help! greatly appreciated! Will Definitely try it and modify it if necessary! Thanks Again!! 

Answered 03/13/2013 by: fjuwana
Senior White Belt

0

You can't update java without disrupting users unfortunately.  I'm using a modified script from John Verbosk that will uninstall all v7 Java versions and install the newest 7u15.

taskkill /F /IM iexplorer.exe
taskkill /F /IM iexplore.exe
taskkill /F /IM firefox.exe
taskkill /F /IM chrome.exe
taskkill /F /IM javaw.exe
taskkill /F /IM jqs.exe
taskkill /F /IM jusched.exe
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86417002FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217007FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217010FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217005FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217004FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217003FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217001FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217006FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217000FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217011FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217013FF} /qn
taskkill /F /IM iexplorer.exe
taskkill /F /IM iexplore.exe
taskkill /F /IM firefox.exe
taskkill /F /IM chrome.exe
taskkill /F /IM javaw.exe
taskkill /F /IM jqs.exe
taskkill /F /IM jusched.exe
msiexec.exe /i jre1.7.0_15.msi /qn

I set this up to run when the user is logged off only at any time.  It will kill all programs remove any version of 7 and then install 7u15 quietly with no gui.

 

You just need to create a batch file and zip it up with the msi and cab file and create the managed install to run the batch file from within the zip.

 

Answered 03/11/2013 by: petelanglois
4th Degree Black Belt

  • thank you brother! this is awesome!
 
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