Security has dumped the challenge of removing all old versions of Java. Untill today things have been going smoothly but when i try to uninstall java 6U24 using the Uninstall Wizard section of the Kace Box Java doesnt uninstall. Im using : MsiExec.exe /x{26A24AE4-039D-4CA4-87B4-2F83216024FF} which does nothing. I run that command from the command prompt and the uninstaller executes and removes the software but when using the same uninstall string in the KBox using the uninstall wizard under the scritping section nothing happens. Anyone have any ideas???

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

0

are the ones being left 64 bit?  you would need MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86416024FF} /qn for those.

I run a batch file via kscript every 2 hours during the weekdays to uninstall any version we have but 7u51.  I use http://www.itninja.com/blog/view/how-to-hide-running-a-batch-file-from-a-kscript-with-version-5-5 to hide the cmd window.

MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216003FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216005FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216007FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216017FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216022FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216023FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216024FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86416024FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216025FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216026FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86416026FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216027FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86416027FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216029FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86416029FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216030FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216031FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86416031FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216032FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86416032FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216033FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216034FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216035FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216037FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86416037FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216038FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86416038FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216039FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216043FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216045FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217004FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217005FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217006FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217007FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86417007FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217009FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86417009FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217010FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86417010FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217011FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86417011FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217013FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217015FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217017FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86417017FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217021FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86417021FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217025FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86417025FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217045FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86417045FF} /qn

Answered 04/17/2014 by: SMal.tmcc
Red Belt

  • the batch justs skips the ones that do not apply and uninstalls when it comes to one that is finds. Only glitch I found was if they had a version 6u and 7u it took a couple of runs to get both since the misexec was in use uninstalling the first one in the batch file when it found a second valid one.
Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share