What is the best way to troubleshoot exit codes and return codes that are reported in Notification Server and Deployment Server environments?
When a batch file, a script, a program installation process runs, or an application halts abnormally, they often times generate an exit or a return code that defines the exit status. In most cases, when Notification Server and Deployment Server display a return code, it was generated by a piece of software and is simply being reported by the Notification Server or the Deployment Server.
The best ways to troubleshoot exit or return codes are
- Document the Exit or Return Codes and any accompanying message description (screen shots often simplify this).
- Identify the active process or software that was being run on the agent computer or NS/DS server at the time that the code first appears.
- Check the OS Event Viewer logs, the agent logs, and/or the server logs to correlate the known information by timestamps and message descriptions.
- If a third-party application is thought to be the problem, check with the application vendor for the meaning of their exit or return codes (exit or return codes for many software vendors can be found with a Google search on the Internet).