On Windows server 2008 and newer, you will have to create some registry keys and values because this feature in Windows is not enabled by default.
Copy the following into a text document, save, and then rename it to a .reg file. Then you just have to import the reg file and reboot the server.
|Windows Registry Editor Version 5.00|
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps]
|NOTE: Because IMail is running as 32-bit processes, the location of the crash dump files on a 64-bit OS will be located in %WINDIR%\SysWOW64\Config\SystemProfile|
If you would like to manually create the registry keys, proceed with the following explanation. Tech Support will need Full Crash Dumps.
Open the registry and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps
|NOTE: If you only have HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting key, you will have to create the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps key.|
Then you will need to create the following values
|DumpFolder||The path where the dump files are to be stored. If you do not use the default path, then make sure that the folder contains ACLs that allow the crashing process to write data to the folder. |
For service crashes, the dump is written to service specific profile folders depending on the service account used. For example, the profile folder for System services is %WINDIR%\System32\Config\SystemProfile. For Network and Local Services, the folder is %WINDIR%\ServiceProfiles.
|DumpCount||The maximum number of dump files in the folder. When the maximum value is exceeded, the oldest dump file in the folder will be replaced with the new dump file.||REG_DWORD||10|
|DumpType||Specify one of the following dump types:
- 0: Custom dump
- 1: Mini dump
- 2: Full dump
|REG_DWORD||1 (Default) - NOTE WE NEED THIS TO BE 2 TO FIND OUT WHAT THE ISSUE IS.|
|CustomDumpFlags||The custom dump options to be used. This value is used only when DumpType is set to 0.|
The options are a bitwise combination of the MINIDUMP_TYPE enumeration values.
|REG_DWORD||MiniDumpWithDataSegs | MiniDumpWithUnloadedModules | MiniDumpWithProcessThreadData.|