Creating unique identifiers for new devices
To create unique identifiers for new devices, use a Public variable that is based on the MAC address of the target device as shown below:
Variable (Database) = macAddress | Value = Computer.Network."NIC Address" |
Variable (String) = Prefix | Value = UT (User value like location - Optional) |
Variable (String) = Suffix | Value = XP (User value like OS - Optional) |
Variable (String) = ComputerName | Value = %Prefix%%MACaddr%%Suffix% |
Next, use the ComputerName variable in your sysprep.inf or unattend.txt files to uniquely identify the new device, as shown in the following code sample:
[UserData]
ProductKey=%ProductKey%
FullName="Engineering"
OrgName="LANDesk"
ComputerName=%ComputerName%