Error 8502 - ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE
The directory service failed to lock a tree in preparation for a tree deletion because the tree was in use.
Symptoms
- The directory service failed to lock a tree in preparation for a tree deletion because the tree was in use.
- System error 8502 (ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE)
Troubleshooting steps
- Note the exact error 8502 (ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE) and which operation failed.
- Check the Windows Event Viewer and the relevant application/service logs for related entries.
- Apply the fix documented by Microsoft for error ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE (see the reference URL).
- Retry the operation after applying the fix and confirm the error no longer appears.
Reference: learn.microsoft.com