Ok, I have gotten a little further. I removed the reboot after the CTOS as it seems to include a reboot. I got it all the way thru the template, it joined the domain but did not insert the correct machine name. It retained the default name from the Domain. I have since changed the %ldDeviceID% to "ldHostname" as this is what I use in all of my OSD's. I am testing it now. I'll update this when I have an answer.
Ok, so that did not get the computer name changed either. So now I am at a loss. It seems to me that the only thing I have left is to get the Name changed correctly. Also I am noticing the reboots stop and require a logon. So I need to get them to flip over and auto logon a few more times. I believe this may be done simply by editing the sysprep.inf for the auto logon count.
First of all you need to change your sysprep according to your variables
;Part of sysprep.inf[UserData]ProductID=%ProductID%FullName="%FullName%"OrgName="%OrgName%"ComputerName=%DisplayName%In this case DisplayName is a public variable linked to "Computer"."Display Name" inventory metadata.LANDesk create a sysprep.inf file and it replace variables with inventory values if (and only if) sysprep.inf is injected using "Inject script" action (it shouldn't be in the image). The remaining is MS staff.
>Also I am noticing the reboots stop and require a logon
provisioning runs as a service (so logon is not needed) but it wait 10 minutes for a user logon before start.