Fixing ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE (0x0000212F)
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
- Open an elevated command prompt on any healthy DC.
- Type
ntdsutiland hit Enter. - Type
metadata cleanup. - Type
remove selected server. - You'll get a popup to select the dead DC. Pick it.
- Confirm the removal. ntdsutil will walk you through it.
- Exit and run
repadmin /syncall /AdePto 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,whenChangedCompare 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
- Open ADSI Edit on a healthy DC in the forest where the error appears.
- Connect to the
Configurationnaming context. - Navigate to
CN=Configuration,CN=Services,CN=Windows NT,CN=Directory Service,CN=<domain>. - Find the DC with the bad DSA object—look for a missing
dnsHostNameoroptionsvalue. - Right-click the
NTDS Settingsobject under that DC and delete it. - On the problem DC, restart the
NTDSservice. It'll recreate the object automatically. - 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
| Cause | Symptom | Primary Fix | Time to Fix |
|---|---|---|---|
| Stale DC metadata | Error after demotion, missing DC in AD Sites and Services | ntdsutil metadata cleanup | 5 minutes |
| Lingering tombstone | GUID mismatch across replicas, event 2042 nearby | repadmin showobjmeta + delete tombstone | 10 minutes |
| Corrupted DSA object | Cross-forest trust fails, dnsHostName empty | Delete and recreate NTDS Settings | 15 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?