Windows 10: BSOD Minidump - Configure to Create in Windows 10  

    BSOD Minidump - Configure to Create in Windows 10

    BSOD Minidump - Configure to Create in Windows 10

    How to Configure Windows 10 to Create Dump Files on BSOD
    Published by Category: BSOD
    05 Nov 2016
    Designer Media Ltd

    Published by


    Boozad's Avatar
    Better Call Saul

    Location: Wolves, England
    Posts: 1,634

    Show Printable Version 


    How to Configure Windows 10 to Create Dump Files on BSOD

    information   Information
    A blue screen (aka: BSOD) error (also called a stop error) can occur if a problem causes your PC to shut down or restart unexpectedly. When you experience this type of error, you wont be able to see things like the Start menu or the taskbar on the screen when your PC is turned on. Instead you might see a blue screen with a message that your PC ran into a problem and needs to restart.

    In the event of your PC encountering a BSOD (Blue Screen of Death) a Dump File will be required for debugging purposes by a BSOD analyst. By default Windows 10 is set to write Automatic memory dumps, this tutorial will show you how to configure Windows 10 to write Minidumps (Small memory dumps), Kernel memory dumps, Complete memory dumps, Automatic memory dumps and Active memory dumps.

    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 perform any of the steps in this tutorial.

    Note   Note
    Automatic memory dump
    An Automatic Memory Dump contains the same information as a Kernel memory dump. The difference between the two is in the way that Windows sets the size of the system paging file. If the system paging file size is set to System managed size, and the kernel-mode crash dump is set to Automatic Memory Dump, then Windows can set the size of the paging file to less than the size of RAM. In this case Windows sets the size of the paging file large enough to ensure that a kernel memory dump can be captured most of the time.

    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 if you wish.

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

    Active memory dump
    An active memory dump is smaller than a Complete memory dump, however it still contains active memory in both kernel and user mode. You can now obtain kernel information as well as user information without having to dump the complete memory.

    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.




    BSOD Minidump - Configure to Create in Windows 10 INTRODUCTION BSOD Minidump - Configure to Create in Windows 10
     List of Contents

    Option One: Configure Dump File Settings in Start-up and Recovery
    Option Two: Configure Dump File Settings with a REG file download
    Option Three: Configure Dump File Settings in Elevated Command Prompt




    BSOD Minidump - Configure to Create in Windows 10 OPTION ONE BSOD Minidump - Configure to Create in Windows 10
     Configure Dump File Settings in Start-up and Recovery

    1: Open Control Panel

    2: Click/tap on System and Security

    Click image for larger version. 

Name:	Control Panel.PNG 
Views:	1012 
Size:	116.5 KB 
ID:	17484

    3: Click/tap on System

    Click image for larger version. 

Name:	System & Security.PNG 
Views:	2675 
Size:	110.0 KB 
ID:	17485

    4: Click/tap on Advanced System Settings, the System Properties window will open.

    Click image for larger version. 

Name:	System.png 
Views:	1528 
Size:	69.4 KB 
ID:	17486

    5: In the Start-up and Recovery section click/tap on Settings...

    Name:  Advanced System Settings.PNG
Views: 96080
Size:  33.6 KB

    6: In the System failure section ensure both Write an event to the system log and Automatically restart options are checked. In the Write debugging information section click on the dropdown box and select either of the options below then click/tap OK:



    BSOD Minidump - Configure to Create in Windows 10 No Dump Files BSOD Minidump - Configure to Create in Windows 10
    Have Windows NOT Create a Dump File on BSOD

    Name:  none.PNG
Views: 95848
Size:  22.8 KB



    BSOD Minidump - Configure to Create in Windows 10 Small Memory Dumps BSOD Minidump - Configure to Create in Windows 10
    Have Windows Create a Small Memory Dump (Minidump) on BSOD

    Name:  Small  Memory Dump Save Location.PNG
