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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...