Correct OU Path when using netdom join

S

sean.ivey

I'm using netdom join to join Windows 2000 computers to a 2003 domain.
If I do not use the /OU: switch everything works great (except for the
fact that the computer account isn't created in the OU I want it in).
If I attempt to use the /OU: switch I get an error 234 (think it has
something to do with the OU path). Lets say the domain is
test.company.corp. The server name is companytest. Under that domain
I have an OU called CompanyOU. Inside of that I have an OU called
ComputerOU. Now, assuming I want the computer account to go into the
ComputerOU, what should my OU path look like? I thought it would be
/OU:OU=CompanyOU,OU=ComputerOU,DC=companytest. This returns the
computer rename attempt failed with error 234. Deleting the session.
More data is available. What is wrong with the OU path? Should I have
something else after DC=companytest? Any help would be appreciated!

netdom command I'm using
netdom join <computername> /d:test.company.corp
/OU:OU=CompanyOU,OU=ComputerOU,DC=companytest /userd:<username>
/passwordd:* /usero:<username> /passwordo:* /verbose
(of course all on the same line)
 
J

Jerold Schulman

I'm using netdom join to join Windows 2000 computers to a 2003 domain.
If I do not use the /OU: switch everything works great (except for the
fact that the computer account isn't created in the OU I want it in).
If I attempt to use the /OU: switch I get an error 234 (think it has
something to do with the OU path). Lets say the domain is
test.company.corp. The server name is companytest. Under that domain
I have an OU called CompanyOU. Inside of that I have an OU called
ComputerOU. Now, assuming I want the computer account to go into the
ComputerOU, what should my OU path look like? I thought it would be
/OU:OU=CompanyOU,OU=ComputerOU,DC=companytest. This returns the
computer rename attempt failed with error 234. Deleting the session.
More data is available. What is wrong with the OU path? Should I have
something else after DC=companytest? Any help would be appreciated!

netdom command I'm using
netdom join <computername> /d:test.company.corp
/OU:OU=CompanyOU,OU=ComputerOU,DC=companytest /userd:<username>
/passwordd:* /usero:<username> /passwordo:* /verbose
(of course all on the same line)

Try
/OU:OU=ComputerOU,OU=CompanyOU,DC=test,DC=Company,DC=Corp


Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
 
D

dreamneos

Thanks for the reply. I tried that as soon as I got the chance and I
ended up with a new error. Netdom returned: the computer rename
attempt failed with error 2. Deleting the session with <computername>.
The system cannot find the file specified. Thanks for any and all
help!
 
J

Jerold Schulman

Thanks for the reply. I tried that as soon as I got the chance and I
ended up with a new error. Netdom returned: the computer rename
attempt failed with error 2. Deleting the session with <computername>.
The system cannot find the file specified. Thanks for any and all
help!


Try

redircmp "OU=ComputerOU,OU=CompanyOU,DC=test,DC=Company,DC=Corp"
then the netdom command without the /OU option
See tip 7617 in the 'Tips & Tricks' at http://www.jsiinc.com



Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top