Tuesday 1 June 2021

Yes, you can enable, disable, and even manage how Windows 10 creates dump files during blue screen errors, and in this guide, we'll show you how with Settings and commands.

Windows 10 comes with predefined settings to create crash dump files and take specific actions automatically during a critical error. However, you can customize the experience to tell the system how you want to record the data and what action to take.

A dump file is a special type of file that is created automatically when the system experiences a Blue Screen of Death (BSoD) — commonly known as a "bug check," "stop error," or "system error" — and suddenly reboots or shuts down. There are various types of dump files, but one thing they have in common is that they all contain information about the resources loaded in memory at the time of the crash.

Usually, these files are essential for debugging and troubleshooting purposes, and while Windows 10 comes with the optimal settings for the most case, the system comes with settings to enable or disable the creation of dump files, and actions like writing the event in the System log, restart the computer automatically and choose the type of crash dump you want to create based on the information you need.

In this Windows 10 guide, we will show you the steps of managing dump file configuration options using the Settings app and Command Prompt.

How to change crash dump settings using Settings app

To change how Windows 10 creates dumps files during a critical error, use these steps:

  1. Open Settings.
  2. Click on System.
  3. Click on About.
  4. Under the "Related settings" section, click the Advanced system settings option.

  5. Click the Advanced tab.
  6. Under the "Startup and Recovery" section, click the Settings button.

  7. Check or clear the Write an event to the system log option.

    Quick note: When a crash occurs, Windows 10 can write the event in the system logs, which you can review in the Event Viewer. If you do not need this information, you can disable the action by clearing the option.

  8. Check or clear the Automatically restart option.

    Quick note: During a critical error, the system restarts automatically by default, but if you want to prevent this from happening, you can disable the option.

  9. Under the "Write debugging information" section, use the drop-down menu and select the kind of file you want the system to create during a system crash:

    • Small memory dump (minidump): This option collects the smallest amount of data about the problem, such as the stop code for the Blue Screen of Death (BSoD), the list of all the loaded drivers, and some processor and kernel information. The dump history is usually saved in the %SystemRoot%\Minidump folder. Although this is an excellent option to save memory, it's limited since a lot of information that might help to find out the problem won't be included. During a second error, the previous file won't be overwritten.
    • Kernel memory dump: This option records only the information allocated for the system kernel, hardware abstraction layer (HAL), kernel-mode drivers, and other kernel-mode programs. This error dump file is usually less than half of amount of the total physical memory. In most cases, this is the recommended option since it does not take a lot of space and it includes most of the information involved in the crash. The data is saved into the %SystemRoot%\Memory.dmp file by default.
    • Complete memory dump: This option includes everything loaded into the physical memory, except the space used by the device firmware. Since this could be a large file, it requires a "pagefile" that is the total physical memory size. The crash is saved into the %SystemRoot%\Memory.dmp file by default.
    • Automatic memory dump: This option collects the information allocated in memory like the "kernel memory dump," but if the virtual memory is set to "system managed size," Windows 10 can automatically configure the file size to capture the data required to analyze the problem. The crash is saved into the %SystemRoot%\Memory.dmp file by default.
    • Active memory dump: This option collects the same information as the "Complete memory dump." The difference is that it discards information that may not be relevant to troubleshoot the issue. The crash is saved into the %SystemRoot%\Memory.dmp file by default.

  10. Under the "Dump file" box, you can specify an alternative location to save the file. (This option requires restarts.)
  11. Check or clear the Overwrite any existing file option.

    Quick note: When this option is enabled, follow-up dumps using the "kernel memory dump" or "complete memory dump" option will be overwritten.

  12. Check or clear the Disable automatic deletion of memory dumps when disk space is low option.

  13. Click the OK button.

Once you complete the steps, the system will create dumps files depending on your configuration.

Disable crash dumps creation on Windows 10

To prevent Windows 10 from creating dump files during a blue screen, use these steps:

  1. Open Settings.
  2. Click on System.
  3. Click on About.
  4. Under the "Related settings" section, click the Advanced system settings option.

  5. Click the Advanced tab.
  6. Under the "Startup and Recovery" section, click the Settings button.

  7. Under the "Write debugging information" section, use the drop-down menu and select the (none) option.

  8. Click the OK button.

After you complete the steps, the system will no longer create error files.

If you change your mind, you can always revert the settings using the instructions outlined above and selecting the option that suits your situation.

How to change crash dump settings using Command Prompt

Windows 10 also allows you to configure the settings for dump files and actions during system failures using commands, which you can run with Command Prompt or PowerShell.

Command to enable or disable System log events and auto-restart

To enable or disable Windows 10 from writing a System log event or automatically restarting the device upon crash with Command Prompt, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to disable the system from writing event crashes logs and press Enter:

    wmic recoveros set WriteToSystemLog = False

    In the command, you can replace False for True to re-enable the option.

  4. Type the following command to disable automatic restarts after a blue screen and press Enter:

    wmic recoveros set AutoReboot = False

    In the command, you can replace False for True to re-enable the option.

Once you complete the steps, the system will write logs and restart automatically upon crash according to your configuration.

