Kernel Security Check Failure: Definitive Guide to Fix

Look out for corruption signs & keep your drivers up to date!

Reading time icon 13 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

Key notes

  • Seeing the Kernel Security Check Failure BSOD implies that one or several files failed a compatibility or integrity check.
  • The most common reason for the Kernel Security Check Failure stop code is caused by issues with outdated drivers.
  • Our guide presents you with a variety of troubleshooting steps, ordered from the least intrusive to completely resetting your system.
stop code kernel security check failure
XINSTALL BY CLICKING THE DOWNLOAD FILE
A message from our partner

Fix all BSoD events and keep computer safe and clean:

Fortect will find the cause of BSoD and fix it. Here is how to do it with 3 easy steps:

  • Download Fortect and install it on your PC
  • Launch the tool and Start scanning to find broken files that are causing BSoD
  • Right-click on Start Repair to fix issues affecting your computer’s security and performance
Download Now Fortect has been downloaded by 0 readers this month, rated 4.6 on TrustPilot

If you are reading this article, it means that you were unfortunate enough to get the Kernel Security Check Failure error.

Because this problem occurs while trying to install Windows 10, users end up panicking that their entire system is stuck.

Even more believe that it’s a virus trying to take over and while that is a potential cause, it’s not as simple as that. That being said, is Kernel Security Check failure a virus? The short answer is no, it is not.

Many other users who upgraded their operating system to Windows 10 have experienced the same issue. Indeed, the Windows 10 Kernel Security Check Failure occurs more frequently than you might think.

It’s one of the most common Windows install issues out there. So let’s see what triggers it in the first place.

What causes Kernel Security Check failure?

The Kernel Security Check Failure error can be caused by a variety of issues, including memory problems and virus infections.

But the most common reason is that the drivers you were using on the previous version of the OS are not compatible with Windows 10.

As a result, the OS gives you the Kernel Security Check Failure error message followed by the 0x000000139 error code.

Here are some specific situations in which the annoying Kernel Security Check Failure error often occurs:

  • Kernel Security Check Failure after sleep – This error may occur after waking your PC from sleep
  • Kernel Security Check Failure after RAM upgrade – Users report that this error message sometimes occurs after they insert a new RAM card
  • Kernel Security Check Failure when playing games – If you’re a gamer, you probably already encountered this error quite a few times.
  • Kernel Security Check Failure when using particular apps and programs – It seems that particular apps and programs are more prone to trigger this issue than others. For instance, Kernel Security Check failure is common in Photoshop.

How do I fix Kernel Security Check Failure?

1. Use a dedicated third-party repair tool

The Kernel Security Check Failure BSOD error is not to be reckoned with as it may be caused by a lot of possible issues, all covered in this guide.

However, before starting to tweak your system with a more complicated solution, you should try a dedicated solution that can help you solve this issue automatically.

2. Enable legacy advanced boot menu

  1. Restart your computer and insert a Windows 10 bootable media into the optical media drive. Find out how to create a bootable media)
  2. On the displayed Windows Setup box, click Next.
  3. On the next page, click on Repair your computer.
  4. On the Choose an option screen, click Troubleshoot.Kernel Security Check Failure
  5. Click on Advanced options.
  6. Now select Command Prompt.Kernel Security Check Failure fix error
  7. On the newly opened Command Prompt window, type C: and hit Enter.
  8. Type the following command and press Enter to enable the legacy advanced boot menu: BCDEDIT /SET {DEFAULT} BOOTMENUPOLICY LEGACYKernel Security Check Failure fix
  9. Once the command executes successfully, type EXIT to close the Command Prompt window.
  10. Go back to the Choose an option screen, click Continue and start your computer normally.

3. Update and fix your drivers

  1. Right-click the Start button and select Device Manager from the list.
  2. Click on a category of components to expand it.
  3. Right-click on the driver you want to update and select Update driver from the list.
  4. In our case, we found a firmware with a yellow question mark on it so we addressed it with priority but you should try to update all drivers.
  5. In the next window, click on Search automatically for drivers.
  6. If the system will find an updated driver, it will install it and you will have to restart the system.

All the BSoD errors can be caused by missing or corrupted drivers so updating or replacing them might be the key to fixing the Kernel Security Check Failure error.

4. Use System File Checker and Memory Diagnostic

  1. 1. Go to Advanced Startup Options.

  2. 2. Tap on Troubleshoot.

    go to troubleshoot
  3. 3. Go to Advanced Options.

    click on advanced options
  4. 4. Click on Startup Settings.

    click on startup settings
  5. 5. Press the Restart button located on the lower right side of the screen. Your operating system should boot with the minimum system requirements.

  6. 6. Left-click the Search feature located on the taskbar and type cmd in it.

    search for cmd in the taskbar
  7. 7. Click on Run as administrator to open Command Prompt with full privileges.

    run command prompt as admin
  8. 8. Type the following command and hit Enter to run it: sfc /scannow

    use the sfc command
  9. 9. Wait until the scanning process completes, then type Exit and hit Enter.

  10. 10. Now it’s time to run the Windows Memory Diagnostic tool. To start off, click on the Search button in your taskbar.

  11. 11. Type memory, and select Run as administrator under the Windows Memory Diagnostic option.

    open windows memory diagnostic
  12. 12. Select Restart now and check for problems.

    restart now
  13. 13. After the reboot, the OS will automatically check your RAM and display the possible reasons why you got the Blue Screen of Death error.

  14. 14. Reboot your PC normally.

  15. 15. Check to see if the Kernel Security Check Failure BSOD error persists.

  16. Another fix for the Kernel Security Check Failure error is to perform an SFC scan and then run the Memory Diagnostic tool. These will scan your PC for errors and are likely to fix the problem.

