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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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
CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

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
Cris HannaSr IT Support EngineerCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SBS

From novice to tech pro — start learning today.