Getting the KERNEL_MODE_HEAP_CORRUPTION blue-screen error? Don’t panic – you’re not alone. This is a fairly common error, and it’s usually not very hard to resolve.
Why am I getting the ‘Kernel Mode Heap Corruption’ error?
Kernel Mode Heap Corruption is one of the stop codes presented by Windows when you run into a ‘blue screen error of death’ BSOD error. As is the case with other codes, ‘Kernel Mode Heap Corruption’ is created uniquely to help users identify the problems triggering system crashes. Usually, the error is caused by driver issues (especially graphics card drivers) or software conflicts, but it may also be caused by hardware malfunction.
People have encountered the Kernel Mode Heap Corruption error in different situations. Some said the error happened on startup of Windows 10, while others the moment of launching specific programs such as a video game.
How to fix the ‘Kernel Mode Heap Corruption’ error
Here are 6 solutions that have proved useful to many Windows users. So before you call a computer technician, why not try the following methods and fix the problem by yourself? You don’t need to try them all; just work your way down the list until you find the one that works for you.
- Uninstall your graphics card drivers
- Update your device drivers
- Repair corrupted system files
- Resolve any software conflicts
- Resolve any hardware issues
- Reinstall your Windows system
Fix 1: Uninstall your graphics card drivers
Some Windows users have reported that they experienced this ‘blue screen of death (BSOD)’ error right after an update of their graphics card drivers (or a Windows Update). If that’s when you got the error, you should uninstall your current video driver to secure the stability of your hardware device. Here’s how to do it:
- On your keyboard, press the Windows key and the R key at the same time, then type devmgmt.msc and hit Enter.
- Double-click to expand the Display adapters category, then right-click your display card and select Uninstall device.
- Tick the box for Attempt to remove the driver for this device and click Uninstall.
- Repeat the same to remove the driver for your other display card if you have one.
- Restart your computer for the last driver to install.
After the driver uninstallation, verify if the ‘Kernel Mode Heap Corruption’ error still persists. If it does, try the next fix, below.
Fix 2: Update your device drivers
The Kernel Mode Heap Corruption error may be caused by an outdated or corrupt device driver. If you’re not sure whether all your device drivers (especially graphics card drivers) are up-to-date, you should check.
You can do this in Windows Device Manager, one device at a time. But this takes a lot of time and patience, and if any of your drivers do happen to be out of date, you’ll need to manually update them, which is difficult and risky. If you don’t have the time, patience or computer skills to update your device drivers manually, you can do it automatically with Driver Easy.
Driver Easy will automatically recognize your system and find the correct drivers for it. You don’t need to know exactly what system your computer is running, you don’t need to risk downloading and installing the wrong driver, and you don’t need to worry about making a mistake when installing. Driver Easy takes care of everything.
- Download and install Driver Easy.
- Run Driver Easy and click the Scan Now button. Driver Easy will then scan your computer and detect any problem drivers.
- Click Update All to automatically download and install the correct version of all the drivers that are missing or out of date on your system.
(This requires the Pro version which comes with full support and a 30-day money-back guarantee. You’ll be prompted to upgrade when you click Update All. If you’re not ready to buy the Pro version, Driver Easy offers a 7-day free trial which includes access to all the Pro features such as high-speed download and one-click install. You won’t be charged anything until your 7-day trial has ended.) - Restart your computer for the changes to take effect.
If the Kernel Mode Heap Corruption blue screen of death error remains, please move on to the next fix.
Fix 3: Repair corrupted system files
Sometimes this Kernel Mode Heap Corruption blue-screen error is caused by corrupt system files. To repair them, there are two things you should do:
1. Scan with System File Checker
System file checker (sfc) is a Windows utility that identifies and repairs corrupted system files:
1) On your keyboard, press the Windows logo key and R at the same time to open the Run dialog box. Type cmd and press Ctrl+Shift+Enter to run Command Prompt as administrator.
2) When Windows asks for permission to make changes to your device, click Yes.
3) In the Command Prompt, type the following command (note that there’s a space between sfc and /):
sfc /scannow
After you finish entering the command, hit Enter on your keyboard. Then the sfc tool will begin to scan all system files and repair the corrupted or missing ones.
4) Wait until the verification process is completed. Then restart your computer for the changes to take effect.
If you continue to experience the Kernel Mode Heap Corruption Error, try running dism.exe as described below.
2. Scan with dism.exe
Deployment Image Servicing and Management (DISM) is an in-built Windows tool that can identify if your Windows installation is corrupt, and repair it if it is:
1) On your keyboard, press the Windows logo key and R at the same time to open the Run dialog box. Type cmd and press Ctrl+Shift+Enter to run Command Prompt as administrator.
If prompted for consent, click Yes.
2) In Command Prompt, type the following command (note that there’s a space to the left of each slash “/”):
dism.exe /online /cleanup-image /restorehealth
After that, hit Enter on your keyboard. Then the DISM tool will begin to scan for any problems and try to fix them.
Wait for the process to complete. Then, reboot your computer and see whether the Kernel Mode Heap Corruption error reoccurs. If it does, try Fix 4 below.
Fix 4: Resolve any software conflicts
Another possible culprit for your Kernel Mode Heap Corruption error is a software conflict. This is particularly likely if you get the error after installing a new app or when you’re trying to launch a certain program, such as a video game.
There’s no quick way to pinpoint which applications are conflicting. You have to fully shut down every unnecessary program (including any associated background processes) and wait to see whether the error reoccurs.
Jump ahead to the section you’re interested in:
- Check to see if you have any software conflicts
- Find out which programs are causing them
- De-prioritize, disable and uninstall those programs
1. Check to see if you have any software conflicts
1) Close all programs. To do this, switch to the program, and close it as you normally would (e.g. by clicking the × at the top right of the program).
2) End all unnecessary background processes by the following procedure:
I. On your keyboard, press the Windows logo key and X at the same time, then click Task Manager.
II. On the Processes tab, select the program that you want to shut down from the list in Task Manager and click End task to force a close. (If it’s a program you’re using, e.g. Microsoft Word, make sure you save any unsaved work first.)
3) Wait to see whether the error reoccurs:
- If the error DOES reoccur – It’s probably not caused by a software conflict, and you should move on to Fix 5.
- If the error does NOT reoccur – One or more of the programs you shut down is probably causing the error. Now you need to identify which program(s) caused the error, as described in Step 2 below.
2. Find out which programs are causing your conflicts
If closing all unnecessary programs stopped the error from reoccurring, you know that one of those programs was causing the error. Now you just need to figure out which one.
To do this, restart one of your programs, and wait to see if the error comes back. If it doesn’t, restart the next program, and wait for the error again. Then the next, and the next, and so on.
When the error eventually reoccurs, you know that the program you restarted most recently is a problem.
But bear in mind, it may not be the only problem. It may actually be conflicting with another program – one you restarted earlier – and that conflict is what’s causing the error.
If you don’t really need the offending program, you can just disable or uninstall it immediately, as described below. But if you do need the offending program, you should check if it’s conflicting with something else (because then you may be able to disable/uninstall the other program instead).
To do this, leave the offending program open, but shut down all other programs again. If the error reoccurs, you know the program is the sole cause. If the error doesn’t reoccur, you know the program is conflicting with another program. To figure out which one, restart each program again, one at a time, and wait for the error to come back.
When you find which programs are conflicting with each other, you can disable or uninstall the one you need the least.
3. De-prioritize, disable or uninstall conflicting programs
Once you identify the program(s) causing the conflict, you have three options:
Jump ahead to the section you’re interested in:
To set the program’s priority to low
If you don’t want to disable or uninstall the offending program, you can try de-prioritizing it first. This has resolved the error for some users. To de-prioritize the program:
1) On your keyboard, press the Windows logo key and R at the same time to invoke the Run dialog box. Type in taskmgr and hit Enter.
2) Go to the Details tab. Scroll through the list until you find the process for which you want to change the priority. Right-click on that item and select Set priority > Low.
3) Click Change priority if prompted for permission.
To permanently disable the program:
1) On your keyboard, press the Windows logo key and X at the same time, then click Task Manager.
2) On the Processes tab, select the program that you want to shut down from the list in Task Manager and click End task to force a close.
3) If the program is also among the startup items, you should stop it from running at startup. Here’s how:
On your keyboard, press the Windows logo key and R at the same time to invoke the Run dialog box. Type in msconfig and hit Enter.
4) Go to the Startup tab, and click Open Task Manager.
5) Select the programs you don’t want to start when Windows starts, then click Disable.
To uninstall the program:
1) On your keyboard, press the Windows logo key and R at the same time. Type appwiz.cpl and press Enter.
2) In Programs and Features, right-click on the program that you want to uninstall and click Uninstall.
If, after de-prioritizing, disabling or uninstalling conflicting programs the error reoccurs, try Fix 5 below.
Fix 5: Resolve any hardware issues
Some users get the Kernel Mode Heap Corruption error because their computer has hardware problems. Here’s how to check if you have a hardware problem:
Jump ahead to the section you’re interested in:
1. Run Windows Memory Diagnostic Tool
The Windows Memory Diagnostic tool will check to see if there’s a problem with your Random Access Memory (RAM):
1) On your keyboard, press the Windows logo key and R at the same time to invoke the Run dialog box. Type mdsched.exe and hit Enter.
2) Select either Restart now and check for problems (recommended) to check your memory straight away, or Check for problems the next time I start my computer if you want to keep working and do the memory check later.
3) When the Windows Memory Diagnostic Tool actually runs, you’ll see the following screen that indicates the number of passes it’s doing, along with how far it has progressed.
If you don’t see any errors here, that means the memory in your computer is fine. Otherwise, you should replace your RAM or simply contact the hardware manufacturer for assistance.
2. Check for other issues such as overheating
It’s not that easy to tinker with the hardware if you’re a computer newbie. You need to disassemble the computer chassis, look for problems in each separate component, and find ways to fix them – all by yourself. Merely thinking of it is horrible enough, not to mention putting it into practice. Anyway, if you don’t have much interest in learning the skills, you should contact a local technician for further help.
If you’ve checked for hardware issues, and you’re still getting the error, you still have one more fix to try – reinstall the Windows system.
Fix 6: Reinstall your Windows system
If none of the fixes above work for you, you may need to reset or reinstall your Windows operating system.
Resetting Windows will revert your system to its initial state as if it’s your first time turning on the computer. It removes all the apps that didn’t come with your PC, but you can decide whether to retain your personal data or not. Besides, you don’t need any external storage devices to perform the resetting, because Windows will complete the whole process by itself.
A clean install of Windows will erase everything (including all the apps you installed and your personal data) from the drive where your system is installed. You need an external storage device, e.g. a USB drive, to perform the clean install. Compared with the above option, clean install seems more complex, yet more impactful.
Listed below are some useful articles that teach you how to reset or reinstall Windows 10 step by step:
- To reset your PC, please refer to:
https://www.drivereasy.com/knowledge/how-to-reinstall-reset-windows-10-the-easy-way/ - To perform a clean install of Windows 10, please refer to:
https://www.drivereasy.com/knowledge/how-to-do-a-clean-install-of-windows-10-quickly-and-easily/
To view more details about how to reset/clean install Windows 10, you can take a look at this post from Microsoft Support.
Hopefully, this article helped you resolve your Kernel Mode Heap Corruption error. If you have any follow-up questions or ideas, please feel free to leave a comment below. We’ll be more than happy to help you. Thanks for reading!