JSI Tip 6167. Using <B>Ntdsutil</B> to remove a non-existant domain generates '<B>DsRemoveDsDomainW error</B>'?

If your attempt to use Dcpromo.exe to remove a domain fails, you could use Ntdsutil.exe to remove the domain metadata from the forest. When you try, you receive:

DsRemoveDsDomainW error 0x20ab.

The trust relationship is broken.

To workaround this problem, remove the following references from the Active Directory Database using adsiedit.msc or lpd.exe:

CN=DomainName$, DC=Users,DC
CN=DomainName, CN=Partitions,CN=Configuration,DC
CN=DomainName, CN=System,DC

NOTE: DomainName is the name of the domain.

NOTE: See You cannot manually remove a domain from the forest?

TAGS: Windows 8
Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.