Jump to content
DeployCentral

Assigning a serial number as a computer name


Recommended Posts

Before upgrading to Smart Deploy Enterprise 2.0 our unattended deployment would assign the computer's serial number as the computer name. This was achieved by including the following in the answer file.

<identification>
<!-- 0 = Assign a new computer name automatically, 1 = Use the following naming method -->
<naming_mode>1</naming_mode>
<naming_methods><method>WMI</method><method>EXISTING</method><method>CUSTOM</method></naming_methods>
<custom_naming_scheme></custom_naming_scheme>
<prefix></prefix>
<wmi_query>SELECT SerialNumber FROM Win32_BIOS</wmi_query>
</identification>
Since upgrading to 2.0, and building new boot media, this is no longer working.
Link to comment
Share on other sites

This should still work just the same. Might want to verify that Win32_BIOS SerialNumber contains a valid computer name on the machine in question. I.e. "wmic bios get serialnumber"

If it doesn't meet the criteria for a valid Windows computer name, then it wouldn't get used.

If this is happening on machines where this is populated with a valid value, then might want to create a new answer file just to be sure.

Also ensure this answer file is getting used... I.e. click on Advanced, Identification tab, and are these selections specified?

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...