Externally enable minidump creation in Windows












0















I'm still in the process of fixing this problem, and user Moab suggested analyzing the dump file created during the BSOD.

I can boot into Hiren's BootCD PE, hoping I would be able to find dump files in C:WindowsMinidump, but there is not a single file to be found. Makes sense: I remember turning the feature off.




However, is there a way to enable the creation of (mini) dump files in a Windows 10 installation using a boot disk such as Hiren's?










share|improve this question





























    0















    I'm still in the process of fixing this problem, and user Moab suggested analyzing the dump file created during the BSOD.

    I can boot into Hiren's BootCD PE, hoping I would be able to find dump files in C:WindowsMinidump, but there is not a single file to be found. Makes sense: I remember turning the feature off.




    However, is there a way to enable the creation of (mini) dump files in a Windows 10 installation using a boot disk such as Hiren's?










    share|improve this question



























      0












      0








      0








      I'm still in the process of fixing this problem, and user Moab suggested analyzing the dump file created during the BSOD.

      I can boot into Hiren's BootCD PE, hoping I would be able to find dump files in C:WindowsMinidump, but there is not a single file to be found. Makes sense: I remember turning the feature off.




      However, is there a way to enable the creation of (mini) dump files in a Windows 10 installation using a boot disk such as Hiren's?










      share|improve this question
















      I'm still in the process of fixing this problem, and user Moab suggested analyzing the dump file created during the BSOD.

      I can boot into Hiren's BootCD PE, hoping I would be able to find dump files in C:WindowsMinidump, but there is not a single file to be found. Makes sense: I remember turning the feature off.




      However, is there a way to enable the creation of (mini) dump files in a Windows 10 installation using a boot disk such as Hiren's?







      windows-10 dump minidumps boot-cd






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 24 at 19:25







      Joachim

















      asked Jan 24 at 18:58









      JoachimJoachim

      1037




      1037






















          2 Answers
          2






          active

          oldest

          votes


















          1














          You can set Windows to produce mini-dump by setting



          [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlCrashControl]
          “CrashDumpEnabled”=dword:00000003


          You could set it to 7 rather than 3 to get an Automatic dump. See this MS documentation.



          Depending on the dump file you want to produce you'll also need to make sure that the pagefile exists and is big enough. From a boot disk you could set this key



          [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory Management]
          "PagingFiles"="C:pagefile.sys 400 400"


          The 400 are 400MB minimum and maximum - to set to automatic you would set the value to "C:pagefile.sys 0 0" - This is taken from this TechNet PowerShell script.



          You can do this certainly do this from a boot disk by updating the host registry. There is an external Tenforums.com tutorial on editing offline registries if you don't know how to do this. There is also a specific tutorial for using Hirens here



          None of this however is going to give you a dump for a previous event though. If the dumps you want don't exist then they don't exist. Changing rules about producing them in future will only make them appear next time not retrospectively.



          In that case while you could make these changes from a boot disk you could equally well make them from the failing system itself. Set the page file size to automatic, set the system to produce dumps and try to recreate the error.






          share|improve this answer


























          • I'm aware of the fact that these dumps are not retroactive, but my laptop keeps running into BSOD's after I used the Windows Update Troubleshooter to 'fix' problems I had. I won't be running out of specimens soon, I fear.

            – Joachim
            Jan 24 at 19:51








          • 1





            I added a link to updating an offline registry using Hines's boot disk specifically if that helps.

            – lx07
            Jan 24 at 20:23



















          0














          Turns out, it can quite easily be done using the (elevated) command prompt, as long as you have access to the respective disk containing the OS:




          Search for a cmd or command prompt option, and, if possible, run it as an administrator.

          Navigate to the disk on which the OS is installed (e.g. C:) by typing c:, and follow this up with any of the following options:




          No dump file: wmic RECOVEROS set DebugInfoType = 0
          Small Memory
          Dump: wmic RECOVEROS set DebugInfoType = 3
          Kernel Memory Dump:
          wmic RECOVEROS set DebugInfoType = 2
          Complete Memory Dump: wmic
          RECOVEROS set DebugInfoType = 1

          Automatic Memory Dump: wmic
          RECOVEROS set DebugInfoType = 7

          Active Memory Dump: wmic
          RECOVEROS set DebugInfoType = 1




          Source: thewindowsclub.com






          share|improve this answer



















          • 1





            You would also need to set the pagefile size too.

            – lx07
            Jan 24 at 19:49











          • Yes, but more importantly: referring to the respective disk apparently doesn't work. It still only changes the dump file creation on x: (the disk drive Hiren's boot disk environment - and the command prompt - is being run from).

            – Joachim
            Jan 24 at 19:53






          • 1





            You need to update the offline registry - see here for how to ovia Hiren's : wintips.org/how-to-edit-and-modify-registry-offline/…

            – lx07
            Jan 24 at 20:24











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1398043%2fexternally-enable-minidump-creation-in-windows%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          You can set Windows to produce mini-dump by setting



          [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlCrashControl]
          “CrashDumpEnabled”=dword:00000003


          You could set it to 7 rather than 3 to get an Automatic dump. See this MS documentation.



          Depending on the dump file you want to produce you'll also need to make sure that the pagefile exists and is big enough. From a boot disk you could set this key



          [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory Management]
          "PagingFiles"="C:pagefile.sys 400 400"


          The 400 are 400MB minimum and maximum - to set to automatic you would set the value to "C:pagefile.sys 0 0" - This is taken from this TechNet PowerShell script.



          You can do this certainly do this from a boot disk by updating the host registry. There is an external Tenforums.com tutorial on editing offline registries if you don't know how to do this. There is also a specific tutorial for using Hirens here



          None of this however is going to give you a dump for a previous event though. If the dumps you want don't exist then they don't exist. Changing rules about producing them in future will only make them appear next time not retrospectively.



          In that case while you could make these changes from a boot disk you could equally well make them from the failing system itself. Set the page file size to automatic, set the system to produce dumps and try to recreate the error.






          share|improve this answer


























          • I'm aware of the fact that these dumps are not retroactive, but my laptop keeps running into BSOD's after I used the Windows Update Troubleshooter to 'fix' problems I had. I won't be running out of specimens soon, I fear.

            – Joachim
            Jan 24 at 19:51








          • 1





            I added a link to updating an offline registry using Hines's boot disk specifically if that helps.

            – lx07
            Jan 24 at 20:23
















          1














          You can set Windows to produce mini-dump by setting



          [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlCrashControl]
          “CrashDumpEnabled”=dword:00000003


          You could set it to 7 rather than 3 to get an Automatic dump. See this MS documentation.



          Depending on the dump file you want to produce you'll also need to make sure that the pagefile exists and is big enough. From a boot disk you could set this key



          [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory Management]
          "PagingFiles"="C:pagefile.sys 400 400"


          The 400 are 400MB minimum and maximum - to set to automatic you would set the value to "C:pagefile.sys 0 0" - This is taken from this TechNet PowerShell script.



          You can do this certainly do this from a boot disk by updating the host registry. There is an external Tenforums.com tutorial on editing offline registries if you don't know how to do this. There is also a specific tutorial for using Hirens here



          None of this however is going to give you a dump for a previous event though. If the dumps you want don't exist then they don't exist. Changing rules about producing them in future will only make them appear next time not retrospectively.



          In that case while you could make these changes from a boot disk you could equally well make them from the failing system itself. Set the page file size to automatic, set the system to produce dumps and try to recreate the error.






          share|improve this answer


























          • I'm aware of the fact that these dumps are not retroactive, but my laptop keeps running into BSOD's after I used the Windows Update Troubleshooter to 'fix' problems I had. I won't be running out of specimens soon, I fear.

            – Joachim
            Jan 24 at 19:51








          • 1





            I added a link to updating an offline registry using Hines's boot disk specifically if that helps.

            – lx07
            Jan 24 at 20:23














          1












          1








          1







          You can set Windows to produce mini-dump by setting



          [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlCrashControl]
          “CrashDumpEnabled”=dword:00000003


          You could set it to 7 rather than 3 to get an Automatic dump. See this MS documentation.



          Depending on the dump file you want to produce you'll also need to make sure that the pagefile exists and is big enough. From a boot disk you could set this key



          [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory Management]
          "PagingFiles"="C:pagefile.sys 400 400"


          The 400 are 400MB minimum and maximum - to set to automatic you would set the value to "C:pagefile.sys 0 0" - This is taken from this TechNet PowerShell script.



          You can do this certainly do this from a boot disk by updating the host registry. There is an external Tenforums.com tutorial on editing offline registries if you don't know how to do this. There is also a specific tutorial for using Hirens here



          None of this however is going to give you a dump for a previous event though. If the dumps you want don't exist then they don't exist. Changing rules about producing them in future will only make them appear next time not retrospectively.



          In that case while you could make these changes from a boot disk you could equally well make them from the failing system itself. Set the page file size to automatic, set the system to produce dumps and try to recreate the error.






          share|improve this answer















          You can set Windows to produce mini-dump by setting



          [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlCrashControl]
          “CrashDumpEnabled”=dword:00000003


          You could set it to 7 rather than 3 to get an Automatic dump. See this MS documentation.



          Depending on the dump file you want to produce you'll also need to make sure that the pagefile exists and is big enough. From a boot disk you could set this key



          [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory Management]
          "PagingFiles"="C:pagefile.sys 400 400"


          The 400 are 400MB minimum and maximum - to set to automatic you would set the value to "C:pagefile.sys 0 0" - This is taken from this TechNet PowerShell script.



          You can do this certainly do this from a boot disk by updating the host registry. There is an external Tenforums.com tutorial on editing offline registries if you don't know how to do this. There is also a specific tutorial for using Hirens here



          None of this however is going to give you a dump for a previous event though. If the dumps you want don't exist then they don't exist. Changing rules about producing them in future will only make them appear next time not retrospectively.



          In that case while you could make these changes from a boot disk you could equally well make them from the failing system itself. Set the page file size to automatic, set the system to produce dumps and try to recreate the error.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 24 at 20:22

























          answered Jan 24 at 19:43









          lx07lx07

          604411




          604411













          • I'm aware of the fact that these dumps are not retroactive, but my laptop keeps running into BSOD's after I used the Windows Update Troubleshooter to 'fix' problems I had. I won't be running out of specimens soon, I fear.

            – Joachim
            Jan 24 at 19:51








          • 1





            I added a link to updating an offline registry using Hines's boot disk specifically if that helps.

            – lx07
            Jan 24 at 20:23



















          • I'm aware of the fact that these dumps are not retroactive, but my laptop keeps running into BSOD's after I used the Windows Update Troubleshooter to 'fix' problems I had. I won't be running out of specimens soon, I fear.

            – Joachim
            Jan 24 at 19:51








          • 1





            I added a link to updating an offline registry using Hines's boot disk specifically if that helps.

            – lx07
            Jan 24 at 20:23

















          I'm aware of the fact that these dumps are not retroactive, but my laptop keeps running into BSOD's after I used the Windows Update Troubleshooter to 'fix' problems I had. I won't be running out of specimens soon, I fear.

          – Joachim
          Jan 24 at 19:51







          I'm aware of the fact that these dumps are not retroactive, but my laptop keeps running into BSOD's after I used the Windows Update Troubleshooter to 'fix' problems I had. I won't be running out of specimens soon, I fear.

          – Joachim
          Jan 24 at 19:51






          1




          1





          I added a link to updating an offline registry using Hines's boot disk specifically if that helps.

          – lx07
          Jan 24 at 20:23





          I added a link to updating an offline registry using Hines's boot disk specifically if that helps.

          – lx07
          Jan 24 at 20:23













          0














          Turns out, it can quite easily be done using the (elevated) command prompt, as long as you have access to the respective disk containing the OS:




          Search for a cmd or command prompt option, and, if possible, run it as an administrator.

          Navigate to the disk on which the OS is installed (e.g. C:) by typing c:, and follow this up with any of the following options:




          No dump file: wmic RECOVEROS set DebugInfoType = 0
          Small Memory
          Dump: wmic RECOVEROS set DebugInfoType = 3
          Kernel Memory Dump:
          wmic RECOVEROS set DebugInfoType = 2
          Complete Memory Dump: wmic
          RECOVEROS set DebugInfoType = 1

          Automatic Memory Dump: wmic
          RECOVEROS set DebugInfoType = 7

          Active Memory Dump: wmic
          RECOVEROS set DebugInfoType = 1




          Source: thewindowsclub.com






          share|improve this answer



















          • 1





            You would also need to set the pagefile size too.

            – lx07
            Jan 24 at 19:49











          • Yes, but more importantly: referring to the respective disk apparently doesn't work. It still only changes the dump file creation on x: (the disk drive Hiren's boot disk environment - and the command prompt - is being run from).

            – Joachim
            Jan 24 at 19:53






          • 1





            You need to update the offline registry - see here for how to ovia Hiren's : wintips.org/how-to-edit-and-modify-registry-offline/…

            – lx07
            Jan 24 at 20:24
















          0














          Turns out, it can quite easily be done using the (elevated) command prompt, as long as you have access to the respective disk containing the OS:




          Search for a cmd or command prompt option, and, if possible, run it as an administrator.

          Navigate to the disk on which the OS is installed (e.g. C:) by typing c:, and follow this up with any of the following options:




          No dump file: wmic RECOVEROS set DebugInfoType = 0
          Small Memory
          Dump: wmic RECOVEROS set DebugInfoType = 3
          Kernel Memory Dump:
          wmic RECOVEROS set DebugInfoType = 2
          Complete Memory Dump: wmic
          RECOVEROS set DebugInfoType = 1

          Automatic Memory Dump: wmic
          RECOVEROS set DebugInfoType = 7

          Active Memory Dump: wmic
          RECOVEROS set DebugInfoType = 1




          Source: thewindowsclub.com






          share|improve this answer



















          • 1





            You would also need to set the pagefile size too.

            – lx07
            Jan 24 at 19:49











          • Yes, but more importantly: referring to the respective disk apparently doesn't work. It still only changes the dump file creation on x: (the disk drive Hiren's boot disk environment - and the command prompt - is being run from).

            – Joachim
            Jan 24 at 19:53






          • 1





            You need to update the offline registry - see here for how to ovia Hiren's : wintips.org/how-to-edit-and-modify-registry-offline/…

            – lx07
            Jan 24 at 20:24














          0












          0








          0







          Turns out, it can quite easily be done using the (elevated) command prompt, as long as you have access to the respective disk containing the OS:




          Search for a cmd or command prompt option, and, if possible, run it as an administrator.

          Navigate to the disk on which the OS is installed (e.g. C:) by typing c:, and follow this up with any of the following options:




          No dump file: wmic RECOVEROS set DebugInfoType = 0
          Small Memory
          Dump: wmic RECOVEROS set DebugInfoType = 3
          Kernel Memory Dump:
          wmic RECOVEROS set DebugInfoType = 2
          Complete Memory Dump: wmic
          RECOVEROS set DebugInfoType = 1

          Automatic Memory Dump: wmic
          RECOVEROS set DebugInfoType = 7

          Active Memory Dump: wmic
          RECOVEROS set DebugInfoType = 1




          Source: thewindowsclub.com






          share|improve this answer













          Turns out, it can quite easily be done using the (elevated) command prompt, as long as you have access to the respective disk containing the OS:




          Search for a cmd or command prompt option, and, if possible, run it as an administrator.

          Navigate to the disk on which the OS is installed (e.g. C:) by typing c:, and follow this up with any of the following options:




          No dump file: wmic RECOVEROS set DebugInfoType = 0
          Small Memory
          Dump: wmic RECOVEROS set DebugInfoType = 3
          Kernel Memory Dump:
          wmic RECOVEROS set DebugInfoType = 2
          Complete Memory Dump: wmic
          RECOVEROS set DebugInfoType = 1

          Automatic Memory Dump: wmic
          RECOVEROS set DebugInfoType = 7

          Active Memory Dump: wmic
          RECOVEROS set DebugInfoType = 1




          Source: thewindowsclub.com







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 24 at 19:24









          JoachimJoachim

          1037




          1037








          • 1





            You would also need to set the pagefile size too.

            – lx07
            Jan 24 at 19:49











          • Yes, but more importantly: referring to the respective disk apparently doesn't work. It still only changes the dump file creation on x: (the disk drive Hiren's boot disk environment - and the command prompt - is being run from).

            – Joachim
            Jan 24 at 19:53






          • 1





            You need to update the offline registry - see here for how to ovia Hiren's : wintips.org/how-to-edit-and-modify-registry-offline/…

            – lx07
            Jan 24 at 20:24














          • 1





            You would also need to set the pagefile size too.

            – lx07
            Jan 24 at 19:49











          • Yes, but more importantly: referring to the respective disk apparently doesn't work. It still only changes the dump file creation on x: (the disk drive Hiren's boot disk environment - and the command prompt - is being run from).

            – Joachim
            Jan 24 at 19:53






          • 1





            You need to update the offline registry - see here for how to ovia Hiren's : wintips.org/how-to-edit-and-modify-registry-offline/…

            – lx07
            Jan 24 at 20:24








          1




          1





          You would also need to set the pagefile size too.

          – lx07
          Jan 24 at 19:49





          You would also need to set the pagefile size too.

          – lx07
          Jan 24 at 19:49













          Yes, but more importantly: referring to the respective disk apparently doesn't work. It still only changes the dump file creation on x: (the disk drive Hiren's boot disk environment - and the command prompt - is being run from).

          – Joachim
          Jan 24 at 19:53





          Yes, but more importantly: referring to the respective disk apparently doesn't work. It still only changes the dump file creation on x: (the disk drive Hiren's boot disk environment - and the command prompt - is being run from).

          – Joachim
          Jan 24 at 19:53




          1




          1





          You need to update the offline registry - see here for how to ovia Hiren's : wintips.org/how-to-edit-and-modify-registry-offline/…

          – lx07
          Jan 24 at 20:24





          You need to update the offline registry - see here for how to ovia Hiren's : wintips.org/how-to-edit-and-modify-registry-offline/…

          – lx07
          Jan 24 at 20:24


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1398043%2fexternally-enable-minidump-creation-in-windows%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

          Eduardo VII do Reino Unido