As I recall you can do them in one step (one reboot that is). It's been a while 
since I scripted this though. 

Thanks.
�
--Brian Desmond
[EMAIL PROTECTED]
Payton on the web! www.wpcp.org
�
v - 773.534.0034 x135
f - 773.534.8101


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:ActiveDir-
> [EMAIL PROTECTED] On Behalf Of Michael B. Smith
> Sent: Friday, November 12, 2004 6:25 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [ActiveDir] Joining a Domain thru Command Line
> 
> NETDOM RENAMECOMPUTER and NETDOM COMPUTERNAME
> 
> :-)
> 
> I think it'll require its own reboot, but you should test and see.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Cothern Jeff D.
> Team EITC
> Sent: Friday, November 12, 2004 7:19 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [ActiveDir] Joining a Domain thru Command Line
> 
> Just thought of something.  The name that is auto generated for a
> machine needs to be changed before I added it to the Domain.  Can this
> be done on the command line without a reboot?  Just prior to using
> netdom?
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Michael B.
> Smith
> Sent: Friday, November 12, 2004 7:10 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [ActiveDir] Joining a Domain thru Command Line
> 
> 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/
> 
> 
> 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/
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