/build/static/layout/Breadcrumb_cap_w.png

Silent Java Uninstall hangs

I'm trying to remove all versions of Java using a VBScript I've written.
I'm seeing an issue sometimes where
 msiexec /X {GUID} /silent /norestart 
is just sitting there and not progressing.  I've seen it with v1.8 Update 74 for example.

The cause is that MsiExec.exe is launching Javaws.exe which is launching JP2Launcher.exe.
If I kill the latter process, the uninstall continues.

At the moment I'm using an asynchronous WMI notification query to kill this process if it is started.
Has anyone else seen this phenomenon and know the underlying cause?  Thanks!

4 Comments   [ + ] Show comments
  • try changing /silent to /qb and watch the uninstall. If it works then try using /qn (Silent) - Desktop Jockey 7 years ago
  • I've also seen it do it just using Programs & Features to uninstall it normally! - cantoris 7 years ago
  • I am doing my silent uninstalls using powershell and do not have the same problem.

    Make sure to kill any java related process before you start the uninstall.
    iexplore, MicrosoftEdge, Firefox, jusched, java, javaws, jp2launcher, jqs, etc.. - Desktop Jockey 7 years ago
  • None of those are running at the time. Have a look at this example screenshot of the issue:
    https://gyazo.com/fc388197cc22724d6d5be4a3fef32ccb - cantoris 7 years ago

Answers (0)

Be the first to answer this question

 
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