Create a full memory dump from MetaDirectory
May 2021
This article explains how you can create a so-called full memory dump from MetaDirectory and make it available for analysis.
Please use these settings only if it really is a crash.
The debug logs from the MetaDirectory are also needed in case of a crash:
Procedure
Microsoft Windows Error Reporting
If the MetaDirectory has crashed and this is also visible in Windows Error Reporting, the following path can be used to check whether Windows itself has created a dump:
C:\ProgramData\Microsoft\Windows\WER\
It should be noted that Windows does create a file for each crash. However, if the service crashes several times for the same reason, these files are not filled.
A filled memory dump has an approximate size of 150 MB – 2 GB. If the files have only a few KB, they are empty and useless for analysis.
If crash dumps are not written, this can be enforced with the following article:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb787181(v=vs.85).aspx
Dump via MetaDirectory service
Alternatively, it is possible to have the MetaDirectory service write a dump itself.
This is only possible if the operating system still allows it.
Procedure
Run regedit.exe
Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\ESTOS\MetaDirectory\Server
Click in the menu Edit -> New -> DWORD-Value (32-Bit).
Enter "DUMP" as the name.
Enter "2" as the value (decimal).
Restart the MetaDirectory service.
In case of a future crash, a full memory dump is created under "c:\crashreport".