Netdom and nested OUs

  • Thread starter Thread starter Jeff Pencosky
  • Start date Start date
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
 
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
 
Back
Top