| Previous | Next |
| ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE | ERROR_DS_SAM_INIT_FAILURE |
ERROR_DS_COULDNT_IDENTIFY_OBJECTS_FOR_TREE_DELETE
The directory could not identify all objects for tree deletion.
ERROR_DS_COULDNT_IDENTIFY_OBJECTS_FOR_TREE_DELETE belongs to Active Directory Domain Services (AD DS).
What to verify
Verify whether the directory can traverse the target subtree and identify every object to delete consistently. Check root DN and enumeration scope, last object identified, and concurrent changes.
Likely causes
- the hierarchy changes during enumeration.
- a child object or link is corrupt.
- access or database failure interrupts traversal.
- the tree is too large or inconsistent for the operation.
Troubleshooting steps
- Collect root DN and enumeration scope.
- Record last object identified.
Handling, retry, and recovery
Stabilize the tree, correct the object or database condition, and repeat enumeration before deletion; never assume a partial list is complete.
Related errors
ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE fails before stable enumeration; this code means the object set itself could not be identified
Example
A damaged child link causes traversal to stop midway. Repairing the object from a healthy replica allows the deletion engine to enumerate the whole subtree.
References
Looking for a different code? Search another status or error code.