K2000 post-imaging tasks missed. Is there anything preventing the task from surviving through the reboot?
We're applying sysprepped image of Windows 7.
As post-imaging tasks we have straightforward sequence:
1. Install KBOX1000 Agent
2. Change machine name - vbscript, works fine.
3. Reboot (to apply the new machine name).
4. Join domain (vbscript), works fine.
5. Cleanup
6. Reboot.
Each task works fine if started manually. However, in K2000, being set as post-imaging tasks, some tasks are being skipped, even the last reboot.
I can see all the tasks in the C:\KACE\InstallCmds.bat, and all the necessary files in subfolders in C:\KACE\Application\. Again, each task, if initiated manually, works fine.
Answers (4)
http://www.kace.com/support/resources/kb/article/K2000-postinstall-task-converter
I have been over this many many times and have tried many different versions of the post converter and always run into the same issue. On a reboot, the tasks do not wait.
While watching the post converter, it comes to a "reboot" task. It's named reboot. The taskkill -f command will run and while it's doing the 30 sec ping, the next task will fire off and fail. In my case it is join domain vbs but if I put the reboot elsewhere, the next program installation will fail. If I place the reboot at the end, well Windows tries to load and reboots in the middle of doing so and corrupts. I end up having to redo the whole thing.... what a waste.
Basically, I would really like to know is if anyone else has this problem or if I'm missing something. The 100 calls to support were a waste because half the time I get someone that wouldn't spend 10 mins on the topic and weren't able to find anything. And it still doesn't work.