Techs in the field are deploying windows 7 pcs onto a domain. They complete one entry screen, which should give them a unique computer name. However, they are human and end up giving the pcs the same name. The pcs are connected by TCP/IP to a router at the site.
I'd like to detect the duplicate names before the pcs attempt to join the domain. However, from the testing I've done using ping, arp, nbtstat, System.Net.Dns.GetHostEntry, shows that information is dependent on reboot timing.
Test point A
Rename the computer
Reboot
Test point B
Join the domain
Reboot
Test point C
The actual reboots can take several minutes. I understand that detecting a pc that is rebooting will not work, but I can't even detect this at "Test point B" with both machines on.
Actually, if both machines stop at "Test point B", the last to reboot can not detect the other. The first to reboot can see the other.