In this post, you’ll learn about the Win32 Error “0x00002138 – ERROR_DS_SAM_INIT_FAILURE” 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
0x00002138 – ERROR_DS_SAM_INIT_FAILURE
Error Description
SAM initialization failed because of the following error: %1. Error Status: 0x%2. Click OK to shut down the system and reboot into Directory Services Restore Mode. Check the event log for detailed information.