Skip to content

Instantly share code, notes, and snippets.

@enterpriseosx
Created January 27, 2015 23:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enterpriseosx/cacc4528f396b9c39119 to your computer and use it in GitHub Desktop.
Save enterpriseosx/cacc4528f396b9c39119 to your computer and use it in GitHub Desktop.
Java Universal Uninstaller
@echo off
REM taskkill all apps that interfere with java
taskkill /F /IM iexplore.exe /IM firefox.exe /IM chrome.exe /IM javaw.exe /IM jqs.exe /IM jusched.exe
REM JRE Runtime Environment 7.0 Update 67
start /wait msiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217051FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 67 (x64)
start /wait msiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F06417067FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 51
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83217045FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 51 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83217045FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 45
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83217045FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 45 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86417045FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 40
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83217040FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 40 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86417040FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 25
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83217025FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 25 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86417025FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 21
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83217021FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 21 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86417021FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 17
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83217017FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 17 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86417017FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 15
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83217015FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 15 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86417015FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 13
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83217013FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 13 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86417013FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 11
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83217011FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 11 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86417011FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 10
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83217010FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 10 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86417010FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 9
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83217009FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 9 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86417009FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 7
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83217007FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 7 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86417007FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 6 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86417006FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 6
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83217006FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 5 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86417005FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 5
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83217005FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 4 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86417004FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 4
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83217004FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 3 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86417003FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 3
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83217003FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 2 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86417002FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 2
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83217002FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 1 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86417001FF} /qn /norestart
REM JRE Runtime Environment 7.0 Update 1
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83217001FF} /qn /norestart
REM JRE Runtime Environment 7.0 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86417000FF} /qn /norestart
REM JRE Runtime Environment 7.0
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83217000FF} /qn /norestart
:: ------------------------------------------------------------------------------
:: Java 6
:: ------------------------------------------------------------------------------
REM JRE Runtime Environment 6.0 Update 71 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86416071FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 71
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216065FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 65 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86416065FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 65
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216065FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 51 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86416051FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 51
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216051FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 45 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86416045FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 45
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216045FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 43 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86416043FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 43
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216043FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 41 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86416041FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 41
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216041FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 39 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86416039FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 39
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216039FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 38 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86416038FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 38
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216038FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 37 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86416037FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 37
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216037FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 35 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86416035FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 35
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216035FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 34 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86416034FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 34
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216034FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 33 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86416033FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 33
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216033FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 32 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86416032FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 32
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216032FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 31 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86416031FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 31
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216031FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 30 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86416030FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 30
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216030FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 29 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86416029FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 29
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216029FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 27 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86416027FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 27
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216027FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 26 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86416026FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 26
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216026FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 25 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86416025FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 25
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216025FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 24 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86416024FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 24
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216024FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 23 (x64)
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86416023FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 23
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216023FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 22
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160220} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216022FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 21
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160210} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216021FF} /qn /norestart
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160210} /qn /norestart
REM JRE Runtime Environment 6.0 Update 20
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160200} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216020FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 19
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160190} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216019FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 18
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160180} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216018FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 17
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160170} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216017FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 16
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160160} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216016FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 15
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160150} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216015FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 14
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160140} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216014FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 13
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160130} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216013FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 12
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160120} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216012FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 11
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160110} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216011FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 10
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160100} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216010FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 9
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160090} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216009FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 8
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160080} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216008FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 7
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160070} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216007FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 6
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160060} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216006FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 5
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160050} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216005FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 4
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160040} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216004FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 3
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160030} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216003FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 2
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160020} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216002FF} /qn /norestart
REM JRE Runtime Environment 6.0 Update 1
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160010} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216001FF} /qn /norestart
REM JRE Runtime Environment 6.0
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160000} /qn /norestart
start /wait msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F83216000FF} /qn /norestart
:: ------------------------------------------------------------------------------
:: Java 5
:: ------------------------------------------------------------------------------
REM JRE Runtime Environment 5.0 Update 23
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150230} /qn /norestart
REM JRE Runtime Environment 5.0 Update 22
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150220} /qn /norestart
REM JRE Runtime Environment 5.0 Update 21
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150210} /qn /norestart
REM JRE Runtime Environment 5.0 Update 20
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150200} /qn /norestart
REM JRE Runtime Environment 5.0 Update 19
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150190} /qn /norestart
REM JRE Runtime Environment 5.0 Update 18
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150180} /qn /norestart
REM JRE Runtime Environment 5.0 Update 17
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150170} /qn /norestart
REM JRE Runtime Environment 5.0 Update 16
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150160} /qn /norestart
REM JRE Runtime Environment 5.0 Update 15
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150150} /qn /norestart
REM JRE Runtime Environment 5.0 Update 14
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150140} /qn /norestart
REM JRE Runtime Environment 5.0 Update 13
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150130} /qn /norestart
REM JRE Runtime Environment 5.0 Update 12
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150120} /qn /norestart
REM JRE Runtime Environment 5.0 Update 11
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150110} /qn /norestart
REM JRE Runtime Environment 5.0 Update 10
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150100} /qn /norestart
REM JRE Runtime Environment 5.0 Update 9
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150090} /qn /norestart
REM JRE Runtime Environment 5.0 Update 8
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150080} /qn /norestart
REM JRE Runtime Environment 5.0 Update 7
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150070} /qn /norestart
REM JRE Runtime Environment 5.0 Update 6
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150060} /qn /norestart
REM JRE Runtime Environment 5.0 Update 5
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150050} /qn /norestart
REM JRE Runtime Environment 5.0 Update 4
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150040} /qn /norestart
REM JRE Runtime Environment 5.0 Update 3
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150030} /qn /norestart
REM JRE Runtime Environment 5.0 Update 2
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150020} /qn /norestart
REM JRE Runtime Environment 5.0 Update 1
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150010} /qn /norestart
REM JRE Runtime Environment 5.0
start /wait msiexec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150000} /qn /norestart
:: ------------------------------------------------------------------------------
:: Java 1.4
:: ------------------------------------------------------------------------------
REM Java 2 Runtime Environment, SE v1.4.2_19
start /wait msiexec.exe /x {7148F0A8-6813-11D6-A77B-00B0D0142190} /qn /norestart
REM Java 2 Runtime Environment, SE v1.4.2_18
start /wait msiexec.exe /x {7148F0A8-6813-11D6-A77B-00B0D0142180} /qn /norestart
REM Java 2 Runtime Environment, SE v1.4.2_17
start /wait msiexec.exe /x {7148F0A8-6813-11D6-A77B-00B0D0142170} /qn /norestart
REM Java 2 Runtime Environment, SE v1.4.2_16
start /wait msiexec.exe /x {7148F0A8-6813-11D6-A77B-00B0D0142160} /qn /norestart
REM Java 2 Runtime Environment, SE v1.4.2_15
start /wait msiexec.exe /x {7148F0A8-6813-11D6-A77B-00B0D0142150} /qn /norestart
REM Java 2 Runtime Environment, SE v1.4.2_14
start /wait msiexec.exe /x {7148F0A8-6813-11D6-A77B-00B0D0142140} /qn /norestart
REM Java 2 Runtime Environment, SE v1.4.2_13
start /wait msiexec.exe /x {7148F0A8-6813-11D6-A77B-00B0D0142130} /qn /norestart
REM Java 2 Runtime Environment, SE v1.4.2_12
start /wait msiexec.exe /x {7148F0A8-6813-11D6-A77B-00B0D0142120} /qn /norestart
REM Java 2 Runtime Environment, SE v1.4.2_11
start /wait msiexec.exe /x {7148F0A8-6813-11D6-A77B-00B0D0142110} /qn /norestart
REM Java 2 Runtime Environment, SE v1.4.2_10
start /wait msiexec.exe /x {7148F0A8-6813-11D6-A77B-00B0D0142100} /qn /norestart
REM Java 2 Runtime Environment, SE v1.4.2_09
start /wait msiexec.exe /x {7148F0A8-6813-11D6-A77B-00B0D0142090} /qn /norestart
REM Java 2 Runtime Environment, SE v1.4.2_08
start /wait msiexec.exe /x {7148F0A8-6813-11D6-A77B-00B0D0142080} /qn /norestart
REM Java 2 Runtime Environment, SE v1.4.2_07
start /wait msiexec.exe /x {7148F0A8-6813-11D6-A77B-00B0D0142070} /qn /norestart
REM Java 2 Runtime Environment, SE v1.4.2_06
start /wait msiexec.exe /x {7148F0A8-6813-11D6-A77B-00B0D0142060} /qn /norestart
REM Java 2 Runtime Environment, SE v1.4.2_05
start /wait msiexec.exe /x {7148F0A8-6813-11D6-A77B-00B0D0142050} /qn /norestart
REM Java 2 Runtime Environment, SE v1.4.2_04
start /wait msiexec.exe /x {7148F0A8-6813-11D6-A77B-00B0D0142040} /qn /norestart
REM Java 2 Runtime Environment, SE v1.4.2_03
start /wait msiexec.exe /x {7148F0A8-6813-11D6-A77B-00B0D0142030} /qn /norestart
REM Java 2 Runtime Environment, SE v1.4.2_02
start /wait msiexec.exe /x {7148F0A8-6813-11D6-A77B-00B0D0142020} /qn /norestart
REM Java 2 Runtime Environment, SE v1.4.2_01
start /wait msiexec.exe /x {7148F0A8-6813-11D6-A77B-00B0D0142010} /qn /norestart
REM Java 2 Runtime Environment, SE v1.4.2
start /wait msiexec.exe /x {7148F0A8-6813-11D6-A77B-00B0D0142000} /qn /norestart
:: ------------------------------------------------------------------------------
:: Java 1.3
:: ------------------------------------------------------------------------------
REM Java 2 Runtime Environment Standard Edition v1.3.1_25
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_25\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_24
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_24\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_23
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_23\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_22
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_22\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_21
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_21\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_20
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_20\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_19
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_19\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_18
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_18\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_17
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_17\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_16
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_16\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_15
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_15\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_14
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_14\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_13
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_13\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_12
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_12\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_11
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_11\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_10
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_10\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_09
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_09\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_08
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_08\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_07
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_07\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_06
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_06\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_05
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_05\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_04
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_04\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_03
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_03\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_02
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_02\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3.1_01
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3.1_01\Uninst.isu" -a
REM Java 2 Runtime Environment Standard Edition v1.3
%systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3\Uninst.isu" -a
REM To delete the Start Menu icons run this script at the end of the install
if exist "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Java" (
rmdir "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Java" /s /q
taskkill /F /IM javaw.exe /IM jqs.exe /IM jusched.exe
REM taskkill all apps that interfere with java, again in case the user opens them again
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment