<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://truxwiki.com/index.php?action=history&amp;feed=atom&amp;title=Enable_Crash_Dumps</id>
	<title>Enable Crash Dumps - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://truxwiki.com/index.php?action=history&amp;feed=atom&amp;title=Enable_Crash_Dumps"/>
	<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Enable_Crash_Dumps&amp;action=history"/>
	<updated>2026-09-09T14:26:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://truxwiki.com/index.php?title=Enable_Crash_Dumps&amp;diff=6023&amp;oldid=prev</id>
		<title>Sam: Created page with &quot;You can set Windows to generate a memory dump file should a process crash. This makes debugging much easier.  =Description= A memory crash dump is a file that contains the mem...&quot;</title>
		<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Enable_Crash_Dumps&amp;diff=6023&amp;oldid=prev"/>
		<updated>2022-10-18T09:54:41Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;You can set Windows to generate a memory dump file should a process crash. This makes debugging much easier.  =Description= A memory crash dump is a file that contains the mem...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;You can set Windows to generate a memory dump file should a process crash.&lt;br /&gt;
This makes debugging much easier.&lt;br /&gt;
&lt;br /&gt;
=Description=&lt;br /&gt;
A memory crash dump is a file that contains the memory of a process that was running.&lt;br /&gt;
The steps to configure Windows to generate these files is a process unexpectedly exist are described [https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps here] and [https://www.meziantou.net/tip-automatically-create-a-crash-dump-file-on-error.htm here.]&lt;br /&gt;
&lt;br /&gt;
=Sample Script=&lt;br /&gt;
The following PowerShell script will configure a machine to write a maximum of 500 crash dumps to a folder named &amp;quot;C:\ClusterStorage\Scratch\U05\CrashDumps&amp;quot;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;powershell&amp;quot;&amp;gt;&lt;br /&gt;
New-Item -Path &amp;quot;HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting&amp;quot; -Name &amp;quot;LocalDumps&amp;quot;&lt;br /&gt;
New-ItemProperty -Path &amp;quot;HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps&amp;quot; -Name &amp;quot;DumpFolder&amp;quot; -Value &amp;quot;C:\ClusterStorage\Scratch\U05\CrashDumps&amp;quot; -PropertyType &amp;quot;ExpandString&amp;quot;&lt;br /&gt;
New-ItemProperty -Path &amp;quot;HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps&amp;quot; -Name &amp;quot;DumpCount&amp;quot; -Value 500 -PropertyType DWord&lt;br /&gt;
New-ItemProperty -Path &amp;quot;HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps&amp;quot; -Name &amp;quot;DumpType&amp;quot; -Value 1 -PropertyType DWord&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sam</name></author>
		
	</entry>
</feed>