Running inventory+managed installations completely as part of SDA system deployment
Hello,
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?
Answers (2)
Top Answer
Rule of thumb:
Never ever run kbots "manually" or as a part of a script.
Best practices are:
On SDA:
install the agent and all scripts which need to be done right now.
On SMA:
Setup a label with new machines
Bind all SMA installs and probably also the update to this label.
Why?
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.
Comments:
-
Thank you for pointing this out. I was not aware that running kbots "manually" was against best practices. I rather follow best practices and use the Post install tasks to get the apps in the image because I want predictable behavior. Thank you Nico_K and Channeler - Steve2 3 years ago
Comments:
-
Hi there. I wasn't aware that running kbots scripts manually is against best practices. I do not want to break the best practices, so I will use the KACE SDA built-in managed install wizard and have it in the Post Install tasks. Thank you for pointing this out. - Steve2 3 years ago