Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

3 Answers 3

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.

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

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

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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