How to Fix KMODE_EXCEPTION_NOT_HANDLED (cng.sys) BSOD on Windows 10?

Issue: Hello. I’m a new Windows 10 user and I’m already regretting that I’ve switched to this OS. I’ve upgraded from Windows 8 to 10 few days ago, but now I get a BSOD every time I start the system. The error says KMODE_EXCEPTION_NOT_HANDLED (cng.sys). Please help!

Solved Answer

The Blue Screen of Death with the message KMODE_EXCEPTION_NOT_HANDLED (cng.sys) emerges on Windows 10 OS exceptionally. While it initially started to occur in 2015, some people still confront this lock screen.[1] According to some programmers, this BSOD is triggered by a conflict between Window OS and the Realtek driver. However, similarly to other blue screen errors, this one may also be caused by registry corruption, software compatibilities or malware.[2]

While analyzing people’s reports on Microsoft forum, we’ve found false claims that removal of cng.sys is the easiest solution. Do not use this recommendation because cng.sys is one of the critical Windows system files, meaning that it’s misplacement, removal or damage may cause further hardware and software incompatibilities. Consequently, the PC may crash without leaving you the ability to fix KMODE_EXCEPTION_NOT_HANDLED error without the help of professional technicians.

Nevertheless, in some of the cases, people managed to resolve the issue by simply forcing the system to shut down and then boot into Safe Mode. This may happen if the system has started malfunctioning due to temporary failure. If, however, the KMODE_EXCEPTION_NOT_HANDLED (cng.sys) error is triggered by driver failure, software incompatibility or damaged registries, you will need to fix the problem by performing the methods provided below.

KMODE_EXCEPTION_NOT_HANDLED (cng.sys) Blue Screen of DeathThe error stating KMODE_EXCEPTION_NOT_HANDLED (cng.sys) scares people with the blue screen, but the issue can be fixed.

Typically, KMODE_EXCEPTION_NOT_HANDLED (cng.sys) BSOD occurs when starting the system after a shutdown or hibernate, but not restarting. The stop error freezes the screen and prevents the system from booting up normally while showing the following messages:

A problem has been detected and Windows has been shut down to prevent damage to your computer. The problem seems to be caused by the following file: Cng.sys.

🙁 Your PC ran into a problem and needs to restart. We’re just collecting some info, and then we’ll restart for you. If you would like to know more, you can search online later for this error: cng.sys.

STOP 0x0000000A: IRQL_NOT_LESS_EQUAL – cng.sys


Damaged, misplaced or corrupted Registry Entries is the number one problem, which triggers most of the errors that people encounter on Windows 10 OS. Also, it is possible that malware affected those registry entries and caused more issues in the background of your machine without showing other infection symptoms.[3] Therefore, the full scan of the system can help you to fix KMODE_EXCEPTION_NOT_HANDLED (cng.sys) BSOD error. install FortectMac Washing Machine X9 or another powerful PC optimization tool and run a full system scan with it.

Reinstall Realtek driver

Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect.
  • Right-click on Win key and select Device Manager.
  • When the Device Manager window opens, expand Network controllers folder, right-click on Realtek driver and select Uninstall. If a confirmation window pops up, click OK to proceed. In some rare cases, users are required to enter Administrator password, so if you have received such permission, make sure that you type in the right password.
  • After that, expand Sound, video, and game controllers and uninstall Realtek driver as well.
    The KMODE_EXCEPTION_NOT_HANDLED errorKMODE_EXCEPTION_NOT_HANDLED (cng.sys) error can be fixed by updating or uninstalling drivers.
  • Once the process is finished, restart your PC.
  • Now you have to re-install the drivers that you have removed before. To do this, go to the Device Manager again.
  • Click Action tab on the toolbar.
  • Select Scan for Hardware Changes and let the system detect and install the missing driver automatically.
  • If for some reason this process ends up with the failure, go to the manufacturer’s website and download the drivers manually.

Install all available Windows OS updates

  • Click the Start button and type update in the search box
  • When the Windows dialogue opens up, Check for them and Install Updates if there any new ones.
    Windows OS UpdateYou may benefit from Windows Update in general, but such a process also can fix the KMODE_EXCEPTION_NOT_HANDLED (cng.sys) error.

Turn Off Fast Startup

Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect.

Several people have approved that disabling Fast Startup has helped them to resolve the cng.sys bug. Therefore, if the previous methods did not help, then this one is worth trying:

  • Right-click Win key and select Control Panel.
  • Open Power Options and click Choose what the power buttons do on the left pane.
  • Select Change settings that are currently unavailable under Define power buttons and turn on passwords.
  • If UAC window opens, click Yes to proceed.
  • Find Shutdown settings and uncheck Turn on fast startup box.
  • Click Save changes and close the window you are currently in.

Rus System File and Hard Drive Curroption Checker command

  • Go to Command Prompt with administrative right and enter the following commands to run the needed processes and press Enter after each one:
    sfc /scannow
    chkdsk /f

Command Prompt with admin rightsSystem file checker can indicate possibly corrupted files and help to fix KMODE_EXCEPTION_NOT_HANDLED (cng.sys) BSOD issue.

Repair your Errors automatically team is trying to do its best to help users find the best solutions for eliminating their errors. If you don't want to struggle with manual repair techniques, please use the automatic software. All recommended products have been tested and approved by our professionals. Tools that you can use to fix your error are listed bellow:

do it now!
Download Fix
Compatible with Microsoft Windows
Still having problems?
If you failed to fix your error using Fortect, reach our support team for help. Please, let us know all details that you think we should know about your problem.
Fortect - a patented specialized Windows repair program. It will diagnose your damaged PC. It will scan all System Files, DLLs and Registry Keys that have been damaged by security threats.
This patented repair process uses a database of 25 million components that can replace any damaged or missing file on user's computer.
To repair damaged system, you have to purchase the licensed version of Fortect malware removal tool.

Prevent websites, ISP, and other parties from tracking you

To stay completely anonymous and prevent the ISP and the government from spying on you, you should employ Private Internet Access VPN. It will allow you to connect to the internet while being completely anonymous by encrypting all information, prevent trackers, ads, as well as malicious content. Most importantly, you will stop the illegal surveillance activities that NSA and other governmental institutions are performing behind your back.


Recover your lost files quickly

Unforeseen circumstances can happen at any time while using the computer: it can turn off due to a power cut, a Blue Screen of Death (BSoD) can occur, or random Windows updates can the machine when you went away for a few minutes. As a result, your schoolwork, important documents, and other data might be lost. To recover lost files, you can use Data Recovery Pro – it searches through copies of files that are still available on your hard drive and retrieves them quickly.


About the author
Olivia Morelli
Olivia Morelli - PC & Mac repair expert

Olivia Morelli is a young, but a perspicacious IT expert who is currently just a year away from a Bachelor’s Degree in Software Systems. Her primary passion is cyber security, however, thanks to her detailed understanding of computer networks, operating systems and hardware, she can find a fix for any PC or Mac issue...

Contact Olivia Morelli
About the company Esolutions


What you can add more about the problem: "How to Fix KMODE_EXCEPTION_NOT_HANDLED (cng.sys) BSOD on Windows 10?"