With ultrabook there are many of them have no NIC nowadays, with the same usb dangle, WDS can not tell all there units are different since the dangle has same MAC address.

To solve this problem, I installed support tools for windows 8.1 to get netdom working on the image first, then put following lines under c:\windows\setup\scripts\setupComplete.cmd

 

for /f "tokens=1" %%i in ('wmic bios get serialnumber') do  if not %%i==SerialNumber (
netdom renamecomputer %computername% /newname:S-%%i /userd:<domain>\admin /passwordd:* /reboot:20 /usero:administrator /passwordo:* /force
)

This will rename the computer to something like S-<SerialNumber>, so the computer name will be always unique. The good thing of netdom rename computer is, it can rename the computer when it is in domain on both computer and domain server. So you wont have the database mismatching problem. Cheers.

About Lei

I am an IT specialist with over 10 year experience - years on Automation, on-Premise or Azure.

I am happy to develop however never want be a full time developer. Only do what I have to do. If it has to be PowerShell,HTML, PHP, CSS, C#, VBS or JS, front end or backend, so be it, doesn't matter!

Spent years with Windows, SCCM, SharePoint, SQL and Exchange servers. For last several years, I have been actively working under On Premise > Azure environment.

THERE IS NO WAY BACK!!!

Current Certificates:
    Microsoft® Certified-
  • -Enterprise Administrator
  • -Database Administrator
  • -SharePoint Administrator
  • -Administering and Deploying SCCM 2012
Red Hat Certified Technician
ITIL V3 Foundation - Practitioner

Working on Azure Certificates now and hopefully they can stop upgrading their questions one day! GIVE ME A BREAK!

Contact Lei

Name *
Email *
Comments *

Traffic since 10/08/2016

Today45
Yesterday83
This week669
This month1965
Total416325

Visitor Info

  • IP: 54.163.210.170
  • Browser: Unknown
  • Browser Version:
  • Operating System: Unknown

Who Is Online

2
Online

2017-12-17

Login