Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Dump Files - Configure Windows to Create on BSOD


Dump Files - Configure Windows to Create on BSOD

How to Configure Windows to Create a Dump File for when you get a Blue Screen of Death
Published by Brink
11 Jul 2011
Published by

How to Configure Windows to Create a Dump File for when you get a BSOD


information   Information
This will show you how to set to create either a Kernel memory dump, Small memory dump (minidump), Complete memory dump, or no memory dump file when you get a BSOD (Blue Screen of Death) in Vista, Windows 7, and Windows 8.

For more information about crash dump files, please see: Understanding Crash Dump Files - Ask the Performance Team - Site Home - TechNet Blogs

You must be logged in as an administrator to be able to do this tutorial.

Note   Note

Complete memory dump
A complete memory dump records all the contents of physical memory (RAM) at the time of the crash. A complete memory dump may contain data from processes that were running when the memory dump was collected. If a second crash occurs and another complete memory dump (or kernel memory dump) file is created, the previous contents of the C:\Windows\MEMORY.DMP file are overwritten.

By default, the complete memory dump option is not available in Startup and Recovery on computers that have 2 gigabytes (GB) or more of RAM installed. You can still set Windows to create a Complete memory dump using the REG file in step 4 of Option Two below though.

The complete memory dump will require that there is a page file set to at least the size of physical memory installed plus 1MB (for the header).


Kernel memory dump
A kernel dump contains only the kernel-mode read / write pages present in physical memory at the time of the crash. Since this is a kernel-mode only dump, there are no pages belonging to user-mode processes. However, it is unlikely that the user-mode process pages would be required since a system crash (bugcheck) is usually caused by kernel-mode code. The list of running processes, state of the current thread and list of loaded drivers are stored in nonpaged memory that saves in a kernel memory dump. The size of a kernel memory dump will vary based on the amount of kernel-mode memory allocated by Windows and the drivers that are present on the system.

If a second crash occurs and another kernel memory dump (or complete memory dump) file is created, the previous contents of the C:\Windows\MEMORY.DMP file are overwritten.


Small memory dump
A small memory dump (Minidump) is a C:\Windows\Minidump dump file that contains the stop code, parameters, list of loaded device drivers, information about the current process and thread, and the kernel stack for the thread that caused the crash.






OPTION ONE
Configure Dump File Settings in "Startup and Recovery"
1. Open the Start Menu, copy and paste SystemPropertiesAdvanced.exe into the search box, and press Enter.

2. If prompted by UAC, then click on Yes (Windows 7) or Continue (Vista).

3. In the Advanced tab, click on the Settings button under Startup and Recovery. (see screenshot below)
Name:  Step2.jpg
Views: 46608
Size:  64.7 KB
4. Check both the Write an event to the system log and Automatically restart boxes. (see screenshots below)

5. To Not have Windows Create a Dump File on BSOD
A) Select (none) from the Write debugging information drop down menu, and click on OK. (see screenshot below)
Name:  None.jpg
Views: 46337
Size:  57.1 KB
B) Go to step 9.
6. To have Windows Create a Small memory dump (Minidump) File on BSOD
A) Select Small memory dump (# KB) from the Write debugging information drop down menu. (see screenshot below)
Name:  MiniDump.jpg
Views: 46712
Size:  58.5 KB
B) Check to make sure that Small dump directory has the location below entered for it, and click on OK. (see screenshot above)
%SystemRoot%\Minidump
C) Go to step 9.
7. To have Windows Create a Kernel memory dump File on BSOD
NOTE: This is the default setting.
A) Select Kernel memory dump from the Write debugging information drop down menu. (see screenshot below)
Name:  Kernal_Memory_Dump.jpg
Views: 46128
Size:  59.0 KB
B) Check to make sure that Dump file has the location below entered for it. (see screenshot above)
%SystemRoot%\MEMORY.DMP
C) Check the Overwrite any existing file box, and click on OK. (see screenshot above)

D) Go to step 9.
8. To have Windows Create a Complete memory dump File on BSOD
WARNING: See the NOTE box at the top of the tutorial for important information about the page file requirements for this type of dump file to be created. This option will not be available if you have 2GB or more of RAM installed.
A) Select Complete memory dump from the Write debugging information drop down menu. (see screenshot below)
Name:  Complete_Memory_Dump.jpg
Views: 46155
Size:  56.4 KB
B) Check to make sure that Dump file has the location below entered for it. (see screenshot above)
%SystemRoot%\MEMORY.DMP
C) Check the Overwrite any existing file box, and click on OK. (see screenshot above)

D) If prompted, click on OK. (see screenshot below)
Name:  Complete_Memory_Dump2.jpg
Views: 46011
Size:  25.3 KB
E) Continue on to step 9.
9. Click on OK. (see screenshot below step 3)

10. If prompted, click on Restart after you save and close anything that you have open. (see screenshot below)
Name:  Complete_Memory_Dump3.jpg
Views: 45955
Size:  21.4 KB




OPTION TWO
Configure Dump File Settings with a REG File Download
1. To Not have Windows Create a Dump File on BSOD
A) Click on the Download button below to download the below.
Create_NO_Dump_File_on_BSOD.reg
download
B) Go to step 5.
2. To have Windows Create a Small memory dump (Minidump) File on BSOD
A) Click on the Download button below to download the below.
Create_Minidump_on_BSOD.reg
download
B) Go to step 5.
3. To have Windows Create a Kernel memory dump File on BSOD
NOTE: This is the default setting.
A) Click on the Download button below to download the below.
Create_Kernel_memory_dump_on_BSOD.reg
download
B) Go to step 5.
4. To have Windows Create a Complete memory dump File on BSOD
WARNING: See the NOTE box at the top of the tutorial for important information about the page file requirements for this type of dump file to be created.
A) Click on the download button below to download the below.
Create_Complete_memory_dump_on_BSOD.reg
download
B) Continue on to step 5.
5. Save the .reg file to your desktop.

