Running a task after a system image finishes deployment?
In the past with our old deployment system we ran script to create a message box just to notify that a client machine has completed running the image deployment. I'm hoping to do something similar with Kace as we will image hundreds of machines a day over the summer and it's very helpful to our techs to have a visual indicator on each machine that the image has finished deploying. The problem I'm running into is there is one last reboot during the cleanup step after an image is deployed so if I run this script as my last post install task, this last reboot during cleanup removes the notification.
Does anyone know how I could accomplish running a task after the cleanup step or is there any other way to create some sort of indicator on each client machine that it's finished imaging?
Answers (1)
There are a few things you could do:
1. you simply could shut the system down after the imaging and you see it definitely due to that
2. let you notify by the SDA that the deployment has been done or see it in one view.
3. you can create a post install task which sets a RUNONCE and run a popup with that.
the keys would be:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce or
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
Comments:
-
Thank you for the reply! Could you elaborate on your second point for me? Will the SDA itself notify when a deployment is done? And what do you mean by see it in one view? - rombergertv 3 years ago
-
Cleanup is the last task of every Regular Deployment, after that the SDA will detach from the device completely, and it won't report any changes or custom scripts added via Windows Registry.
You could tell the SDA to shutdown the Device after the last task.
Device OFF = Deployment Done. - Channeler 3 years ago