How to create a crash dump file manually on Windows 10

Create crash dump file
(Image credit: Future)

On Windows 10, a crash dump file is usually created automatically with the information about the system memory when a critical error happens, which you can then use to analyze and determine the reason for the issue.

Although these files are generated automatically, it may also be necessary to make them manually. For example, when the app is not responding, you have to send details to technical support for analysis and troubleshooting purposes. Or if you are building an application and need to find out why it's using a lot of system resources, such as processor and memory.

Regardless of the reason, Windows 10 gives you at least two ways to create an app crash dump file using Task Manager and Command Prompt with the ProcDump tool.

This guide will walk you through two ways to create a crash dump file for an application on Windows 10.

How to create crash dump file with Task Manager

To create a crash dump file with Task Manager, use these steps:

  1. Open Start.
  2. Search for Task Manager and click the top result to open the app.
  3. Click the Processes tab.
  4. Right-click the application or process and select the "Create dump file" option.

(Image credit: Future)
  1. Click the Open file location button.

(Image credit: Future)
  1. Right-click the .dmp file and select the Cut option.
  2. Navigate to the folder you want to store the file.
  3. Right-click the folder and select the Paste option.

Once you complete the steps, the dump error file will be created. You can use these instructions if you need to open the file to diagnose the problem.

How to create cash dump file with Command Prompt

Alternatively, you can also use ProcDump, a command-line tool available through the Microsoft Sysinternals website that allows you to monitor a program for processor spikes and generate a crash dump, which you can use to determine the cause of the problem. However, you can also use this tool to create crash dumps with Command Prompt manually.

To create an app crash dump file with command lines, use these steps:

  1. Open the Microsoft Sysinternals website.
  2. Click the Download ProcDump option to save the file on your computer.

(Image credit: Future)
  1. Open the zip file containing the ProcDump tool and extract its content.
  2. Open Start.
  3. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  4. Type the following command to open the ProcDump folder and press Enter: cd C:\PATH\TO\APP\Procdump

In the command, update the path with the folder location with ProcDump files.

  1. Type the following command to create a (mini) dump file of a running application and press Enter: procdump APP-NAME

In the command, replace APP-NAME with the executable name of the app. This example creates a dump error file for File Explorer: procdump explorer

(Image credit: Future)
  1. (Optional) Type the following command to create a dump file using the process ID and press Enter: procdump PROCESS-ID

In the command, replace PROCESS-ID with the actual ID of the process or application. This example creates a dump error file for File Explorer with the process ID of 6112: procdump 6112 

  • Quick tip: You can always find the process ID (PID) of an application in the "Details" tab of Task Manager or using the tasklist command.
  1. Type the following command to create a full dump file for an application and press Enter: procdump -ma APP-OR-PID

In the command, replace APP-OR-PID for the name or process ID of the app. This example creates a full dump file for File Explorer: procdump -ma explorer

  • Quick note: A full dump file contains everything available in memory related to the application. In contrast, a mini dump file is only several megabytes in size, and it includes basic information about the application.

Command Prompt create full dump file

(Image credit: Future)
  1. Confirm the location of the .dmp file.

After you complete the steps, the crash dump file will be created (usually) in the folder with the ProcDump files.

We are focusing this guide on the basics of creating a crash dump file, but you can use procdump /? to learn about all the options available with the utility.

More resources

For more helpful articles, coverage, and answers to common questions about Windows 10 and Windows 11, visit the following resources:

Mauro Huculak

Mauro Huculak has been a Windows How-To Expert contributor for WindowsCentral.com for nearly a decade and has over 15 years of experience writing comprehensive guides. He also has an IT background and has achieved different professional certifications from Microsoft, Cisco, VMware, and CompTIA. He has been recognized as a Microsoft MVP for many years.

Read more
Open Command Prompt on Windows 10
How to launch Command Prompt (standard and admin) on Windows 10
Windows 10 DISM and SFC repair
How to use DISM command tool to repair Windows 10 image
Windows 11 Defender file manual scan
How to scan files manually for virus infection on Windows 11
Surface Laptop Studio 2 photos
How to transfer your Windows 11 setup to a new hard drive — no extra app required
Windows 11 msconfig
What is MSConfig, and how do you use it on Windows 11? System Configuration explained.
Windows 10 mount drive on empty folder
How to mount hard drive as folder on Windows 10
Latest in Windows 10
Windows 10 Find My Device
How to enable Find My Device on Windows 10 to recover your PC if it's ever lost or stolen
Outlook Client Hero
Microsoft just made Windows 10 worse, and there's (almost) nothing you can do about it
Windows 10 Start menu on HP ZBook Studio G4
Microsoft will retroactively downgrade this part of Windows 10 next month
Former Microsoft Executive Vice President Terry Myerson stands in front of a presentation about Windows 10
Microsoft addresses the 'elephant in the room,' discusses upcoming end of Windows 10 support
Surface Hub 2S
Windows 10 for PCs is not the only version of Windows to reach end of support this year
Windows Insider program settings
Microsoft shuts down the Windows 10 Beta Channel just five months after reopening it
Latest in How-to
The First Berserker: Khazan
Is The First Berserker: Khazan on Xbox Game Pass?
Clair Obscur: Expedition 33
Is Clair Obscur: Expedition 33 on Xbox Game Pass?
A close-up of Hazel in South of Midnight
Is South of Midnight on Xbox Game Pass?
Atomfall screenshot
Atomfall: How to grab the best melee weapon and melee perk right away
Atomfall District B
Atomfall: How to open District B, get inside the Robot Facility, and grab the Signal Redirector
Atomfall District A photo
Atomfall: How to open District A and get inside the Medical Facility