6. Double click on the downloaded .reg file to merge it.

7. When prompted, click on Run, Yes (UAC-Windows 7/8) or Continue (UAC-Vista), Yes, and OK to approve merging the .reg file.

8. Restart the computer to apply.

9. You can now delete the downloaded .reg file if you like.



OPTION THREE
Configure Dump File Settings in Elevated Command Prompt
1. Open an elevated command prompt.

2. To View the Current Memory Dump Type Setting
A) Copy and paste the command below into the elevated command prompt, and press Enter. (see screenshot below)
NOTE: For example, it is set to 2 for a kernal memory dump.
wmic RECOVEROS get DebugInfoType

Name:  CMD-1.jpg
Views: 46495
Size:  34.0 KB
B) Do step 3, 4, 5, or 6 below for what type of memory dump you would like to have created if you get a BSOD.
3. To Not have Windows Create a Dump File on BSOD
A) Copy and paste the command below into the elevated command prompt, and press Enter. (see screenshot below step 7)
wmic RECOVEROS set DebugInfoType = 0
B) Go to step 7.
4. To have Windows Create a Small memory dump (Minidump) File on BSOD
A) Copy and paste the command below into the elevated command prompt, and press Enter. (see screenshot below step 7)
wmic RECOVEROS set DebugInfoType = 3
B) Go to step 7.
5. To have Windows Create a Kernel memory dump File on BSOD
NOTE: This is the default setting.
A) Copy and paste the command below into the elevated command prompt, and press Enter. (see screenshot below step 7)
wmic RECOVEROS set DebugInfoType = 2
B) Go to step 7.
6. To have Windows Create a Complete memory dump File on BSOD
WARNING: See the NOTE box at the top of the tutorial for important information about the page file requirements for this type of dump file to be created.
A) Copy and paste the command below into the elevated command prompt, and press Enter. (see screenshot below step 7)
wmic RECOVEROS set DebugInfoType = 1
B) Go to step 7.
7. Close the elevated command prompt.
Name:  CMD-2.jpg
Views: 46338
Size:  57.5 KB
8. Restart the computer to apply.
That's it,
Shawn




11 Jul 2011   #1
richc46

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium SP1, clean install, upgrade disc
 
 

All of your tutorials are awesome, but some are more of help to me than others. This one will truly help me to assist those who report back that they have no dump report.


My System SpecsSystem Spec
11 Jul 2011   #2
panais

Windows 7 Ultimate 64bit SP1
 
 

Yeaaah!! Brink have done his magic again!
This is very helpful!!
Well i Bookmark that page.
My System SpecsSystem Spec
11 Jul 2011   #3
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

You're most welcome guys.

Thank you Panais for asking me to create a tutorial about this.
My System SpecsSystem Spec
.


11 Jul 2011   #4
Shadowjk

Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
 
 

Excellent Shawn This will help me alot when helping the OP - Bookmarked
My System SpecsSystem Spec
11 Jul 2011   #5
panais

Windows 7 Ultimate 64bit SP1
 
 

Quote   Quote: Originally Posted by Brink View Post
You're most welcome guys.

Thank you Panais for asking me to create a tutorial about this.
No.I thank you!I am proud to be a member of this forum!!
My System SpecsSystem Spec
12 Jul 2011   #6
Golden

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64 Windows 8.1 x64
 
 

Very nice Brink, as usual.
My System SpecsSystem Spec
12 Jul 2011   #7
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Thank you guys. If there's any others that I can make to help make it easier for you to help the OP with, then please just PM or VM me about it. I'll be happy to see what I can do.
My System SpecsSystem Spec
13 Jul 2011   #8
Anak

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1
 
 

Hi! Brink, here is a good one.

Op would like to know if there is a way to cause windows to take a memory dump of the system while it is running, and then be able to read it. http://www.sevenforums.com/crashes-debugging/174768-force-memory-dump.html#post1489859
He would also have to have windbg, right?

I found two programs, Bang, and PMDump, but hesitate to suggest them because of dubious site reputation.

Would you mind taking a look? Thank you, Steve....
My System SpecsSystem Spec
13 Jul 2011   #9
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Steve,

Yeah, I would stay away from anything dubious. I think what you suggested at that link would be the best and safest way to. I'm just not sure it's a good idea to force a BSOD IMO though. He would need windbg or some other program that is able to read the dump file.
My System SpecsSystem Spec
Comment

 Dump Files - Configure Windows to Create on BSOD




Tutorial Tools



Similar help and support threads for2: Dump Files - Configure Windows to Create on BSOD
Windows 7 Tutorial Category
Solved Cannot create crash dump on BSOD BSOD Help and Support
Solved BSODs but no longer seem to create dump files BSOD Help and Support
Random BSODs. Laptop doesn't always create dump files. BSOD Help and Support
BSOD (0x000000F4) and dump files not generating. Windows 7 Ultimate 64 BSOD Help and Support
Solved BSOD!! windows 7.. 0x0000012e. dump files included.. netwrk driver upd BSOD Help and Support
BSoD doesn't create a crash dump? BSOD Help and Support
Please analyze these BSOD dump files - windows crashes at startup BSOD Help and Support

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:15 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33