Steps To Fix UNEXPECTED_KERNEL_MODE_TRAP Error on Windows 10
Run Hardware Diagnostic
Hardware failure may be responsible for UNEXPECTED_KERNEL_MODE_TRAP BSOD error, perform a hardware test on your computer. Please follow the steps provided by your system manufacturer to run the hardware test, you can also search online or contact system manufacturer to learn how to run a hardware test on your PC. Perform the next step in case of no hardware failure.
Perform DISM Command To Fix UNEXPECTED_KERNEL_MODE_TRAP
Type in Powershell in the windows search box, make a right click on Windows Powershell and select Run as administrator.
Copy and paste this command dism.exe /Online /Cleanup-image /Restorehealth on the PowerShell Window and press the enter key on the keyboard.
Run SFC Scan: Open Powershell windows once again, copy and paste this command sfc /scannow. It may take some time to finish the scan, do not close the windows before the scan completes.
A bad and outdated driver can cause UNEXPECTED_KERNEL_MODE_TRAP error. Press Windows + I key to open the Run box, type devmgmt.msc in the run box and click on OK to launch Device Manager, make a right click on desired device and select Update driver
Also, check all device one by one to see if any device shows a yellow exclamation mark in front of them. If you see a yellow exclamation mark, make a right click to update them.
You can also make a right click on it and click uninstall and restart your PC, it should install the default driver itself, if not make a right click to install or update.
Roll Back Drivers
Sometimes recent installation of any driver may cause UNEXPECTED_KERNEL_MODE_TRAP error. Roll back the device driver, launch the device manager, try to figure out which driver was installed recently, select that device, make a right click on it and go to the Properties, go to the Driver tab, click on Roll Back Driver and Restart the PC.
Jump the step if the Roll Back Driver option is greyed out.
Run Anti Virus System Scan
Malware, viruses can infect and corrupt Windows, it may result in UNEXPECTED_KERNEL_MODE_TRAP error, run anti-virus scan to get rid of the infections. You can also run Windows Security. Type in Windows Security in Windows search box and open it, select Virus & threat protection, go to Scan options and run a Full Scan.
Run Hard Drive Scan
Run a drive scan to find out system files errors which may be the cause of UNEXPECTED_KERNEL_MODE_TRAP error, make a right click on the intended drive, normally it’s a C drive where windows 10 is installed. Go to the Properties and select the Tools tab and click on Check.
Updating windows 10 with the latest update may fix UNEXPECTED_KERNEL_MODE_TRAP BSOD error. Press Window + I to open Windows 10 Settings > Update & security > Windows Update > Check for updates, restart your PC after the update.
Update System BIOS And Necessary Drivers
BIOS update is a mandate to resolve many issues with the system, please visit PC manufacturer’s site to update the system BIOS, sound driver, and all the important driver.
Updating video card may fix UNEXPECTED_KERNEL_MODE_TRAP error. Use the below links to update the graphics driver, integrated Intel Graphics driver can be updated from device manager.
Uninstall Windows 10 Update
Recent Windows 10 update may also result in UNEXPECTED_KERNEL_MODE_TRAP error, in that case uninstalling the recent update may fix the error.
Open Windows 10 settings and click on View update history.
Click on uninstall updates which were recently installed.
Restart your PC after the uninstallation.
Perform System Restore
Restore your PC to a previous restore point to fix UNEXPECTED_KERNEL_MODE_TRAP error. It will undo all the recent changes made to the PC which may be the root cause of the error.
System restore will not delete with your personal files however, you will lose all the apps and updates that were installed after the restore point.
Write System Restore in Windows search box and open Create a restore point
Go to System Protection click on System restore
Select recommended restore or Choose a different restore point as shown below. Select a date which you think is related to the app, driver or update which has caused the UNEXPECTED_KERNEL_MODE_TRAP error and then click on next. Select the restore point created before the UNEXPECTED_KERNEL_MODE_TRAP error.
Choose the date and click on Next
Confirm your restore point and click on Finish.
It may take a long time to complete the process.
It has been noticed that because of blue screen UNEXPECTED_KERNEL_MODE_TRAP error, you are not able to use PC because of continuous restarts and it becomes impossible to troubleshoot. In that case, follow the steps mentioned below:
Utilize Safe Mode
UNEXPECTED_KERNEL_MODE_TRAP error may prevent you to log in to the windows because of continuous system restarts. In that case, press and hold the Shift key on the keyboard and while holding the shift key click on the restart on the Windows login screen as shown below to go to the Advanced Boot Options.
In case you are not able to go to the login screen then fail the system to start for a couple of times to go to the Windows Recovery Environment. To do so, start your PC, as soon as you see the system logo (Dell, Lenovo. HP, etc) hard shut down your PC by pressing and holding the power button, try this couple of times, it will take you to the Windows Recovery Environment.
Now click on Troubleshoot
Now click on Advanced options and then click on Startup Settings
Click on Restart
The system should restart, press F4 or the 4 key on the keyboard to select Enable Safe Mode
In safe mode, uninstall windows update, corrupt driver which may be the reason for UNEXPECTED_KERNEL_MODE_TRAP error.
Also, try uninstalling the app which you think may be causing UNEXPECTED_KERNEL_MODE_TRAP error.
Press Windows+ R key to open Run Box, type in appwiz.cpl and click OK.
Click Uninstall to remove unnecessary Apps from your PC
Perform System Restore Outside OS Environment
Go to the Advanced Boot Option, start your PC, as soon as you see the system logo (Dell, Lenovo. HP, etc) hard shut down your PC by pressing and holding the power button, try this couple of times, it will take you to the Windows Recovery Environment.
Click on Troubleshoot
Select Advanced options, click on System restore
The system will restart now, select your account and sign in then click Next
Select the restore point created before the UNEXPECTED_KERNEL_MODE_TRAP error, click on Next, Click Finish to start System Restore.
If all the above steps did not fix UNEXPECTED_KERNEL_MODE_TRAP error then it may the corrupt OS which needs to be reinstalled. You will lose all the data and apps on your PC, backup your data if you can. Visit the below link and follow the steps to reinstall Windows 10 on your PC.
- Do not overclock your hardware component to avoid UNEXPECTED_KERNEL_MODE_TRAP error.
- Contact your System manufacturer if you are receiving UNEXPECTED_KERNEL_MODE_TRAP error after replacing a hardware component on your PC.
- Try swapping the memory module on your PC in case there are multiple memory installed, you can also try to use different memory slot and check for the UNEXPECTED_KERNEL_MODE_TRAP error.