-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Printers
- Printer Setup, Software & Drivers
- HP MFP126NW drivers give UNEXPECTED KERNEL TRAP Mode error a...

Create an account on the HP Community to personalize your profile and ask a question
11-25-2017 07:52 PM - edited 11-25-2017 07:59 PM
Purchased a new lenovo ideapad 520 with windows 10 preloaded.
installing the drivers downloaded from HP website for the Laserjet MFP126NW gives "UNEXPECTED KERNEL TRAP MODE" error with a blue screen . repeatedly tried .
Did a Hard Reset as well, but no resolution ...
LENOVO Says hardware OK , Driver problem ... now stuck.
WIndows version is 1709 build 16299.15
anybody can help , please ....
Solved! Go to Solution.
Accepted Solutions
11-27-2017 10:06 AM
Hello, @HifromHyd – Hope you are well 🙂
Thanks for your continued participation in the HP Forums!
I see that you are facing issues while installing the LaserJet printer on your Windows 10 PC. Let’s try to perform a clean install as suggested below:
- First, unplug the USB cable from the printer, if present.
- Go to Control panel – Programs and feature – Select all the HP LaserJet printer entries and uninstall them.
- Now go to Control panel – Devices and printer – Select all the printer entries and remove the device.
- Restart your computer.
- Click the bottom-left Start button on desktop, type device manager in the search box and tap Device Manager on the menu.
- Once in device manager, click on the view tab in the top & choose “Show hidden devices”.
- Then from the device manager list, check the entries under “Printer” – If there are any entries, please right click and choose “uninstall” – In the confirm device un-install pop-up, make sure you select the box which says “Delete the driver software for this device".
- Also, check the entries under "printer queue" and "imaging devices" and repeat the same exercise. Delete any printer entry or any entry which says “Unknown device”.
- Once done, close device-manger. Then press the "windows key" + "r" to get the "Run" window open - Type "printui.exe /s" (there is a space between .exe & /) and press enter.
- Under print server properties, go to drivers - remove any entry there as well.
- Again, go to run window, type – “c:/programdata” – Go to Hewlett Packard folder, remove any printer related folders & files.
- Open run again, type “%temp%” and press enter to get the temporary files. Delete all the files here. Skip the items which cannot be deleted.
- Now restart your computer again.
- Open the Run window again, type “services.msc” and press ok to get services window.
- Scroll down to “Remote Procedure Call (RPC)” – right-click and go to properties. Make sure the service is started and startup type is “Automatic”.
- Now scroll up and go to “Function Discovery Provider Host” – right-click and select properties – Change the startup type to “manual” and start the service.
- Repeat the same exercise on “Function Discovery Resource Publication” as well.
- Now, go to http://hp.care/2u8ezX8 to download and install the software.
- Connect the USB cable if prompted and follow the onscreen instructions to complete the installation.
Let me know if that helps!
Good luck 🙂
Please click "Accepted as Solution" on the post that solves your issue to help others find the solution. To show appreciation for my help, please click the "Thumbs Up Icon" below!
DVortex
I am not an HP Employee
11-27-2017 10:06 AM
Hello, @HifromHyd – Hope you are well 🙂
Thanks for your continued participation in the HP Forums!
I see that you are facing issues while installing the LaserJet printer on your Windows 10 PC. Let’s try to perform a clean install as suggested below:
- First, unplug the USB cable from the printer, if present.
- Go to Control panel – Programs and feature – Select all the HP LaserJet printer entries and uninstall them.
- Now go to Control panel – Devices and printer – Select all the printer entries and remove the device.
- Restart your computer.
- Click the bottom-left Start button on desktop, type device manager in the search box and tap Device Manager on the menu.
- Once in device manager, click on the view tab in the top & choose “Show hidden devices”.
- Then from the device manager list, check the entries under “Printer” – If there are any entries, please right click and choose “uninstall” – In the confirm device un-install pop-up, make sure you select the box which says “Delete the driver software for this device".
- Also, check the entries under "printer queue" and "imaging devices" and repeat the same exercise. Delete any printer entry or any entry which says “Unknown device”.
- Once done, close device-manger. Then press the "windows key" + "r" to get the "Run" window open - Type "printui.exe /s" (there is a space between .exe & /) and press enter.
- Under print server properties, go to drivers - remove any entry there as well.
- Again, go to run window, type – “c:/programdata” – Go to Hewlett Packard folder, remove any printer related folders & files.
- Open run again, type “%temp%” and press enter to get the temporary files. Delete all the files here. Skip the items which cannot be deleted.
- Now restart your computer again.
- Open the Run window again, type “services.msc” and press ok to get services window.
- Scroll down to “Remote Procedure Call (RPC)” – right-click and go to properties. Make sure the service is started and startup type is “Automatic”.
- Now scroll up and go to “Function Discovery Provider Host” – right-click and select properties – Change the startup type to “manual” and start the service.
- Repeat the same exercise on “Function Discovery Resource Publication” as well.
- Now, go to http://hp.care/2u8ezX8 to download and install the software.
- Connect the USB cable if prompted and follow the onscreen instructions to complete the installation.
Let me know if that helps!
Good luck 🙂
Please click "Accepted as Solution" on the post that solves your issue to help others find the solution. To show appreciation for my help, please click the "Thumbs Up Icon" below!
DVortex
I am not an HP Employee
11-28-2017 08:38 AM
Hello, @HifromHyd
Thanks for the update & Great stuff! Glad to know that you were able to fix the issue 🙂
Please consider marking my post as "Accepted Solutions" to help other users with the same issue to find a solution more efficiently. Click on "Thumbs up" to give me "Kudos".
Visit us again if you have any concerns!
Thank you again and may you have a wonderful day and even better tomorrow 🙂
DVortex
I am not an HP Employee