Command to disable crash dumps on Windows 10

To stop creating dump files after a crash with a command, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to disable the system from creating crash dump files and press Enter:

    wmic recoveros set DebugInfoType = 0

After you complete the steps, Windows 10 will no longer create dumps files during a bug check. If you want to enable the feature again, configure the type of file you want to create with the instructions below.

Command to enable small memory dumps

To enable and set up the system to create small memory dumps with a command, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to specify the system to create small memory dumps and press Enter:

    wmic recoveros set DebugInfoType = 3

Once you complete the steps, the system will collect the smallest amount of information about the crash in a file no larger than 64KB.

Command to enable kernel memory dumps

To enable and configure the system to create kernel memory dumps, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to specify the system to create small memory dumps and press Enter:

    wmic recoveros set DebugInfoType = 2

After you complete the steps, Windows 10 will create a file smaller than the complete option with system kernel allocated information, hardware abstraction layer (HAL), kernel-mode drivers, and other kernel-mode programs.

Command to enable complete memory dumps

To enable and configure complete memory dumps creation, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to specify the system to create complete memory dumps and press Enter:

    wmic recoveros set DebugInfoType = 1

Once you complete the steps, during a Blue Screen of Death error, a file with everything loaded in memory will be created for debugging and troubleshooting.

Command to enable automatic memory dumps

To enable and set up the system to create automatic memory dumps, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to specify the system to create automatic memory dumps and press Enter:

    wmic recoveros set DebugInfoType = 7

After you complete the steps, the system will create a dump file similar to the one from when using the "kernel memory dump" option, but the system will automatically manage the file's size.

Command to change default dump store location

To change the default folder location to store dumps with commands, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to specify the folder location to store the dumps and press Enter:

    wmic recoveros set DebugFilePath = PATH\TO\FOLDER

    In the command, replace PATH\TO\FOLDER with the path to the folder location.

    This example tells Windows 10 to store the "dumps" in the dumps folder inside the "E:" drive.

    wmic recoveros set DebugFilePath = E:\dumps

Once you complete the steps, the dump file will be saved in the location you specified in the command during a critical error.

Command to enable or disable overwrite existing files

To enable or disable the ability to overwrite older files, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to disable the ability to overwrite previously created dumps after a new error needs to be written to file and press Enter:

    wmic recoveros set OverwriteExistingDebugFile = 0

  4. Type the following command to enable the ability to overwrite previously created dumps after a new error needs to be written to file and press Enter: wmic recoveros set OverwriteExistingDebugFile = 1

After you complete the steps, depending on the system failure configuration, the previous file will be overwritten, according to your settings, when a second dump file needs to be created.

More Windows 10 resources

For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:



0 comments:

Post a Comment

ShortNewsWeb

Blog Archive

Categories

