?
Solved

Illegal syntax on using NTDSUTIL to remove TAPI Microsoft Directory

Posted on 2011-02-14
2
Medium Priority
?
2,062 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 2000 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

770 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