locked
Full Computer Name does not change RRS feed

  • Question

  • Scenario is that I am running a scripted process to move lots of XP computers from one domain to another. (And a few other things besides). The full computer name is omputername.domain1.dom

    After a first script removes the workstation from domain 1 and into a workgroup. It then sets the necessary registry paramenters to do an auto admin login and run a runonce script to join domain2. This script joins the domain by running netdom join. It also updated the registry settings for HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters to change "Domain" "NV Domain" and SearchList" to domain2.dom

    The whole process works, the computer joins the domain and everything functions, however the domain component of the full computer name remains as domain1.dom. If I join the domain manually from System Properties it updates to domain2.dom. I am looking for how I can update it when I am joining the domain with netdom.exe. Any suggestions?

    Wednesday, May 29, 2013 1:33 PM

Answers