guide · static export
PC · crash

Capture a Crash Dump of an App That Freezes

An app hangs without a blue screen, so Windows writes nothing. LocalDumps and the Task Manager dump command both produce a file support can read, and both work without installing a debugger.

by@guidox updated:10/31/26 time:25 min level:Advanced tested on:Windows 11 24H2 works on:Windows 10, Windows 11, Windows Server 2019 tools:Task Manager, Registry Editor, WinDbg (optional)
TL;DR

Enable **LocalDumps** under **HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting**, set **DumpType 2** for a full dump, reproduce the hang, then read the file. Task Manager can dump a process instantly.

Before you start

Requirements

  • Admin rights
  • Free disk space equal to the app's memory use
  • 25 minutes
Step by step

Instructions

01

Try the free dump first

**Task Manager** creates a dump of a live process on demand. For a hang that is still visible in the list, this is faster than configuring anything.

taskmgr
:: Details tab > right-click the process > Create dump file
:: file lands in %TEMP% as <name>.DMP
dir $env:TEMP\*.DMP
02

Enable dumps for crashes that happen later

**LocalDumps** makes Windows Error Reporting write a file every time the app crashes. The keys are machine-wide by default, and a subkey named after the executable narrows it to one app.

reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" /v DumpFolder /t REG_EXPAND_SZ /d C:\CrashDumps /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" /v DumpType /t REG_DWORD /d 2 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" /v DumpCount /t REG_DWORD /d 5 /f
mkdir C:\CrashDumps
⚠ warningA full dump of a large application can be several gigabytes. Set DumpCount and keep the folder on a drive with room.
03

Confirm the settings with typed values

**DumpFolder** must be REG_EXPAND_SZ, otherwise a path with an environment variable silently fails. Reading the key back shows the type as well as the value.

reg query "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" /s
04

Reproduce the crash and collect

Dumps appear only when the process fails on its own. Watch the folder while you work, and note the failure type the event log records beside it.

Start-Process notepad
:: force a crash of the sample app to test the configuration
Get-ChildItem C:\CrashDumps | Sort-Object LastWriteTime -Descending | Select-Object -First 3 Name,Length,LastWriteTime
Get-WinEvent -LogName Application -MaxEvents 20 | Where-Object ProviderName -eq 'Application Error' | Select-Object TimeCreated,Message
05

Read the dump's fingerprint

A dump is identified by its module list and the faulting thread. Without a debugger you can still read the header strings to see which module appears, which often names the culprit.

Select-String -Path C:\CrashDumps\*.dmp -Pattern 'clr.dll|ntdll|kernel32|d3d11' -Encoding Byte -ErrorAction SilentlyContinue
Get-ChildItem C:\CrashDumps | Select-Object Name,Length
tipOpen the file in WinDbg and run **!analyze -v** for the full stack. The command works on these dumps without any symbol server for the first look.
06

Turn the collection off again

Left in place, the configuration fills the disk quietly. Remove the key after the investigation, or narrow it to the single application you are chasing.

reg delete "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" /f
reg query "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps"
Troubleshooting

Common issues

No dump appears after a crash

The crash is not handled by WER, or a policy disables it. Check Get-MpComputerStatus and the WER service status, and try the Task Manager dump while the app hangs.

Task Manager cannot dump the process

Access denied or the process is protected. Run Task Manager as administrator, or use procdump from the Sysinternals suite with the -ma switch.

The dump is tiny and useless

DumpType 1 is a minidump with limited data. Set it to 2 and reproduce again for a full memory dump.

The folder fills the disk

DumpCount limits how many files are kept. Lower it to three and point DumpFolder at a drive with free space.

FAQ

Frequently asked

Is this the same as a blue screen dump?

No. A blue screen is a kernel fault and writes to C:\Windows\Minidump. This guide captures a single user-mode application.

Can I attach the dump to a support ticket?

Yes, that is the point. Full dumps can contain personal data, so prefer a minidump unless support asks for memory.

How to undo this

Delete the LocalDumps key with reg delete, and remove the files under C:\CrashDumps. Dumps created by Task Manager stay in %TEMP% until you delete them.

Changelog · 1 entry
  1. 2026-10-31
    First version
Interactive version: checklist, feedback, related guides →

Free · no account needed · tracks your progress