Sysprep & The Disappearing MAC Address
I finally got around to building some VPC images of Win2k, WinXP and Win2k3 to host VWD and VSTS betas. Boring but the results are very handy. A couple of words to wise however if you’re thinking of doing the same.
- Use the sysprep utility to allow you to copy the image you’ve made and use it in tandem with other copies. Sysprep is a neat little utility that resets MAC addresses and SIDs so images on the network don’t clash. There are two versions of sysprep - one for Windows 2000 [http://www.microsoft.com/windows2000/downloads/tools/sysprep/default.asp] and one for Windows XP Windows 2003 [http://support.microsoft.com/default.aspx?838080] 2. Sysprep resets the MAC address of the VPC image so when you next boot that image you might well get an error as it boots stating The network adapter with address “00:00:00:00:00:00” of virtual machine “….” failed to initialize because the address is a null address. I’ve found two solutions for this problem. They seem to be exclusive of each other, but try them in this order. * Open up the vmc file for your new vpc image and assuming you haven’t switched off all the ethernet adapters for the image in the VPC Console, you’ll see an element in the XML called
which relates to your physical network card. This element should contain another one that looks like this: 0003FFA4F9F2 is a four digit number. 2. Look at the GUID value for the NetCfgInstanceId key value. 3. Add the DWORD key at HKEY_LOCAL_MACHINE<guid> called Flags and set the value to 0 where is the GUID found in step 2. 4. Restart the computer.
Hope that helps.Posted on August 9, 2005 #Geek Stuff