0X0000212F

Fixing ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE (0x0000212F)

Server & Cloud Intermediate 👁 2 views 📅 Jun 7, 2026

This Active Directory replication error means a domain controller can't verify a critical object's existence. The fix is almost always stale metadata or a lingering tombstone. Here's how to kill it.

Cause 1: Stale DC Metadata from a Failed Demotion

This is the #1 trigger. Some admin demoted a domain controller without running dcpromo /forceremoval and the metadata stayed in the configuration partition. When another DC tries to replicate the NTDS Settings object belonging to that dead DC, it hits error 0x0000212F because the source DC (the dead one) doesn't exist to validate it.

The fix is to nuke that orphaned metadata using ntdsutil. Don't bother with ADSI Edit directly—it's too easy to miss a reference.

Steps to clean up stale DC metadata

  1. Open an elevated command prompt on any healthy DC.
  2. Type ntdsutil and hit Enter.
  3. Type metadata cleanup.
  4. Type remove selected server.
  5. You'll get a popup to select the dead DC. Pick it.
  6. Confirm the removal. ntdsutil will walk you through it.
  7. Exit and run repadmin /syncall /AdeP to force replication.

After that, check event logs for the error. 9 times out of 10, it's gone.

Cause 2: Lingering Tombstone That Won't Validate

When a DC tombstone doesn't match the object's GUID across replicas, the validation engine throws 0x0000212F. This happens after a forced authoritative restore or if someone manually deleted a CN=Deleted Objects entry.

The quickest way to find the culprit is repadmin's showobjmeta command. Look for objects with mismatched objectVersion or missing whenChanged timestamps.

How to identify and remove a lingering tombstone

repadmin /showattr <SourceDC> "CN=<problematic-object>,CN=Deleted Objects,DC=<domain>,DC=<com>" /filter:"(objectClass=*)" /atts:objectGUID,whenChanged

Compare the GUID across all DCs. If one DC has a tombstone with a whenChanged date older than 60 days, and the other DCs don't have it, that's the source. Delete it on the isolated DC using ldifde or ADSI Edit.

Warning: Do not delete tombstones casually. If you're not sure, run repadmin /prp view first to check the tombstone lifetime setting. Default is 60 days for Server 2003 and later.

Cause 3: Corrupted DSA Object in a Cross-Forest Trust

Less common, but happens when you have a cross-forest trust and a DC's CN=NTDS Settings object gets corrupted. The validation step for the trust's crossRef object fails because the source DC's DSA object has a bad dnsHostName attribute.

You'll see this alongside event IDs 1925 or 1926. The fix is to delete and recreate the NTDS Settings object for the affected DC.

Steps to fix a corrupted DSA object

  1. Open ADSI Edit on a healthy DC in the forest where the error appears.
  2. Connect to the Configuration naming context.
  3. Navigate to CN=Configuration,CN=Services,CN=Windows NT,CN=Directory Service,CN=<domain>.
  4. Find the DC with the bad DSA object—look for a missing dnsHostName or options value.
  5. Right-click the NTDS Settings object under that DC and delete it.
  6. On the problem DC, restart the NTDS service. It'll recreate the object automatically.
  7. Force replication: repadmin /syncall /AdeP.

If the error keeps appearing, check the DC's serverReference attribute under CN=Servers. A null value there means the DC's computer object is orphaned. Run netdom query fsmo to confirm FSMO roles are on a healthy DC, then remove the computer object from Domain Controllers OU via ADUC.

Quick-Reference Summary Table

CauseSymptomPrimary FixTime to Fix
Stale DC metadataError after demotion, missing DC in AD Sites and Servicesntdsutil metadata cleanup5 minutes
Lingering tombstoneGUID mismatch across replicas, event 2042 nearbyrepadmin showobjmeta + delete tombstone10 minutes
Corrupted DSA objectCross-forest trust fails, dnsHostName emptyDelete and recreate NTDS Settings15 minutes

Don't waste time running dcdiag or checking DNS when you see this error. The issue is always metadata or objects that don't line up. Clean the dead DC metadata first, check for tombstones second. That'll cover 95% of cases.

Was this solution helpful?