I think this is the reason why the problem is happening: I created an automated capture process that would do the following:
- Delete Landesk Agent's registry keys
- run Sysprep in audit mode
- Vboot the computer
- Capture the image
- Reboot the computer
- Eliminate Sysprep Audit mode (set some registry keys to put the computer back to normal)
- Activate the admin account
The entire process works great, but then everytime we deploy an image we get the problem described above.
I think that this problem came because once a template provisioning job is done, the provisioning agent will contact the Core Server looking for the step in the job. If there aren't more steps to run then the process is completed. In this case, I'm capturing an image with a template provisioning job that has more steps left, and that's why the new deployed images are having some issues when trying to run template provisioning on them.