Error when launching simple Windows bundle that runs explorer.exe

  • 3253435
  • 30-Oct-2007
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management

Situation

ERROR:"Failed to launch c:\windows\explorer.exe. Exit code: 1"

Launching simple Windows bundle with the executable set to run explorer.exe

Resolution

This is fixed in version 10.0.3 - see KB 3486285 "Updates to ZENworks 10 Configuration Management" which can be found at https://www.novell.com/support x- with version 10.0.3 or above, it is possible to tell ZCM which return codes are "expected".
When explorer.exe is launched successfully, it returns "1" (see "Additional Information", below).
 
Workaround
check the box "continue on failure" in the launch action

Additional Information

When launched successfully, some applications will generate a "Non-Zero" return code.
Normally this indicates an error or failure, which is why ZCM was reporting a failure.
 
Under "More Options", the "Launch Windows Executable" and "Run Script" there is now a field called "Success return codes:"
 
Simply enter in the successful return codes here and an error will no longer be indicated when the executable returns one of those codes.
 

Feedback service temporarily unavailable. For content questions or problems, please contact Support.