How to enable crash memory dump collection on Windows
We want to record a memory image (or dump) of the desktop client in case it crashes while running on Windows. This is also called a mini dump and can be recorded directly by the Windows system after configuration.
The goal is to enable analysis with support engineers of the root cause of the crash. To do that, we need to collect real information especially when the case is hard to reproduce or depends on local context.
Those mini dumps are never going to be shared with anyone and remain under the control of the end-user. This is necessary to prevent any data leak or privacy issues. Unless you share such a mini dump with a support engineer, everything stays on the local machine of the user and under their control.
Steps to Enable Crash Mini Dump Automatic Record
-
Install a specific build from which such analysis is possible (Windows system has restrictions on which builds can be analyzed). For currently existing technical limitations, this is not enabled or possible with existing release installers.
-
Configure the Windows machine to record crash with the mini dump:
-
Open the Windows registry editor
-
Navigate to this key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps. If it does not exist, navigate toHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reportingand create a new key calledLocalDumps. -
Create a new key called
nextcloud.exe -
Create new values
-
| Name | Type | Value |
|---|---|---|
| DumpFolder | REG_EXPAND_SZ | LOCALAPPDATA%\Nextcloud\CrashDumps |
| DumpCount | REG_DWORD | 5 |
| DumpType | REG_DWORD | 1 |
| CustomDumpFlags | REG_DWORD | 0 |
Subscriber exclusive content
A Nextcloud Enterprise Subscription provides unlimited access to our knowledge base articles and direct access to Nextcloud engineers.