Search the Community
Showing results for tags 'asset tag'.
Hi Everyone, I have been having issues with getting Sysprep to read in our computer asset tags and setting them as the computer name. As far as I know, all this requires is setting the WMI property to be the highest priority in the answer file like so: <identification skip="0"> <!-- 0 = Assign a new computer name automatically, 1 = Use the following naming method --> <naming_mode /> <naming_methods> <method>WMI</method> <method>CUSTOM</method> <method>EXISTING</method> </naming_methods> <custom_naming_scheme>EE####</custom_naming_scheme> <prefix></prefix> <wmi_query>SELECT SMBIOSAssetTag FROM Win32_SystemEnclosure</wmi_query> </identification> At its current state, Sysprep is randomizing the computer name and giving computers values like "WIN-LVCP52GBPMP" or other related "WIN" names. This leads me to believe that the above portion of XML is somehow completely disregarded. Perhaps something like the script mentioned here may help me but the attachment has been removed. (For reference, we are testing on a Dell Optiplex 790 and 7010. I have made sure to update their BIOS's and platform packs as well). Any insight would be greatly appreciated! Thank you.