So the device you're imaging completes sysprep and boots into Windows 7 but the provisioning agent doesn't kick back in at this point right? Is the device on the network? Even if it is are you sure its running the correct NIC drivers? By default the provisioning agent must be able to connect to the short name of the core server, do you have full netbios name resolution?
I just ran into this last week while creating our Windows 7 Image. My comptuer would just hang at the CTOS part of the Post-OS Installation. The thing that fixed my computer was inserting the Fix Windows.bat and Fix Unattend.bat.
If you do a search for those two programs in the community, it will show you how to install them in your provisioning task.
Again, that is what fixed my issue when I was hanging at CTOS
You are correct, the device images and boots into Windows7 and the provisioning agent doesn't kick back in. The device is on the network and it is running to correct drivers
I can also confirm that full name resolution is in place, infact all of my actions for copying files within provisioning have netbios names and work correctly!!
Sedejong - Had a look at those batch files and exe's, inserted them into my provisioning template and they worked correctly, unfortunatly however still a no go on the CTOS action!
Any other suggestions? - I'm not sure where to go on this one!!
When the CTOS is hanging. Is it in WinPE or in Sysprep.
If WinPE, there is a log file that you can check while in WinPE that might show some valuable info.
Open up a command prompt and browse to X:\ldprovisioning\configuretargetoshandler.log and see if there is any info you can find out about why it is failing.
Also, do you have any items in %WINDIR%\Setup\Scripts\SetupComplete.cmd, I believe that is where LANDesk injects the commands to launch the setup of the provisioning agent and I read on here that if that file was previously edited, it could cause some issues as well.
CTOS hang's after the machine comes out of Windows PE, once the audit / generalize sysprep options have completed and its booted into Windows 7 sucessfully.
The ldprovision.cmd should "run once" however it does not..
The system is no longer in WinPE so the log file does not exist. I have also checked the %WINDIR%\Setup\Scripts\SetupComplete.cmd and the only entry in here is %systemdrive%\ldprovisioning\ldprovisioning.cmd
pain in the butt!!..
Also, the below has been added to the Unattend.xml file automaticly;
<RunSynchronous><RunSynchronousCommand wcm:action="add"><Description>LANDesk Provisioning Install</Description><Order>1</Order><Path>cmd /c %%systemdrive%%\ldprovisioning\ldprovisioning.cmd</Path></RunSynchronousCommand></RunSynchronous></component></settings>
Does this look correct?