Use netdom.

NETDOM JOIN machine /Domain:domain [/OU:ou path] [/UserD:user]
           [/PasswordD:[password | *]]
           [UserO:user] [/PasswordO:[password | *]]
           [/REBoot[:Time in seconds]]

NETDOM JOIN Joins a workstation or member server to the domain.

machine is the name of the workstation or member server to be joined

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cothern Jeff D.
Team EITC
Sent: Friday, November 12, 2004 6:59 PM
To: [EMAIL PROTECTED]
Subject: [ActiveDir] Joining a Domain thru Command Line

Ok I know there is a way but I seem to have a disconnect and cant find
where I read about it at.  

I want to take a windows xp sp2 machine newly built and join it to the
domain and have that workstations name go into a certain OU.  Whats the
command.


Thanks

Jeff

And to think only 5 more days of work to go till break.

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to