If your computer crashes into BSOD after installing a new driver, you may see this error message, “System error exception, Error code- ddkmd.sys” on your screen before your computer reboots. Don’t worry. The corrupted driver which you have just installed is the main culprit here. To solve the issue on your computer follow these easy fixes.
Fix-1 Delete driver file in Safe Mode-
Deleting a driver in normal mode is improbable. So, you have to boot into Safe mode manually and then try to uninstall the driver from your system.
Step-1 Boot into Safe Mode-
1.What you need to do when the Automatic Repair window appears, click on “Advanced options“.
2. In Choose an option window, select the “Troubleshoot” option.
3. You need to access the “Advanced options“.
4. Simply access the “Startup Settings” to check out the startup settings on your device.
5. When you see that the Startup Settings window has appeared, click on “Restart“.
6. You will notice that various types of Startup Settings have appeared.
7. Press “5” from your keyboard.
Your computer will be booted into Safe Mode with Networking access.
Step-2 Start Windows Installer service-
1. Pressing ‘Windows key‘ and the ‘R‘ key will open the Run window.
2. In the Run window, type “cmd” and then press ‘Ctrl+Shift+Enter‘ keys together to open the Command Prompt in administrative mode.
3. To disable the Windows Search service, copy-paste this command in Command Prompt window and hit Enter to execute it on your computer.
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\MSIServer" /VE /T REG_SZ /F /D "Service"
4. Now, you have to start the Windows installer service on your computer.
net start msiserver
Once you notice “The Windows Installer service was started successfully.” message has appeared in the CMD window, close the Comand Prompt.
Step-3 Uninstall the faulty driver-
Now, all that is left to uninstall the problematic driver from your computer.
(Here, for example, we have uninstalled the sound driver from our computer to illustrate the process.)
1. Now press Windows key+X and then click on the “Device Manager“.
2. You need to expand “Sound, video and game controllers“.
3. To uninstall the device temporarily from your computer, right-click on the driver you installed recently and then click on the “Uninstall device” option.
Now, reboot your computer to solve the issue.
While rebooting your device, Windows will install the default driver for the device.
Your device will work just fine after restarting.
In case in task manager CPU is jumping to 100%
and system is crashing with BSOD then move the ddkmd.sys from C: Windows System32 drivers to your Desktop and then boot the system , it will work normally as this file creates an issue and not finding the HW will keep increasing CPU to 100%.
Don’t worry in worst case scenario – you can still boot in safe mode and bring back the file to original location . 🙂
Good Luck !!!