Is there a way to add a XP workstation to a domain via the command line, rather than through My Computer Properties?

If this can't be done from the command line, is there any other simple way (a script) of doing so?

link|improve this question

feedback

3 Answers

up vote 6 down vote accepted

From the MS article they suggest:

netdom join ComputerName /domain:DomainName /userd:User /passwordd:UserPassword

The other good options is if you're installing you can always add these options to the installers answer file.

link|improve this answer
+1 for including syntax – Kara Marfia May 26 '09 at 0:29
feedback

This Microsoft Article describes joining computers to the domain via command line or script.

link|improve this answer
feedback

Also check out using Sysprep for fresh installs. I've had good results with it.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.