Netdom and nested OUs

J

Jeff Pencosky

Hi,
We seem to having a problem using Netdom to join Windows computers to our
Active Directory domain, specifically when the OU is nested more than one
folder deep. For example:

netdom JOIN computer1 /D:andrew.ad.cmu.edu /Ud: OU_admin/Pd:*
/Uo:local_administrator/Po:* /Verbose /OU:OU="MechE",
OU="Workstations",DC=andrew,DC=ad,DC=cmu,DC=edu


We get this error:
Establishing a session with with computer1
Joining domain andrew.ad.cmu.edu
Deleting the session with computer1
The system cannot find the file specified
The command failed to complete successfully

One of our admins gets an "error 2" additionally above, for some reason I
don't seem to get that one. He is using XP, but is using
the updated Netdom executable. I'm using W2K.
We have no problems joining a computer when just one OU is specified above.

Thanks for any assistance!
Jeff Pencosky, Carnegie Mellon University
 
M

Matjaz Ladava [MVP]

I think your syntax should be something like

netdom JOIN computer1 /D:andrew.ad.cmu.edu /Ud: OU_admin/Pd:*
/Uo:local_administrator/Po:* /Verbose /OU:"OU=MechE,
OU=Workstations,DC=andrew,DC=ad,DC=cmu,DC=edu"

--
Regards

Matjaz Ladava, MCSE (NT4 & 2000), MVP
(e-mail address removed)
http://ladava.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