Running inventory+managed installations completely as part of SDA system deployment
I am having issues getting "runkbot 4 0" followed by a "runkbot 6 0" command to run and fully install all Managed installation software from SMA during SDA deployment. There is a task during SDA that installs the KACE client agent to the computer. After agent is installed, sometimes "runkbot 4 0" is successful and uploads the inventory data to SMA. Other times, the command window flashes onscreen quickly and disappears, not waiting for the "runkbot 4 0" process to fully complete.
The end result is that the computer finishes deployment without any of the managed installation software installed. I would like to have command prompt wait until all managed installation software is installed before SDA deployment is complete.
The image I am deploying is generic in that I do not want to list specific software that always get installed during SDA deployment, but, rather let SMA install software based on labels through "runkbot 4 0" and "runkbot 6 0" commands before SDA deployment reaches the cleanup step.
Is there a best practice to accomplish this?
Rule of thumb:
Never ever run kbots "manually" or as a part of a script.
Best practices are:
install the agent and all scripts which need to be done right now.
Setup a label with new machines
Bind all SMA installs and probably also the update to this label.
Before the MI starts it needs to download all installer files to the client which needs its time. This time blocks the SDA for other tasks.
Yes, you can run the MI/Scripts by running the usual kbots, but this can cause strange side effects as you reported.