Ansyswbu.exe Encountered A Problem. A Diagnostic File Has Been Written ~upd~ ★ Quick

"ansyswbu.exe encountered a problem" is a generic crash message indicating that Ansys Mechanical has stopped working unexpectedly. To resolve this, you typically need to

reset your user profile or adjust graphics and directory settings Ansys Innovation Space 1. Reset Your Ansys User Profile

This is the most common fix and clears corrupt temporary data that might be causing the crash. Ansys Innovation Space Rename AppData folder : Close all Ansys sessions. In File Explorer, type in the address bar. Open the folder and rename your current version folder (e.g., rename Rename Temp folder in the File Explorer address bar. Locate the folder and rename it to .ansys.old Restart Workbench

: Launch Ansys again; it will automatically recreate these folders with default settings. Ansys Innovation Space 2. Configure Graphics Settings

Outdated or unsupported graphics drivers often cause startup crashes. Ansys Innovation Space Update Drivers

: Ensure your graphics card drivers are up to date from the manufacturer’s website (NVIDIA, AMD, or Intel). Set Preferred GPU "ansyswbu

: If your laptop has both integrated and dedicated graphics, open your graphics control panel (e.g., NVIDIA Control Panel

) and ensure Ansys is set to use the high-performance processor. Ansys Innovation Space 3. Check Scratch Solver Directory

If Mechanical opens but crashes during a solve, it might be due to a missing or restricted temporary file path. Ansys Innovation Space In Mechanical, go to File > Options > Analysis Settings and Solution Analysis Data Management and ensure the Scratch Solver Files Directory

points to a valid folder on your local drive that you have permission to write to. Ansys Innovation Space 4. Other Quick Fixes Run as Administrator : Right-click the Workbench icon and select Run as Administrator to bypass potential permission issues. Antivirus/Firewall

: Temporarily disable your antivirus or firewall to see if it is blocking ansyswbu.exe from executing scripts. Diagnostic File Location Step 1: Update Graphics Drivers (Most Likely Fix)

: If you need to send logs to support, you can usually find the

C:\Users\[YourUsername]\AppData\Local\Temp\AnsysWBDumpFile.dmp Ansys Innovation Space read the diagnostic .dmp file using a debugger to find the specific cause of the crash?


Step 1: Update Graphics Drivers (Most Likely Fix)

Step 2: Check the Diagnostic File

If Step 1 did not work, the "diagnostic file" mentioned in the error message contains specific error codes.

  1. When the error popup appears, note the file path listed. It is usually located in your temp folder:
    • C:\Users\YourUsername\AppData\Local\Temp\
  2. Look for a file named similar to ansyswbu_err.log or a text file generated at the time of the crash.
  3. Open the file with Notepad.
  4. Look for keywords:
    • "OpenGL" or "Graphics": Indicates a GPU driver issue (Proceed to Step 3).
    • "License" or "FlexNet": Indicates a license connection issue (Proceed to Step 4).
    • "Access Denied": Indicates a permissions issue (Run as Administrator).

Fix: "ansyswbu.exe encountered a problem. A diagnostic file has been written"

If you’ve used ANSYS Workbench for any length of time, you’ve likely seen this dreaded popup:

ansyswbu.exe encountered a problem. A diagnostic file has been written. Identify your GPU (NVIDIA, AMD, or Intel)

You click OK, and then ANSYS vanishes. No further explanation. Just lost work and frustration.

Let’s break down what this error actually means and how to fix it permanently.

Is This Error Related to Solver Crashes?

A crucial distinction: ansyswbu.exe crashing does not mean your simulation results are invalid. The solver may have completed correctly. To check:

  1. Navigate to your project’s temporary files folder (usually in C:\Users\[User]\Documents\ANSYS\).
  2. Look for .rmb or .dat solver output files.
  3. Open a solution file (e.g., .rst for structural, .cas/.dat for Fluent) in the respective standalone application (ANSYS Mechanical APDL, Fluent Solver).

If the solver completed, you can often reload the results into a new Workbench project.


Oben