Usually the last line of your batch file should be EXIT /B 0 . That will send a success message to the core and close the batch file. Rhyous wrote an excellent white paper with other options: http://community.landesk.com/support/docs/DOC-2320
To make it more clear: I have 5 lines of code in the batch file, after line 3 is executed, that’s when the “Terminate batch job (Y/N)?” issue comes up. So it never gets to the end of the batch file. This has happen to different packages I’ve created over time. When a PC is rebooted and software distribution starts, almost 99% of the time it will go all the way through without issues. I have to assume the package hiccups or something is running and that’s why it “terminates”. I was hoping there was a way of telling the batch file to end if this message comes up. Or end if a long time has elapse. We make our packages visible and we get endusers who will let the package run for days, because they are afraid to reboot while the LANDesk icon is running in the Taskbar.