WIndows server 2012 R2 cannot run ntdsutil.exe - "is not recognized"

Hello-

I am trying to run the ntdsutil.exe command from an elevated administrator command prompt.  The server is a Server 2012 R2 domain controller and has the AD DS and AD LDS roles installed.

When I run the command I get an error 'ntdsutil' is not recognized as an internal or external command...

The ntdsutil.exe file is on the server but when I go to the folder where it is and try to run ntdsutil from there I get an error that it is not compatible with the version of Windows I am running.

Any advice would be appreciated.  Thank you
Meg MiddaughAsked:
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.

nobusCommented:
you ran it from elevated command prompt?

more info on, the command here :  http://technet.microsoft.com/en-us/library/cc753343.aspx
0
Lionel MMSmall Business IT ConsultantCommented:
Where is you ntdsutil.exe located and what is the date and time on it? If you run attrib ntdsutil.exe what do you see?
0
Meg MiddaughAuthor Commented:
Hello -
nobus yes I ran it from an elevated command prompt

lionelmm.. The path is quite long so I attached a screen shot showing the three Iocations.  When I couldn't run ntdsutil,  I  copied the file to syswow64.  

Yes I have already followed the directions in the link you referenced.

Thank you both for your feedback.  I would appreciate any solutions you can offer.
ntdsutil-locations.png
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Lionel MMSmall Business IT ConsultantCommented:
It looks like you do not have active directory installed (or it is damaged) if it was you should find ntdsutil.exe  in \system32 folder-copying it to the syswow64 won't make it work if AD is not installed or not properly installed
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
DrDave242Commented:
Do you have the other AD management tools on the server (AD Administrative Center, AD Users and Computers, etc)? I'm wondering if you (or whoever promoted the server) may have unchecked the box to install the AD management tools when the AD DS role was added.
0
Meg MiddaughAuthor Commented:
Removed and reinstalled the AD role and you are right that did the trick!  Thank you!
0
Meg MiddaughAuthor Commented:
That was the problem.  Thank you for your help
0
Lionel MMSmall Business IT ConsultantCommented:
you're welcome and have a great day
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.

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.