maxXPsoft Posted May 21, 2004 Share Posted May 21, 2004 Since MS no longer support's their Java commonly referred to as VM then it just make's sense to uninstall it and install the Sun Java.So this will uninstall and take care of several thing's left laying around.MS_Java_remove.cmdstart /wait RunDll32 advpack.dll,LaunchINFSection java.inf,UnInstall /QREG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx /fSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Uninstalling MS Java"REG ADD %KEY%\010 /VE /D "MS Java VM Remove"REG ADD %KEY%\010 /V 1 /D "cmd /c REG DELETE \"HKLM\SOFTWARE\Microsoft\Java VM\" /f"REG ADD %KEY%\010 /V 2 /D "cmd /c REG DELETE \"HKLM\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\JAVA_VM\" /f"REG ADD %KEY%\010 /V 3 /D "cmd /c rmdir %systemroot%\java /s /q"REG ADD %KEY%\010 /V 4 /D "cmd /c del %systemroot%\inf\java.pnf /q"REG ADD %KEY%\010 /V 5 /D "cmd /c del %systemroot%\inf\java.inf /q"REG ADD %KEY%\010 /V 6 /D "cmd /c del %systemroot%\system32\jview.exe /q"REG ADD %KEY%\010 /V 7 /D "cmd /c del %systemroot%\system32\wjview.exe /q"shutdown -r -t 5 -c "Windows XP will now restart to finish uninstalling..."EXITThe one line wrapped should be this;\"HKLM\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\JAVA_VM\" /f"I don't use the /f force overwrite cause I just delete the RunonceEX key first, add the entries and reboot. I ran this quite a few times after re-installing the msjavx86.exe with no problem's. Link to comment Share on other sites More sharing options...
Exodia Posted May 25, 2004 Share Posted May 25, 2004 Dont install it in the first place, intergrate your cd with SP1a instead of SP1.Dont tell me you didnt know this, what have you been doing on this forum for the past 7 months man?? Link to comment Share on other sites More sharing options...
maxXPsoft Posted May 25, 2004 Author Share Posted May 25, 2004 That is for any that may want to do that to make sure it's shed of it. In other word's for those with pre sp1a CD's. Simply uninstalling don't get it all. dam just realized it has been a long time since I did format, with 120 gigs i install and test on separate partition's and leave what work's alone. I'm waiting on SP2 before I do the format of primary. Why mess with 1a since that was main thing it done to appease the lawsuit. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now