Join computer to domain using NETDOM issue

Hi,

I'm trying to rejoin computers to a domain that had to be rebuilt. I'm trying the netdom command in the following format:

netdom join /d:domainl computerName /ud:domainl\admin /pd:password.

I get back a message that says 'network path was not found. The command failed to complete'

I'm not sure why I'd be getting this.

As an alternative I tried the following netdom command:
NETDOM /Domain:domain MEMBER acct_112814 /JOINDOMAIN

When I do this, I get back a message that says 'The parameter /Domain was unexpected'.

Does anyone have any ideas on how to use the command successfully?

Thanks,

Bill
w_marquardtOwnerAsked:
Who is Participating?
 
Cris HannaCommented:
You placed this question in the SBS zone.  Are these workstations trying to join an SBS domain?  If so, I'd remind everyone of the #1 rule with SBS, use the wizards
I'm not saying that because you are running SBS NETDOM won't work, I'm simply saying that joining PC's to the domain using other than http://connect could result in unexpected behavior down the road
0
 
Thomas GrassiSystems AdministratorCommented:
did you remove the computer names from the AD object?

Also

NetDom  needs access to ports 135 and 139. Make sure nothing is blocking communication there.


check your DNS also
0
 
Jo_WickermanCommented:
Hi w_marquardt,

It might be that you have left out the machine name before the domain name?

NETDOM JOIN machine /Domain:domain

Cheers,
Jo
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
Will SzymkowskiSenior Solution ArchitectCommented:
As Jo has stated he is correct. The complete syntax is below...
netdom join computer1 /Domain:examplc.com /OU:"ou=testou,dc=example,dc=com" /UserD:Administrator /PasswordD:* <press enter>
Type in your password

Open in new window


The "*" after the password allows you to type in your password without being in plain text.

Will.
0
 
w_marquardtOwnerAuthor Commented:
Jo, When I type the command as you have it, NETDOM JOIN machine /Domain:domain, I get a message that the RPC server is unavailable. Command failed to complete successfully. Any idea on how to get around this? Is this the RPC server on the local machine or the server? I'm running the command from the server.

Regards,

Bill
0
 
w_marquardtOwnerAuthor Commented:
Thomas, Names are clear. DNS is resolving properly when tested.

Bill
0
 
Thomas GrassiSystems AdministratorCommented:
Bill

Have you tried to do this from the computer itself

From the computer properties go to the change button

When that window pops up choose join domain type in your domain name you can use the short name here you will be prompted for the administrator account and password for the domain your joining

What happens when you do this?
0
 
Will SzymkowskiSenior Solution ArchitectCommented:
@w_mar
When you get rpc service is unavailable this is from the client machine. The DC needs to make a connection to the clinet to add it to the domain. If the DC cannot communicate with the client you will receive this error.

Common symptoms of this are the following...
- firewall enabled on the client
- RPC service is not running
- machine is powered off
- machine does not have a network connection

Will.
0
 
w_marquardtOwnerAuthor Commented:
Will,

I'll check that tomorrow when I'm onsite. Thanks for the insights on where to look.

Regards,

Bill
0
 
Rob WilliamsCommented:
If multiple network cards, wired and/or wireless are installed you must disable all but one, preferably wired until domain joined or it will fail.  They must be disabled, not just disconnected.  The NIC must also point only to your internal DNS server/s, do not add a router or ISP as an alternate.
0
 
Jo_WickermanCommented:
Sorry for the late reply, but as Will has mentioned, it'll be the client and probably a firewall that's active. If you don't want to disable the local firewall, you can open the RPC port 135.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.