Fix UNEXPECTED_KERNEL_MODE_TRAP error in Windows 10

The UNEXPECTED_KERNEL_MODE_TRAP error in Windows 10 occurs whenever the CPU generates a trap or exemption. The error code associated with this Blue Screen of Death error is 0x00000007F.Unexpected Kernel Mode Trap Error In Windows 10

Causes

The causes could be many but it basically points towards an issue with some hardware component. It could be due to faulty memory, dust on components, incompatible hardware or software, incompatible drivers, etc.

Preliminary steps

1] Uninstall and recently install suspicious software, especially freeware since they bring virus and malware along with themselves.

2] Try disconnecting hardware peripherals one by one and try to find out which of them was the troublesome one. In case the troublesome hardware was an internal hardware, we would have to follow the following solutions.



3] Update Windows: Updating Windows also updates the drivers. Here’s the procedure to update the drivers.

Check For Updates

 

Thereafter, proceed with the following solutions:

1} Update the drivers

2} Use the Memory Diagnostic Tool to check RAM

3} SFC scan

4} Run a CHKDSK scan

5} Clean dust from the components manually

 

Solution 1] Update the drivers

1] Press Win + R to open the Run window and type the command devmgmt.msc. Press Enter to open the Device Manager.

Type Devmgmt

 

2] Update all the drivers one by one or use a third-party software to update the drivers.

Update Microphone Drivers

 

We could also use the Automatic update option from Intel’s download center.

Solution 2] Use the Memory Diagnostic Tool to check RAM

1] Press Win + R to open the Run window and type the command mdsched.exe. Press Enter to open the Memory Diagnostics window.

Mdsched

 



2] Select Restart now and check for problems.

Restart Now And Check For Memory Problems

 

Solution 3] SFC scan

An SFC scan checks for missing files in a system and replaces them. The procedure for an SFC scan is explained here.

Solution 4] Run a CHKDSK scan

In case the issue is with the hard drive, running a CHKDSK scan would be helpful in resolving it. It checks for bad sectors in the hard drive and fixes them if possible. Here’s the procedure for a CHKDSK scan.

Solution 5] Clean dust from the components manually

If you think you are proficient enough to open the cabinet of your system, try cleaning the dust from the components and check if it helps. Clean the dust near the vent of the fan especially.