AD 2008 R2 adprep /forestprep error missing NETAPI32.dll

I'm trying to add a second 2008 R2 DC into our AD. After building it, I tried to run adprep /forestprep on the current DC but it threw me the following error:

The procedure entry point I_NetPath Type could not be located in the dynamic link library NETAPI32.dll

Just trying to get the job done. Any ideas how to get passed that? What it means etc?

Thank you!
rusb2dAsked:
Who is Participating?
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.

Seth SimmonsSr. Systems AdministratorCommented:
a second 2008 R2 domain controller?  you only need to run adprep once to extend the schema; beyond that just run dcpromo on additional domain controllers

you only need to run adprep again if you install a 2012 server

if that's not the case in your environment please clarify
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
N-WCommented:
What is the current schema version of your AD? You can check this by running from cmd (replace "dc=mydomain,dc=local" with your actual AD domain):
dsquery * cn=schema,cn=configuration,dc=mydomain,dc=local -scope base -attr objectVersion

Open in new window

0
rusb2dAuthor Commented:
Currently there's a single DC (win 2008 R2) Schema ver 47.

Sounds like since I'm adding the same flavor of machine (Win 2008 R2) as the 2nd DC, I won't have to run adprep at all , just DCpromo and call it a day.

Sounds to easy. I got a be missing something right?

I just wanna do this as gracefully as possible.
0
Seth SimmonsSr. Systems AdministratorCommented:
no, you are correct

as i mentioned, adprep is only done once when a domain controller for a newer version of windows is introduced
0
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
Microsoft Legacy OS

From novice to tech pro — start learning today.