Error Code Portal
MicrosoftWindows Win32Error code

8504

ERROR_DS_SAM_INIT_FAILURE

Alternative forms: 0x00002138 · 0x2138 · ERROR_DS_SAM_INIT_FAILURE · 0x80072138

Code 8504 · An issue reported by Windows Win32.

Security Accounts Manager initialization failed because of the following error: %1. Error Status: 0x%2. Please shutdown this system and reboot into Directory Services Restore Mode, check the event log for more detailed information.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.