Views: 95865
Size:  24.2 KB




    BSOD Minidump - Configure to Create in Windows 10 Kernel Memory Dumps BSOD Minidump - Configure to Create in Windows 10
    Have Windows Create a Kernel Memory Dump on BSOD

    Name:  Kernal Dump Save Location.PNG
Views: 95876
Size:  23.0 KB




    BSOD Minidump - Configure to Create in Windows 10 Complete Memory Dumps BSOD Minidump - Configure to Create in Windows 10
    Have Windows Create a Complete Memory Dump on BSOD

    Name:  Complete Memory Dump Save Location.PNG
Views: 106036
Size:  23.1 KB




    BSOD Minidump - Configure to Create in Windows 10 Automatic Memory Dumps BSOD Minidump - Configure to Create in Windows 10
    Have Windows Create an Automatic Memory Dump on BSOD

    Name:  Automatic Memory Dump Save Location.PNG
Views: 95615
Size:  23.1 KB




    BSOD Minidump - Configure to Create in Windows 10 Active Memory Dumps BSOD Minidump - Configure to Create in Windows 10
    Have Windows Create an Active Memory Dump on BSOD

    Name:  Active Memory Dump Save Location.PNG
Views: 95649
Size:  23.2 KB
    Note   Note
    Ensure the Small dump directory: for Small memory dumps (Dump file: for all other dump types) save location box underneath the dropdown box reads the following for each selected dump:

    Dump Type Save Location
    (none) %SystemRoot%\MEMORY.DMP (Greyed out)
    Small memory dump (256kb) %SystemRoot%\Minidump
    Kernel memory dump %SystemRoot%\MEMORY.DMP
    Complete memory dump %SystemRoot%\MEMORY.DMP
    Automatic memory dump %SystemRoot%\MEMORY.DMP
    Active memory dump %SystemRoot%\MEMORY.DMP

    7: You can now close Control Panel.



    BSOD Minidump - Configure to Create in Windows 10 OPTION TWO BSOD Minidump - Configure to Create in Windows 10
     Configure Dump File Settings with a REG file download

    1: Download the relevant .reg file from the list below for which Memory Dump you want Windows to create:



    BSOD Minidump - Configure to Create in Windows 10 No Memory Dumps BSOD Minidump - Configure to Create in Windows 10
    Have Windows NOT Create a Memory Dump on BSOD

    Click the download button below to download Create_NO_dump_file_on_BSOD.reg

    download
    Go to Step 2



    BSOD Minidump - Configure to Create in Windows 10 Small Memory Dumps (Minidumps) BSOD Minidump - Configure to Create in Windows 10
    Have Windows Create a Small Memory Dump (Minidump) on BSOD

    Click the download button below to download Create_Minidump_on_BSOD.reg

    download
    Go to Step 2



    BSOD Minidump - Configure to Create in Windows 10 Kernel Memory Dumps BSOD Minidump - Configure to Create in Windows 10
    Have Windows Create a Kernel Memory Dump on BSOD

    Click the download button below to download Create_Kernel_memory_dump_on_BSOD.reg

    download
    Go to Step 2



    BSOD Minidump - Configure to Create in Windows 10 Complete Memory Dumps BSOD Minidump - Configure to Create in Windows 10
    Have Windows Create a Complete Memory Dump on BSOD

    Click the download button below to download Create_Complete_memory_dump_on_BSOD.reg

    download
    Go to Step 2



    BSOD Minidump - Configure to Create in Windows 10 Automatic Memory Dumps BSOD Minidump - Configure to Create in Windows 10
    Have Windows Create an Automatic Memory Dump on BSOD

    Click the download button below to download Automatic_memory_dump.reg

    download
    Go to Step 2



    BSOD Minidump - Configure to Create in Windows 10 Active Memory Dumps BSOD Minidump - Configure to Create in Windows 10
    Have Windows Create an Active Memory Dump on BSOD

    Click the download button below to download Active_memory_dump.reg

    download
    Go to Step 2

    2: Save the .reg file to your desktop or other convenient location

    3: Double click on the downloaded .reg file to merge it.

    4: When prompted, click on Run, Yes, Yes, and OK to approve merging the .reg file.

    5: Restart the computer to apply.

    6: You can now delete the downloaded .reg file if you wish.




    BSOD Minidump - Configure to Create in Windows 10 OPTION THREE BSOD Minidump - Configure to Create in Windows 10
     Configure Dump File Settings in Elevated Command Prompt

    1: Open an Elevated Command Prompt

    2:
    Enter the relevant command from the list below to set the type of dump file you wish to set



    BSOD Minidump - Configure to Create in Windows 10 No Memory Dumps BSOD Minidump - Configure to Create in Windows 10
    Have Window NOT Create a Dump File

    A) Copy and paste the command below into the elevated command prompt, and press Enter. (see screenshot below the command list)

    wmic RECOVEROS set DebugInfoType = 0

    B)
    Go to Step 3



    BSOD Minidump - Configure to Create in Windows 10 Small Memory Dumps BSOD Minidump - Configure to Create in Windows 10
    Have Windows Create a Small Memory Dump (Minidump) on BSOD

    A) Copy and paste the command below into the elevated command prompt, and press Enter. (see screenshot below the command list)

    wmic RECOVEROS set DebugInfoType = 3

    B)
    Go to Step 3



    BSOD Minidump - Configure to Create in Windows 10 Kernel Memory Dumps BSOD Minidump - Configure to Create in Windows 10
    Have Windows Create a Kernel Memory Dump 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 the command list)

    wmic RECOVEROS set DebugInfoType = 2

    B)
    Go to Step 3



    BSOD Minidump - Configure to Create in Windows 10 Complete Memory Dumps BSOD Minidump - Configure to Create in Windows 10
    Have Windows Create a Complete Memory Dump on BSOD

    WARNING:
    Ensure you read the important information regarding page file requirements in order for this type of dump to be created.

    A) Copy and paste the command below into the elevated command prompt, and press Enter. (see screenshot below the command list)

    wmic RECOVEROS set DebugInfoType = 1

    B)
    Go to Step 3



    BSOD Minidump - Configure to Create in Windows 10 Automatic Memory Dumps BSOD Minidump - Configure to Create in Windows 10
    Have Windows Create an Automatic Memory Dump on BSOD

    A) Copy and paste the command below into the elevated command prompt, and press Enter. (see screenshot below the command list)

    wmic RECOVEROS set DebugInfoType = 7

    B)
    Go to Step 3



    BSOD Minidump - Configure to Create in Windows 10 Active Memory Dumps BSOD Minidump - Configure to Create in Windows 10
    Have Windows Create an Active Memory Dump on BSOD

    A) Copy and paste the command below into the elevated command prompt, and press Enter. (see screenshot below the command list)

    wmic RECOVEROS set DebugInfoType = 1

    B)
    Go to Step 3

    Click image for larger version. 

