For ages this has been giving me a very large headache..
How do I specify the name for a new PC that has never been on the Domain?
Up until now, I’ve had the nightmare where it gets given the name MININT-and then when I rename it after SCCM shows a duplicate in the console causing most of SCCM to break (Software Distributions, Updates – the lot!)
The solution was so simple when I found it (thanks to http://sccmguy.com) :
His recommendation is to create a Collection Variable on the “Unknown Computers” collection called “OSDComputerName” with no value . The idea behind this is that OSD will then prompt you to enter a value during the deployment..
It worked a treat and now, without any messy scripts I can easily give new PCs the correct name from the word go.!!
The full post can be found here: http://sccmguy.com/2011/02/26/how-to-specify-the-computer-name-during-a-configmgr-os-deployment