none
How to properly Remove/Rename and Re-add a PC to the Domain

    Question

  • Hi,

    I'm looking for a Micosoft knowledge base article regarding  " How to properly Remove/Rename and Re-add a PC to the Domain ". We have workstations with Windows XP professional & Servers with Windows 2003 in a domain environment with active directory implemented. Do we have to a reboot the workstations three times to do this properly ?.

    Thanks.

    Saturday, January 24, 2009 2:00 AM

Answers

  • Hi TECHLAB, 

    The proper way I often do is to logon the workstation with administrator credential and then rename it or re-join it to the domain. we need to ensure that the network connection between the workstatin and the DC is normal. In this way, either the renaming computer or the re-joining domain operation makes the system automaticlly to re-build the secure channel between the workstation and the DC, which ensures that it reflect in the AD database and the new computer account can works in the AD.

    You don't have to reboot the Windows XP workstation for 3 times. As far as I know, we need to only reboot the workstation only one time after renaming it or re-join domain. if you have some GPO link to the OU that holds the computers account, it is better to run "gpupdate /force" if there is any computer configuration in it.

    For more store, please check.

    How to change a computer name, join a domain, and add a computer description in Windows XP or in Windows Server 2003
    http://support.microsoft.com/default.aspx/kb/295017

    Thanks and regards,
    Scorprio


    MCTS, MCITP:Enterprise Admin
    Saturday, January 24, 2009 4:41 AM

All replies

  • Hi TECHLAB, 

    The proper way I often do is to logon the workstation with administrator credential and then rename it or re-join it to the domain. we need to ensure that the network connection between the workstatin and the DC is normal. In this way, either the renaming computer or the re-joining domain operation makes the system automaticlly to re-build the secure channel between the workstation and the DC, which ensures that it reflect in the AD database and the new computer account can works in the AD.

    You don't have to reboot the Windows XP workstation for 3 times. As far as I know, we need to only reboot the workstation only one time after renaming it or re-join domain. if you have some GPO link to the OU that holds the computers account, it is better to run "gpupdate /force" if there is any computer configuration in it.

    For more store, please check.

    How to change a computer name, join a domain, and add a computer description in Windows XP or in Windows Server 2003
    http://support.microsoft.com/default.aspx/kb/295017

    Thanks and regards,
    Scorprio


    MCTS, MCITP:Enterprise Admin
    Saturday, January 24, 2009 4:41 AM
  • Hello,

     

    I agree with Scorprio’s suggestion.

     

    If you have any questions on this issue, please feel free to let me know.


    Best regards,

    Tom Zhang


    Tom Zhang – MSFT
    Monday, January 26, 2009 10:14 AM
  • Thanks so much for your reply. I'm trying to confirm - what I was told by our Admin that this is the only way we can prevent any issues. I personally disagree but trying to reconfirm, In his words - as follows :

    " How to Properly Remove/Rename/Re-add a PC to the Domain "

    " Below is the official steps on how to properly remove/re-add or rename a computer account to the domain.  If these steps are properly followed, we will not experience issues with computers and the application of group policies or hamper the ability of users to be able to logon or access network resources correctly. Right-click My Computer and choose Properties, click Computer Name and Change.

    1.      Change it to "ABC" workgroup and click OK.  When prompted, use your network logon ID and when it joins the workgroup, click OK out of everything.
    2.      Reboot the machine.
    3.      Log in as local admin account to desktop/laptop.
    4.      Right-click My Computer and choose Properties, click Computer Name and click Change.
    5.      Rename the computer to something different (most of the time, add/remove a "1" to the end of the computer name.
    6.      Reboot the machine.
    7.      Log in as local admin account to desktop/laptop.
    8.      Right-click My Computer and choose Properties, click Computer Name and click Change.
    9.      Change the domain and click OK. When prompted use your network logon ID and when it welcomes to the domain, click OK out of everything.
    10.  Reboot the machine

    As the machine is rebooting, move the new computer account to the correct OU in Active Directory."

    Question is do we have to reboot three times ?, I was told by him that rebooting twice is not the right way to do it. Well for my sake I'm trying to make sure if thats the case. Thanks so much
    Tuesday, February 03, 2009 2:46 AM