Windows Server 2000/2003 Thread, Migrating GUID/UUID information from 1 Active Directory to another? in Technical; We have always had a annoying 2 domain setup on our site and we are finally getting round to migrating ...
Migrating GUID/UUID information from 1 Active Directory to another?
We have always had a annoying 2 domain setup on our site and we are finally getting round to migrating all the data to 1 domain and dropping the left over. I'm using the opportunity to rebuild all the PCs using RIS and putting them on to the new domain during the unattended install. Now, even though I gave the RIS user account I was using rights to "Join a computer to the domain" using delegate control on the "new" domain, it still won't add the PC to the domain. Not sure why, so I've had to try something else...
I've setup RIS on the "new" domain, however, when I try to rebuild the PCs, they are not remembering their names as the GUID/UUID information is located on the "old" RIS Sever or "old" AD (not sure where!)
Is there anyway I can migrate this GUID/UUID information from the "old" domain to the "new" domain, so it saves me having to manually rename 600+ PCs!
Is the data held in a database file somewhere?
(Both domains are running Windows Server 2003 btw)
It's kept in the AD object in the netbootGUID atribute. You can either write a script to export them from the old AD and then import them to the new AD, or if you know the MACs of each client you can simply set the netbootGUID to 20x zeroes followed by the MAC address. (e.g. 00000000000000000000002574358D91)
The Microsoft Script Center is a great place to start learning about scripting in Windows (check out the Active Directory category). In particular, this script looks ripe for modification for extracting the existing data, while this script snippet demonstrates how to write data back.