Join to a Domain Using the Command Line in Windows XP


Note : First of all you must have Microsoft Windows XP Service Pack 2 Support Tools, The Support Tools are not automatically installed when you install Windows XP SP2. To install the Support Tools on a computer that is running Windows XP, run the Setup.exe file from the \Support\Tools folder on the Windows XP CD.

  • To Remove the PC from the Domain, Open a Command Prompt window and type:
  • netdom.exe remove vms-pc1 /Domain:example.com /userd:example\administrator /passwordd:****
  • Then To join the PC to the Domain, Open a Command Prompt window and type:
  • netdom.exe Join vms-pc1 /Domain:example.com /userd:example\administrator /passwordd:****
  • Reboot the computer.

Leave a comment