Name:	C Prompt 2.JPG 
Views:	446 
Size:	85.8 KB 
ID:	17655

    3: Close the Elevated Command Prompt

    4: Restart the computer to apply the settings

     View the Current Memory Dump Type Setting


    To view the current Memory Dump type setting

    A) Open an Elevated Command Prompt

    B) Copy and paste the command below into the elevated command prompt, and press Enter

    wmic RECOVEROS get DebugInfoType

    Note   Note
    The example below shows the system set to 3 for a Small Memory Dump (minidump)

    Click image for larger version. 

Name:	C Prompt 1.JPG 
Views:	536 
Size:	66.3 KB 
ID:	17654


    That's it,
    Gav.

    Massive thanks to Brink for the huge amount of help in making this tutorial as complete as it is.


  1.    19 Aug 2016 #1

    The Create_Complete_memory_dump_on_BSOD.reg download link opens a picture and does not download a reg file. The kernel reg file download works fine.
      My System SpecsSystem Spec

  2. Brink's Avatar
    Posts : 18,906
    64-bit Windows 10 Pro build 15063
       19 Aug 2016 #2

    Hello @jaylweb, and welcome to Ten Forums.

    Sorry about that. The download has now been fixed.
      My System SpecsSystem Spec

  3.    08 Sep 2016 #3

    Hi Brink
    I deleted my temp files yesterday using windows disk cleanup and my dump files have gone does this mean I forgot to un-tick the box before I clicked OK and I wiped them out? I have had a couple of BSOD in the last month caused by my anti virus security and the tech team wants my dump files ...hence finding out they are gone also in the pic will these settings be OK for system failure : overwrite any existing file....and.....disable automatic deletion of memory dumps when disk space is low is it OK to leave un-ticked ?

    thanks in advance

    Name:  Ashampoo_Snap_2016.09.08_16h43m15s_002_.png
