본문 바로가기

카테고리 없음

Sysprep Computer Name Serial Number

  1. Computer Name Vista
  2. Sysprep Computer Name Serial Number List
  3. Sysprep Computer Name Serial Number Search

We're a Dell shop and we use the service tag as the computer name for each computer we deploy.Currently, when I deploy an image, we are prompted to manually enter in the computer name (service tag) during mini-setup.I have a script that will locate the service tag in the computers BIOS and output it to a text file. I would like to use this script to tell sysprep the name of each computer.Problems -1. How to automatically run this script after the image is loaded, but before sysprep needs the computer name.2. How to script the answer file to look at the text document for the computer name.I hope this isn't too confusingIf needed, I can furnish a copy of the script and answer file.Edit - After much research, I think I found a different solution. From what I've read, it appears that mysysprep.exe can pull down the serial number from the SMBIOS and use it as a computer name.» quote:Computer Name FormatWith MySysrep, the setting ComputerName under the section UserData in Sysprep.inf can be formated with the computer's manufacturer, model, or serial number from SMBIOS. To know what they are configured in SMBIOS, you can run the following command line.MySysprep /smbios.

Computer Name Vista

Hi,I have a sysprep image that prompts for a computerName, changes the machine name and joins it to the domain, all working well.However, I would like to grab the machine serial number to set as the computerName. I have found many possibilities from WMI and some VBS scripting which work when I run them on a fully installed machine.

Sysprep Computer Name Serial Number List

Sysprep Computer Name Serial Number

However, If I try to use it in a vbs script that runs before joining the domain (specialize stage), the machine reboots during the setup and never completes its sysprep, essentially corrupting the machine.I am starting to believe that wmi is not totally available during the specialize stage. Just curious, any other methods that people have been successful with?