5. Update your PC

  1. Click the Start button and then select the Settings option.
  2. Next, click on Update & Security.
  3. Click on the Check for updates button from the top-right.
  4. If there are any new updates you can install them, and you will have to restart your PC for the changes to take effect.

Make sure that you’re running the latest Windows OS updates on your machine. As a quick reminder, Microsoft constantly rolls out Windows updates to improve the system’s stability and fix various issues.

6. Scan your PC for viruses

  1. Go to Start, type security, and double click Windows Security to launch the tool.
  2. In the left-hand pane, select the shield icon.
  3. Click on Scan options.
  4. Check the Full scan option and click the Scan now button.

If the Windows Defender cannot remove the malware detected, the best option is to try out a third-party antivirus with a better detection rate.

Run a full system scan to detect and remove any virus or malware that potentially sneaks into your PC. Malware may cause various issues on your computer, including the Kernel Security Check Failure error.

7. Check your disk for errors

  1. Press the Windows key + X and select PowerShell (Admin) from the list of options.
  2. Type the following command and hit Enter to run it (Replace C with the letter of your hard drive partition): chkdsk C: /f
  3. As a quick reminder, if you do not use the /f parameter, chkdsk displays a message that the file needs to be fixed, but it does not fix any errors.
  4. To repair physical issues, run the /r parameter as well.

If the system is in use, you will be asked if you want to act as a restart. Press Y and then Enter, then restart your computer.

This process can be time-consuming. Depending on the hard drive’s memory, it can go between half an hour and two hours before it is done.

We also have a complete guide on how to repair hard drive errors so you can refer to it for more in-depth information.

8. Run your PC in Safe Mode

  1. Click the Start button on Windows and select the Settings app.
  2. Select Update & Security from the menu.
  3. Click on Recovery from the left pane, then select Restart now from the right.
  4. A list of options will appear. Select Troubleshoot.
  5. Next, select Advanced options.
  6. In the following window click Restart.
  7. After you enter Safe Mode, check if the problem persists.
Note icon NOTE
If the problem doesn’t occur in Safe Mode, an app or software is most likely behind it.

Enable your programs one by one to identify the culprit. Once you’ve done that, you can uninstall the problematic software.

If you don’t want to reset your computer, you can try to boot your computer in Safe Mode to identify if any apps or software are causing this problem.

The steps above showed you how to fix the Kernel Security Check Failure error message on your Windows 10 PC.

If there is a hardware failure of the HDD or the RAM in your device, you will most likely have to replace it with a new one.

9. Perform a System Restore

  1. Press Win Key + X and choose Settings from the menu.
  2. Select the Update & Security option.
  3. Now click on Recovery under the left pane and select the Get started button from the right.
  4. In the next window, choose Keep my files.
  5. Now you can either use the Cloud download or the Local reinstall options.
    • The first option, which we recommend, will reinstall Windows using a cloud download but it will use more than 4 GB of data so you need to have enough Internet data available.
    • The second will require you to have bootable media ready. Don’t worry, we have a helpful guide on how to create a Windows 10 bootable USB drive.
  6. Follow the on-screen instructions to complete the reset.

If the System Restore fails to extract the original copy, read our guide on what to do if the System Restore fails.

If the problem started recently after you installed new software on your computer, run System Restore. This tool helps you to remove recently added apps and programs.

Windows 10 offers a series of advanced recovery option that allows users to clean and install the OS. You can also use the Reset this PC recovery option.

10. Fix the Kernel Security Check Failure stop code on Windows 11

Now, you probably figured out by now that the error is by no means exclusive to Windows 10. So, what is kernel security check failure 11?

It’s the very same issue that has found a way to sneak into Microsoft’s newest OS as well. Don’t worry, we also have a solid guide on how to fix Kernel Security Check Failure on Windows 11.

10.1. Automatically diagnose your PC using the built-in recovery tool

  1. To open the System recovery page, click on Start, and while holding the Shift button pressed, choose Restart.
  2. Click on Troubleshoot.
  3. Choose Advanced Options.
  4. Select Startup Repair.
  5. Wait for Windows 11 to go through the process of diagnosing your PC.
  6. Depending on the results of the process, you will have Windows 11 boot normally, or you will see the following image.
  7. If you see the image presented above, move on to the next step.

