It is only going to use the one you specify as a template for the new on it is going to build. Kind of confusing but that's what using something as a template is. What I used to do was create my xml with Windows System Image Manager and then use that xml. I never used the one that LANDesk created for me.
From Help file
Use existing SYSPREP.INF file as a template: Uses an existing Sysprep.inf file as a template for a new file and indicates where the existing file is stored. The new Sysprep.inf file, containing the settings you specify in this wizard, overwrites the existing default Sysprep file. If you want OSD to base its Sysprep.inf file on one you've already created, you can browse for that file. If you don't select an existing Sysprep.inf, OSD creates a new one.
Thanks for your reply.
How do you manage your %computername% variable? LanDesk is not changing this variable in the my unattended file with the Device ID.
Are you telling OSD script to rename the machine for you?
No. I'm not.
If you deploy an image to a computer that's already in your LD Database, LanDesk will automatically replace the %COMPUTERNAME% variable in the <ComputerName> field of the unattended file with the Device ID .
In my case, LanDesk is not replacing the computer name in the customized unattended file. When the image is deployed, it always fails in the Sysprep specialize pass because it is literally reading %COMPUTERNAME% as the name of the computer.
For some reason, LanDesk is not modifying that variable.
LANDesk will not automatically change the name unless you have the setting checked in the OSD script. By default it will stick with the original name on the image unless you have it set to prompt for the computer name. In the OSD script under "Naming convention" do you have it set to use the existing computer name?
Are you on 9.0 SP2 with the latest MCPs?
Yes, i am.
1 of 1 people found this helpful
you can manipulate those settings without using the GUI by advance editing your OSD script.
The part that does "When Necessary, use the following template..."
is stored in [JOBPARAM]
The section you want to replace the computer name entry in your sysprep with the value from the LANDesk database add a line to your OSD script like this:
REMEXECXX=ldrun tokreplw %PATHTOYOURXMLFILE%\Unattend.xml COMPUTERNAME=%Computer - Device Name%
REMEXEC22=ldrun tokreplw C:\windows\panther\Unattend.xml COMPUTERNAME=%Computer - Device Name%
Just make sure that in your XML file you have <ComputerName>%COMPUTERNAME%</ComputerName>
Hope this helps you out
Thank you EMiranda,
I'm out of the office now, but i'll try it out next Monday.