Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ PI Server Installation and Configuration (PI Server 2024 R2)

Configure crash dumps

  • Last UpdatedNov 21, 2025
  • 1 minute read

We recommend that you configure automatic capture of full memory dumps for any process that faults. You can configure crash dumps for any PI node where Windows errors may occur, not just for Data Archive. The information stored in these dumps is critical for analyzing issues with AVEVA™ PI System™, such as a PI process crash.

  1. Using regedit (the Windows registry editor), create the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps with the following values.

    Value name

    Data type

    Value data

    Required?

    DumpType

    REG_DWORD

    2

    Yes

    DumpFolder

    REG_EXPAND_SZ

    %LOCALAPPDATA%\CrashDumps (default)

    DumpCount

    REG_DWORD

    10 (default)

  2. Create a simulated, process crash to test the crash dump configuration and tp also ensure it works.

    1. Open a command prompt and navigate to the folder specific to your machine type:

      Type

      Directory

      Data Archive node

      %PISERVER%\adm

      32-bit PINS node

      %PIHOME%\adm

      64-bit PINS node

      %PIHOME64%\adm

    2. At the command prompt, enter:

      pidiag -crash

    3. Verify that the pidiag.exe.ID.dmp file is in the DumpFolder folder (by default, the folder location is %LOCALAPPDATA%\CrashDumps), where ID is the process ID of the faulting process.

      Note: The environment variable %LOCALAPPDATA% is specific to each user. The dump is written to the %LocalAppData% folder of the user account where the pidiag command was run. An example of the file location is C:\Users\Administrator\AppData\Local\CrashDumps. You can also configure this environment variable to a location that is common to all users.

  3. If a crash dump was not created, enable Windows Error Reporting (WER) and test again.

    See Configure Windows Error Reporting.

TitleResults for “How to create a CRG?”Also Available in