I am running a script to uninstall java and reinstall a specific version of java. The uninstall runs fine, it seems to fail on the install. I removed the "running as" line, but it is our administrator account. I have confirmed username and PW are correct.

Running as: 
Launched Process: kace7983.bat
Running as:
Creating process returned non-zero: C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\106\jre-8_31_64.exe /s /v /norestart AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0: (0) The operation completed successfully.
Error Code: 0
Status Code: -80
Launching program: 'C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\106\kace7983.bat' '' wait='true'

Launching program: 'C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\106\jre-8_31_64.exe' '/s /v /norestart AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0' wait='true'

0 Comments   [ + ] Show Comments


Please log in to comment


possible status codes and their description are posted here. https://support.software.dell.com/de-de/kb/111687?action=artikel&id=906
Answered 06/22/2015 by: aragorn.2003
Red Belt

Please log in to comment

Unless you're deploying a 'deployment.properties' file using the KBox, it seems you may be unaware that the command line you specify does nothing to eliminate the brain-dead "out of date" message that JRE will pop up when *it* decides you need to update.

There's plenty of information here at IT Ninja and elsewhere on the work-around.

if you're not bothered and will persist with the EXE, I suspect the error is because you cannot have a space between the 'V' of the /V argument and the content that you want to pass to MSIExec (which is ultimately all that the EXE does), as in:

C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\106\jre-8_31_64.exe /s /v/norestart AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0

Answered 06/22/2015 by: VBScab
Red Belt

  • The strange thing is, is that this script ran fine on Friday.

    Launching program: 'C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\106\jre-7_51_64.exe' '/s /v /norestart AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0' wait='true'

    That was successful.
Please log in to comment

A couple of things I noticed - First of all, as VBScab mentioned, you typically won't have a space after the /v. You would also enclose all options that go along with the /v in quotes. For example:

jre-7_51_64.exe /s /v"/norestart AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0"

Next, I noticed that the installer you are using is the 64-bit installer. Where I work, we have to run a mixed environment of 32-bit and 64-bit Windows, due to application compatibility. If that is also the case for you, you may want to make sure the PC it errored out on is actually running a 64-bit version of Windows.

If all of that is correct, and it still won't work, try adding a logging parameter to your execution string to see if you can get an idea where it is failing. Example:

jre-7_51_64.exe /s /v"/norestart AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0 /l* %TEMP%\Java_Install.log"

After the log is created, search through it for any errors.

Answered 06/22/2015 by: BHC-Austin
Fourth Degree Black Belt

  • jre-7_51_64.exe is this offline or online installer?
Please log in to comment
Answer this question or Comment on this question for clarity