In this post, you’ll learn about the Win32 Error “0x00002136 – ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE” that you get when debugging system erors in Windows.
The System Error Codes in Windows is a standard computer errors that occurs on Windows PCs. The System Error are usually intended for the developers troubleshooting issues related to the messages returned by the GetLastError.
Most of these Windows Errors are defined in the WinError.h file. The description of these error codes are very general and requires some bit of analysis to understand the exact issue.
Error Message
0x00002136 – ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE
Error Description
The directory service failed to lock a tree in preparation for a tree deletion because the tree was in use.