Solved

Unattend XML, computer name = serial #?

Posted on 2014-01-07
5
2,628 Views
Last Modified: 2014-01-09
We are setting up WDS. Is there a way to set it up so that a computer name is automatically set to its serial #? I'm assuming if this is possible it is done using the unattend xml?
0
Comment
Question by:Metaltree
  • 2
  • 2
5 Comments
 
LVL 70

Accepted Solution

by:
KCTS earned 250 total points
Comment Utility
You can give the computer a random name but I know of no way of reading the serial no from the BIOS - its not supported
0
 
LVL 5

Author Comment

by:Metaltree
Comment Utility
Is there a way for the unattend to call a powershell script? if so, I have a script that does it
0
 
LVL 51

Expert Comment

by:Joe Winograd, EE MVE
Comment Utility
I was on a thread recently where another expert, aadih, recommended these command lines for obtaining the serial number:

c:\windows\system32\wbem\wmic.exe bios get serialnumber

c:\windows\system32\wbem\wmic.exe csproduct get identifyingnumber

I tested both and they worked fine on my computer. Another expert, mnkhawaja, recommended this PowerShell command:

gwmi win32_bios

I tested it and it worked, too, although it returned four other fields in addition to the serial number. Regards, Joe
0
 
LVL 5

Author Comment

by:Metaltree
Comment Utility
yes I have a way to get the serial # but the question is how can I apply it the computer name via the image install process - KCTS says it is not possible
0
 
LVL 51

Assisted Solution

by:Joe Winograd, EE MVE
Joe Winograd, EE MVE earned 250 total points
Comment Utility
Ah, got it! You may want to try Windows Automated Installation Kit (WAIK) for your deployment. It may be downloaded here:
http://www.microsoft.com/en-us/download/details.aspx?id=5753

Then take a look at this thread:
http://social.technet.microsoft.com/Forums/windows/en-US/f8d9014b-643a-4cfb-953a-81bbb4c444d3/computername-serial-number-waik?forum=w7itproinstall

Regards, Joe
0

Featured Post

Are your corporate email signatures appalling?

Is it scary how unprofessional your email signatures look? Do users create their own terrible designs and give themselves stupid job titles? You can make this a lot easier for yourself by choosing an email signature management solution from Exclaimer today.

Join & Write a Comment

Synchronize a new Active Directory domain with an existing Office 365 tenant
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now