I work in an enterprise environment where we deploy our images using ghost. After the image is loaded it runs sysprep. The main hangup we have right now is that sysprep requires us to manually input the computer name. I'm trying to develop an unattended way to input this name. We are running Win2k and WinXP.
At the end of sysprep you can set it to run a program. My question is this: Would it be possible to script a computer name change based on the local mac address?
Taking that one step further, would it be possible to keep a database on a server and in your script it looks against the database to match the local mac address and then uses the matching records computer name?
This would then allow us to completely automate desktop deployments. What would we use to do this? WMI? Does anyone know if WMI is even loaded at the end of sysprep? If it isn't, what other methods do you think I could query for the local MAC at the end of sysprep. Any ideas?
|