ITNinja Question

Uninstall Java 6

05/03/2012 5110 views

I have a Windows 7 workstation and I am trying to uninstall Java 6 via the CMD line.   In the registry there is an MSI /X uninstall command for this product.  I have tried running this:


MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83216026FF} /norestart /qb-!

MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83216026FF} /norestart /qb-

MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83216026FF} /norestart /qb!

MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83216026FF} /norestart /q


It does NOT uninstall.  java is still there.   I've made sure IE is closed and in fact no apps are running.   Why would this not work? 

0 Comments   [ + ] Show comments


Community Chosen Answer


Does it give a message that the application is not installed or anything?  You may have several version of java installed.

Answered 05/03/2012 by: GAKIS
Fourth Degree Green Belt

  • also try without the /norestart
  • or with REBOOT=R instead of /norestart

All Answers


Add logging to the uninstall, maybe you will get your answer there.

You could also try running the uninstall without making it silent, maybe you will get some information about what is wrong.

Answered 05/04/2012 by: henrik80
Second Degree Blue Belt


I agree with henrik. Just dont use the silent switch and see what issue you are hitting.

Answered 05/04/2012 by: adilrathore
4th Degree Black Belt

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