Views: 7567
Size:  117.8 KB
      My System SpecsSystem Spec

  4. Brink's Avatar
    Posts : 18,906
    64-bit Windows 10 Pro build 15063
       08 Sep 2016 #4

    Hey Brian,

    Nar, it was just deleted by Disk Cleanup.

    Those settings are fine. It allow you to keep multiple dump files until you disk space runs low to then delete the oldest dump file as needed to for a new one.
      My System SpecsSystem Spec

  5.    08 Sep 2016 #5

    sweet thanks very much Brink
      My System SpecsSystem Spec

  6.    06 Nov 2016 #6

    Hi Guys...

    When you specify that a dump file should be created as a result of a BSOD and your page file is not on your Boot drive you will get a message stating you need to create a page file on it. I vaguely recall finding a way to put your only page file on D for example and still have Windows take a dump (lol). In fact, I also recall that whatever I found at the time actually worked. I suspect it is a Registry entry or Group Policy thing. Any help to get this working will be appreciated.
      My System SpecsSystem Spec

  7. ICIT2LOL's Avatar
    Posts : 448
    7 and 10 on various machines
       24 Dec 2016 #7

    Now I have probably asked already but am now getting more involved with 10 I can see the configuring stuff but am wondering how the results are posted in the 10 forum like they are in 7??
      My System SpecsSystem Spec

  8. axe0's Avatar
    Posts : 11,186
    Windows 10 Pro / Windows 10 TP / Windows 8.1 Pro / Windows 7 Pro
       24 Dec 2016 #8

    The results are posted exactly as in 7
      My System SpecsSystem Spec

  9. ICIT2LOL's Avatar
    Posts : 448
    7 and 10 on various machines
       24 Dec 2016 #9

    Thanks mate
      My System SpecsSystem Spec


 

Related Threads
How to Install and Configure WinDBG for BSOD Analysis WinDBG (Windows DeBuGger) is a Microsoft software tool that is needed to load and analyse the .dmp files that are created when a system BSOD's. The latest version of WinDBG allows debugging of...
Is it possible to configure the Server Ports in the outlook e-mail app? I use AT&T for e-mail, and my mail account requires that I use server port 995 (incoming) and 465 (outgoing). I can create a new POP3 service for AT&T and setup everything up...
BSOD during update from Windows 10 TP in BSOD Crashes and Debugging
In first, sorry for any English mistakes, I'm Dutch. I'm experiencing a BSOD during the update from Windows 10 TP build 10074 to 10122 or the newer 100130. When the install is at 32% it crashes with the error CRITICAL_PROCESS_DIED or...
Working on several projects at one time, and using primarily laptops with not that great support for virtualization, so I am loathe to install a basic Win 7 in virt jsut to be able to use hte Win 7 AIK. In a past tutorial, Kari mentioned that the...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 23:24.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums