Windows 11

How to Fix Kernel Mode Heap Corruption on Windows 11

45views

The kernel mode heap corruption occurs when you encounter a BSOD error. It means that the kernel, the operating system’s core, encountered problems while managing memory. This error can occur due to hardware incompatibility, outdated/corrupted drivers, or software conflicts and may lead to system instability, crashes, or data loss.

You may encounter this issue when starting a program on your PC, accessing certain data, or installing new software, especially from an unknown source. The 0x0000003A stop code may also accompany it. Read this article to the end to see how to fix this problem. Another memory issue that might interest you is DirectX’s inability to allocate sufficient memory.

1. Boot the PC in Safe Mode and check Event Viewer

Booting your PC in Safe Mode and checking Event Viewer can help troubleshoot and fix kernel-mode heap corruption. Safe Mode starts only basic drivers and services needed to run the system, helping to eliminate potential software conflicts. Event Viewer logs events related to kernel mode heap corruption.

Follow the steps below to complete the task:

  1. Press the Windows + S keys to access the search box, enter Recovery options, and click on the correct app to open.
    exit safe mode windows 11
  2. Then, find Advanced startup and select Restart now.
  3. When the next window opens, choose Troubleshoot.
    eax dll
  4. Then click on Advanced options.
    eax dll
  5. Afterward, select the Startup setting.
  6. Finally, choose the following option:
    • F5 – Enable Safe Mode with Networking
      Error code 0x8024000c
  7. After booting in Safe Mode, press the Windows + R keys simultaneously to start the Run dialog, type eventvwr. into the search area and hit Enter to open Event Viewer.
    kernel mode heap corruption
  8. Then, click Windows Logs and select System.
    kernel mode heap corruption
  9. When it opens, find the Kernel Mode Heap Corruption BSOD report.
  10. After locating the log, follow the description because it can expose the issue’s root cause.
  11. In furtherance, also note the Source and Event ID information.
    kernel mode heap corruption

2. Fix the kernel mode heap corruption using the SFC scan

Performing the SFC scan with the built-in System File Checker (SFC) tool can help to keep your Windows system running smoothly. It scans for corrupted files causing issues, like the kernel mode heap corruption error. After the scan, reboot before installing the latest Windows version.

To perform an SFC scan, use the following steps:

  1. Press the Windows and S keys together and type cmd in the text field.
  2. Then, choose the Run as administrator option on the right side to start the Command Prompt with administrator privileges.
    error 2001-0123
  3. Once the User Account Control prompts you, select Yes to continue.
    error 2001-0123
  4. When the Command Prompt displays, enter the following command into the prompt and tap the Enter key to start an SFC scan:
    sfc /scannow
    error 2001-0123
  5. Once the scan is complete, copy and paste the command below and press the Enter key to run the command:
    DISM.exe /Online /Cleanup-image /Restorehealth
    error 2001-0123
  6. Finally, it would be best to restart your computer to implement repairs.

3. Update Graphics driver

Updating your graphics card driver can sometimes help to fix this error by installing the latest bug fixes and performance improvements. To update your graphics card driver, you can use the following steps:

  1. Open the Run dialog by pressing the Windows + R keys together, enter devmgmt.msc, and hit Enter.
    nvspcap64 dll
  2. Find the Display adapters, expand it, right-click on the Graphics card driver, and click Update driver.
    nvspcap64 dll
  3. Select the How do you want to search driver option when the system prompts you.
  4. Then, click the Search automatically for drivers option.
  5. Follow the on-screen instructions to install updates if they are available.
  6. If the update is unavailable, right-click the graphics driver and click Uninstall device.
    LiveKernelEvent 144 Error
  7. Then, click Action at the top of the screen and click Scan for hardware changes to reinstall the driver.
    LiveKernelEvent 144 Error

4. Roll back driver to fix the kernel mode heap corruption

If you’re experiencing the kernel mode heap corruption on your computer, rolling back the driver to a previous version can be helpful. This process involves undoing any changes that may have caused the issue by uninstalling the current driver and installing the older version.

You can easily do this using the Device Manager. Here’s how:

  1. Press Windows + R together to launch the Run window, type devmgmt.msc, and click OK to start the Device Manager.
    LiveKernelEvent 144 Error
  2. Find and expand Display adaptors, right-click the graphics driver, and select Properties.
    LiveKernelEvent 144 Error
  3. When in the Properties window, open the Driver tab and click the Roll Back Driver button.
    LiveKernelEvent 144 Error
  4. Then, choose a reason, click Yes on the next window, and click OK to save the changes.
    LiveKernelEvent 144 Error

5. Perform a clean boot to fix the kernel mode heap corruption

Sometimes, conflicts can occur while installing programs or using Windows. However, performing a clean boot is to detect and resolve these conflicts. It involves temporarily disabling all non-essential startup programs and services. This way, you can detect if any program or service is causing the installation errors.

Here is what you need to do to perform a clean boot:

  1. Hold the Windows and R keys to open the Run dialog box, type msconfig in the Run entry field, and press Enter.
  2. Then, locate the Services tab, click on it, and check the Hide all Microsoft services box.
    windows 11 notepad crashing
  3.  Click on the Disable all button and then click Apply.
    windows 11 notepad crashing
  4. Select the Startup tab and then click Open Task Manager.
    windows 11 notepad crashing
  5. Now right-click on the first enabled app on the Task Manager tab and click Disable.
  6. Finally, follow step 6 to disable all enabled applications one after the other.
  7. After disabling the apps, close Task Manager.
  8. Restart your PC.

6. Run Driver Verifier to fix the kernel mode heap corruption

Driver Verifier is a built-in Windows diagnostic tool that helps identify and troubleshoot faulty or incompatible drivers. It works by putting drivers under stress, compelling them to access and manage memory in ways they might not normally do. If a driver is faulty or incompatible, it may not handle this stress and will cause an error, such as a blue screen of death (BSOD).

Here is how to run the tool:

  1. Once your PC is fully on, press the Windows key, type verifier, and click Open.
    bsod code 139 on Windows 11
  2. Then, click Yes on the UAC prompt.
  3. Choose the Create custom settings (for code developers) option in the Select a task section and click Next.
    bsod code 139 on Windows 11
  4. Afterward, check all the checkboxes in the Select individual settings from this full list section except DDI compliance checking and randomized low resource simulation boxes and click Next.
    bsod code 139 on Windows 11
  5. Then, check the Select driver names from the list checkbox in the Select what drivers to verify section and click Next.
    bsod code 139 on Windows 11
  6. Click Finish on the next page. 
    bsod code 139 on Windows 11
  7. You will then get a popup requesting you to restart. Click OK on the popup, then restart your PC.

7. Run the Windows Memory Diagnostic tool

If the error is due to a RAM issue, running the Windows Memory Diagnostic tool can help you fix it. This built-in tool scans your computer’s RAM for errors and tries to fix them, if any. To use the tool, follow these instructions:

  1. Click the Search icon on the Taskbar, enter memory diagnostic, and then click on the Windows Memory Diagnostic app to launch the tool.
    clock watchdog timeout error
  2. When the Windows Memory Diagnostic window opens, click Restart now and check for problems (recommended) to run diagnostics immediately.
    clock watchdog timeout error
  3. Allow the tool to check for memory problems.
  4. Afterward, Windows will display the test result for you.

8. Check the hard drive for errors (chkdsk)

Running a CHKDSK scan can fix the kernel mode heap corruption if a faulty or failing hard drive or a corrupted file system is the culprit. The CHKDSK Windows utility scans the hard drive for errors and repairs them if possible. Here is how to do it:

  1. Hold down the Windows and S keys simultaneously, search for cmd, and then choose to Run as administrator to start the Command Prompt as an admin.
    clock watchdog timeout error
  2. Enter the following command in the Command Prompt window and press the Enter key:
    chkdsk /f /r
    clock watchdog timeout error
  3. Finally, enter Y and restart your PC so the utility can check for file system errors and search and shield bad sectors.
    clock watchdog timeout error

In the complex world of Windows 11, dealing with Kernel Mode Heap Corruption on Windows 11 can be confusing and frustrating. But, the correct knowledge and approach can help you solve these issues. Our guide explores identifying, troubleshooting, and resolving the issue on Windows 11. Ensure your OS is up to date and without error.

Remember to be patient and precise as you apply the suggested solutions to ensure your system’s stability and optimal performance. Stay informed and proactive to overcome these technical challenges and safeguard the seamless functionality of your Windows 11 environment.

Leave a Response

Richard Omachona
Richard is a techie in providing fixes and solutions for computer issues of various kinds. Among his contemporaries, he is a preferred choice. His experiences are vast in Windows operating systems, and several other skills in programming such as Python, Web Frontend designing implementing at industry standards, best practices in HTML, CSS and JavaScript. and basics in Web Backend. He also loves traveling, gaming and music.