Solved

Illegal syntax on using NTDSUTIL to remove TAPI Microsoft Directory

Posted on 2011-02-14
2
2,054 Views
Last Modified: 2012-05-11
I was trying to demote an old DC through DCPROMO when I got the message pop up "This domain controller holds the last replica of the following application directory partitions:
DC=MSTAPI,DC=yourdomain,DC=com"

I am getting an error when trying to remove a domain through NTDSUTIL.  I am following the MS article KB 282272 and when i get to the "To remove the application directory partition replica, type remove nc replica ApplicationDirectoryPartitionDomainController" step, i get an illegal syntax when i type the listed naming context.

I type remove nc replica DC=TAPI3Directory,DC=MyLocalDomain,DC=com then i get the syntax error 80070057.
Any help would be greatly appreciated.
0
Comment
Question by:infranetsupport
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 11

Accepted Solution

by:
Tasmant earned 500 total points
ID: 34889478
try to launch cmd, then
ntdsutil
metadata cleanup
connections
connect to server myserver.MyLocalDomain.com
quit
select operation target
list namings contexts
select naming context x      (x is number)
q
remove selected Naming Context
q
0
 

Author Closing Comment

by:infranetsupport
ID: 35184130
no
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question