Jump to content

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.

<!-- 0 = Assign a new computer name automatically, 1 = Use the following naming method -->
<wmi_query>SELECT SerialNumber FROM Win32_BIOS</wmi_query>
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.

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.


  • Create New...