Dump Files - Configure Windows to Create on BSOD

Page 1 of 7 123 ... LastLast
    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
    Designer Media Ltd


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


       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

    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)
    Dump Files - Configure Windows to Create on BSOD-step2.jpg
    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)
    Dump Files - Configure Windows to Create on BSOD-none.jpg
    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)
    Dump Files - Configure Windows to Create on BSOD-minidump.jpg
    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)
    Dump Files - Configure Windows to Create on BSOD-kernal_memory_dump.jpg
    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)
    Dump Files - Configure Windows to Create on BSOD-complete_memory_dump.jpg
    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)
    Dump Files - Configure Windows to Create on BSOD-complete_memory_dump2.jpg
    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)
    Dump Files - Configure Windows to Create on BSOD-complete_memory_dump3.jpg



    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
    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
    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
    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
    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

    Dump Files - Configure Windows to Create on BSOD-cmd-1.jpg
    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.
    Dump Files - Configure Windows to Create on BSOD-cmd-2.jpg
    8. Restart the computer to apply.
    That's it,
    Shawn







  1. Posts : 17,796
    Windows 10, Home Clean Install
       #1

    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.
    Last edited by richc46; 11 Jul 2011 at 05:22.
      My Computer


  2. Posts : 5,405
    Windows 7 Ultimate 64bit SP1
       #2

    Yeaaah!! Brink have done his magic again! :)
    This is very helpful!!
    Well i Bookmark that page.
      My Computer


  3. Posts : 71,976
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #3

    You're most welcome guys.

    Thank you Panais for asking me to create a tutorial about this. :)
      My Computer


  4. Posts : 2,298
    Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
       #4

    Excellent Shawn This will help me alot when helping the OP - Bookmarked :)
      My Computer


  5. Posts : 5,405
    Windows 7 Ultimate 64bit SP1
       #5

    Brink said:
    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!!
    Last edited by panais; 11 Jul 2011 at 14:56.
      My Computer


  6. Posts : 19,383
    Windows 10 Pro x64 ; Xubuntu x64
       #6

    Very nice Brink, as usual.
      My Computer


  7. Posts : 71,976
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #7

    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 Computer


  8. Posts : 5,605
    Originally Win 7 Hm Prem x64 Ver 6.1.7600 Build 7601-SP1 | Upgraded to Windows 10 December 14, 2019
       #8

    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. https://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 Computer


  9. Posts : 71,976
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #9

    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 Computer


 
Page 1 of 7 123 ... LastLast

  Related Discussions
Our Sites
Site Links
About 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 09:03.
Find Us