'The Woks of Life' Reminded Me to Cook With All the Flavors I Love (1) 13 of the Best Spooky Episodes From (Mostly) Un-Spooky Shows (1) 1Password Now Generates QR Codes to Share Wifi Passwords (1) 2024 (15) 30 Movies and TV Shows That Are Basically 'Competence Porn' (1) 30 of the Most Obscenely Patriotic Movies Ever (1) 31 Spooky Movies to Watch Throughout October (1) 40 Netflix Original Series You Should Watch (1) 55 Box Office Bombs Totally Worth Watching (1) Active Directory (1) Adobe's AI Video Generator Might Be as Good as OpenAI's (1) AIX (1) and I'd Do It Again (1) and Max Bundle Isn't a Terrible Deal (1) Apache (2) Apple Intelligence Is Running Late (1) Apple Intelligence's Instructions Reveal How Apple Is Directing Its New AI (1) August 18 (1) August 4 (1) August 5 (1) Backup & Restore (2) best practices (1) bleepingcomputer (47) Blink Security Cameras Are up to 68% Off Ahead of Prime Day (1) CentOS (1) Configure PowerPath on Solaris (1) Documents (2) Don't Rely on a 'Monte Carlo' Retirement Analysis (1) Eight Cleaning Products TikTok Absolutely Loves (1) Eight of the Best Methods for Studying so You Actually Retain the Information (1) Eight Unexpected Ways a Restaurant Can Mislead You (1) Elevate Your Boring Store-Bought Pretzels With This Simple Seasoning Technique (1) Everything Announced at Apple's iPhone 16 Event (1) file system (6) Find (1) Five Red Flags to Look for in Any Restaurant (1) Flappy Bird's Creator Has Nothing to Do With Its 'Remake' (1) Four Reasons to Walk Out of a Job Interview (1) Four Signs Thieves Are Casing Your House (1) gaming (1) Hackers Now Have Access to 10 Billion Stolen Passwords (1) How I Finally Organized My Closet With a Digital Inventory System (1) How to Cancel Your Amazon Prime Membership After Prime Day Is Over (1) How to Choose the Best Weightlifting Straps for Your Workout (1) How to Keep Squirrels Off Your Bird Feeders (1) How to Set Up Your Bedroom Like a Hotel Room (and Why You Should) (1) How to Take a Screenshot on a Mac (1) How to Take Full Control of Your Notifications on a Chromebook (1) Hulu (1) I Chose the Beats Fit Pro Over the AirPods Pro (1) If You Got a Package You Didn't Order (1) If You Hate Running (1) Important Questions (17) Install and Configure PowerPath (1) interview questions for linux (2) Is ‘Ultra-Processed’ Food Really That Bad for You? (1) Is Amazon Prime Really Worth It? (1) It Might Be a Scam (1) July 14 (1) July 21 (1) July 28 (1) July 7 (1) June 30 (1) LifeHacker (105) Linux (36) Meta Releases Largest Open-Source AI Model Yet (1) Monitoring (3) music (688) My Favorite 14TB Hard Drive Is 25% Off Right Now (1) My Favorite Amazon Deal of the Day: Apple AirPods Max (2) My Favorite Amazon Deal of the Day: Google Nest Mesh WiFi Router (1) My Favorite Amazon Deal of the Day: Google Pixel 8 (1) My Favorite Amazon Deal of the Day: PlayStation 5 (1) My Favorite Amazon Deal of the Day: SHOKZ OpenMove Bone Conduction Headphones (1) My Favorite Tools for Managing Cords and Cables (1) Nagios (2) Newtorking (1) NFS (1) OMG! Ubuntu! (688) Oracle Linux (1) oracleasm (3) osnews (22) Password less communication (1) Patching (2) Poaching Is the Secret to Perfect Corn on the Cob (1) powerpath (1) Prioritize Your To-Do List By Imagining Rocks in a Jar (1) Red Hat Exam (1) register (47) Rsync (1) Safari’s ‘Distraction Control’ Will Help You Banish (Some) Pop Ups (1) Samba (1) Scrcpy (1) September 1 (1) September 15 (1) September 2 (1) September 22 (1) September 23 (1) September 30 (1) September 8 (1) Seven Home 'Upgrades' That Aren’t Worth the Money (1) ssh (1) Swift Shift Is the Window Management Tool Apple Should Have Built (1) System hardening (1) Target’s ‘Circle Week’ Sale Is Still Going After October Prime Day (1) Target’s Answer to Prime Day Starts July 7 (1) Tech (9536) Tech CENTRAL (17) Technical stories (103) technpina (6) The 30 Best Movies of the 2020s so Far (and Where to Watch Them) (1) The 30 Best Sports Movies You Can Stream Right Now (1) The Best Deals on Robot Vacuums for Amazon’s Early Prime Day Sale (2) The Best Deals on Ryobi Tools During Home Depot's Labor Day Sale (1) The Best Early Prime Day Sales on Power Tools (1) The Best Movies and TV Shows to Watch on Netflix This Month (1) The Best October Prime Day Deals If You Are Experiencing Overwhelming Existential Dread (1) The Best Places to Go When You Don't Want to Be Around Kids (1) The Best Strategies for Lowering Your Credit Card Interest Rate (1) The Best Ways to Store All Your Bags and Purses (1) The Latest watchOS Beta Is Breaking Apple Watches (1) The New Disney+ (1) The Two Best Times of Year to Look for a New Job (1) These Meatball Shots Are My Favorite Football Season Snack (1) These Milwaukee Tools Are up to 69% off Right Now (1) This Google Nest Pro Is 30% Off for Prime Day (1) This Peanut Butter Latte Isn’t As Weird As It Sounds (1) This Tech Brand Will Get the Biggest Discounts During Prime Day (1) Three Quick Ways to Shorten a Necklace (1) Today’s Wordle Hints (and Answer) for Monday (4) Today’s Wordle Hints (and Answer) for Sunday (11) Try 'Pile Cleaning' When Your Mess Is Overwhelming (1) Try 'Rucking' (1) Ubuntu News (345) Ubuntu! (1) Unix (1) Use This App to Sync Apple Reminders With Your iPhone Calendar (1) veritas (2) Videos (1) Was ChatGPT Really Starting Conversations With Users? (1) Watch Out for These Red Flags in a Realtor Contract (1) Wayfair Is Having a '72-Hour Closeout' Sale to Compete With Prime Day (1) We Now Know When Google Will Roll Out Android 15 (1) What Is the 'Die With Zero' Movement (and Is It Right for You)? (1) What Not to Do When Training for a Marathon (1) What's New on Prime Video and Freevee in September 2024 (1) Why Your Home Gym Needs Adjustable Kettlebells (1) Windows (5) You Can Easily Add Words to Your Mac's Dictionary (1) You Can Get 'World War Z' on Sale for $19 Right Now (1) You Can Get a Membership to BJ's for Practically Free Right Now (1) You Can Get Beats Studio Buds+ on Sale for $100 Right Now (1) You Can Get Microsoft Visio 2021 Pro on Sale for $20 Right Now (1) You Can Get This 12-Port USB-C Hub on Sale for $90 Right Now (1) You Can Get This Roomba E5 Robot Vacuum on Sale for $170 Right Now (1) You Can Hire Your Own Personal HR Department (1) You Can Set Different Scrolling Directions for Your Mac’s Mouse and Trackpad (1)

Recent Comments

Popular Posts

Translate

My Blog List

Popular

System Admin Share

Total Pageviews