/build/static/layout/Breadcrumb_cap_w.png

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

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

Answers (3)

Posted by: jagadeish 11 years ago
Red Belt
1

Comments:
  • Probably looking for this one: http://www.itninja.com/question/ultimate-java-uninstaller - Ultimation 11 years ago
Posted by: fjuwana 11 years ago
Senior White Belt
0

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

Posted by: petelanglois 11 years ago
4th Degree Black 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.

 


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