Jump to content
DeployCentral

Computer Naming to Asset Tag


Recommended Posts

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.

Link to comment
Share on other sites

Hello,

We would need to take a look at some deployment logs. Please submit a ticket here and refer to this thread. Please boot to SmartDeploy media on the affected device (ideally with USB boot media with no answer file, to avoid starting another deployment and wiping the previous logs), click the Collect logs option, save the resulting zip file to an external location, and send it to us.

Thanks,

Devon

SmartDeploy Support

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...