10.2. Enable safe mode by using Startup Settings to recover files

  1. Press the Advanced options button from the screen.
  2. Choose Troubleshoot again.
  3. Choose Advanced Options again.
  4. Click on Startup Settings.
  5. Select Restart.
  6. Choose Safe Mode with Networking option by pressing the number 5 keypad.
  7. Your Windows desktop should look like this when booted into Safe Mode with Networking.
  8. Recover any files that you need and move on to the next step.

10.3. Uninstall any updates

  1. Click the Start button, hold the Shift key pressed, and click Restart.
  2. Click Troubleshoot.
  3. Select Advanced options.
  4. Choose Uninstall Updates.
  5. Choose if you want to uninstall the latest quality update (smaller update), or the latest feature update (bigger update).
  6. Press the Uninstall quality update button or the Uninstall feature update button, depending on your previous choice.
  7. Follow the on-screen instructions to complete the uninstallation process.

10.4. Restore your system

  1. Inside the Advanced Options menu, choose System Restore.
  2. Click Next.
  3. Select the most recently created restore point, and press Next.
  4. Click Finish.
  5. Confirm the action inside the pop-up.
  6. Wait for the system restore process to proceed.
  7. Click Restart when the process is completed.
  8. Windows 11 should boot normally now. Click the Close button and start using your PC.

If the System Restore didn’t manage to resolve the problem, then follow the next extra methods to ensure that this issue is resolved once and for all.

10.5. Run Command Prompt from the Advanced options menu

  1. Re-open the Recovery menu by choosing Start, holding down the Shift key, and choosing the Restart option.
  2. Choose Troubleshoot from the list.
  3. Click Advanced options.
  4. Select Command Prompt.
  5. Inside the Command Prompt window type the following command and press Enter: C:
  6. Type in the following command and press Enter to run it: dir
  7. You will see a result similar to the one in this image.
  8. Type the following command and press Enter to run it: cd \windows\system32\config
  9. Write the command and press Enter: md backup
  10. Type the following command and press Enter to activate it: copy *.* backup
  11. Write this command and run it by pressing Enter: cd regback
  12. Type the next command and press Enter: dir
  13. Write the following command and run it by pressing the Enter key: copy *.* ..
  14. Type A and press Enter to accept the changes.
  15. Close the Command prompt by clicking the X in the upper-right corner.
Note icon NOTE
The last command didn’t work in our case as we were using a Virtual Machine to perform these steps.

If this solution hasn’t resolved your problem, then the only method that remains is to try to reset your PC entirely.

10.6. Reset your PC

  1. Navigate back to the Recovery boot menu by clicking Start, holding Shift pressed, and clicking on Restart.
  2. Click Troubleshoot.
  3. Choose Reset this PC.
  4. Choose between the Keep my files and Remove everything options. We recommend going with the first one, as it would also keep the settings you couldn’t manually recover in the previous step.
  5. Choose Cloud download for an easier method, or choose Local reinstall if you have the Windows 11 installation disc downloaded.
  6. Follow the on-screen instructions and complete the reinstallation of your OS.

? How to prevent Kernel Security Check Failure in the future

BSOD or stop errors can cause a lot of stress and worry and even more so when it occurs after you update your system like the Kernel Security Check Failure.

The triggers are usually similar, so we can give you a few tips on how to avoid Kernel Security Check Failure and BSOD errors in general in the future.

âž¡ Keep your system and drivers updated

  • Windows Updates

An updated system will always work better, and it also enables you to use the latest security features, and patches released by Microsoft.

This ensures prolonged system stability and safety in the online environment. It is recommended that you check for updates as often as possible, and you can do so by following these simple steps:

  1. Press Win Key + X and choose Settings.
  2. Choose the Windows Update tab, and then click on Check for updates.
  3. Wait for the updates to be downloaded, and follow the on-screen instructions to restart your system so the updates can be applied.
  • Optional driver updates

Not all the drivers are updated automatically, most of them you will find within the View optional updates link from the Windows Updates settings menu.

To reach this menu, simply follow these steps:

  1. Press Win Key + X and choose Settings.
  2. Open the Windows Update section.
  3. Click the View optional updates link.
  4. Toggle the Driver updates section by clicking on it.
  5. Choose the optional drivers you want to install by ticking the respective boxes.
  6. Click Download and install.
  7. Wait for Windows Update to install the selected drivers.

âž¡ Clear your computer from junk programs and files

Uninstall unnecessary programs from your PC and run the Disk Cleanup tool from time to time because a clean system is less prone to errors and BSoDs.

Just type disk cleanup in Windows search and click on Disk Cleanup from the results to start it. Then select the category of files you want to delete and hit the OK button.

This is just a quick way of doing some internal cleaning but you can also delete the unused and old files manually by using File Explorer or you can use a dedicated cleaning software.

We encountered this issue in the office while we were trying to set up a network, so the steps described in this guide are the ones that helped us fix the issue.

If you have any additional questions regarding this subject, please don’t hesitate to write us in the comments section below and we will be happy to answer.

More about the topics: BSoD error codes

User forum

76 messages