06 April 2011

Unable to remove printer driver from Windows 7

I was contacted by a customer few days ago with yet another challanging problem. He called and said: “Luka hi, we can't upgrade or remove some printer drivers from one third of our Windows 7 x64 SP1 machines.”

The error message when we tried to remove different printer driver packages was:
Failed to remove driver HP Universal Printing PCL 6 (v5.2). The specified printer driver is currently in use.
Failed to remove driver HP Universal Printing PCL 6. The specified printer driver is currently in use.
Failed to remove package hpcu111u.inf. Driver package is in use.

and

Failed to remove driver Kyocera Classic Universaldriver. The specified printer driver is currently in use.
Failed to remove package oemsetup.inf. Driver package is in use.


I started troubleshooting this and tried almost all suggested solutions I could found on the net like:
- stop / start spooler
- reboot to safemode and unistall driver from there
- msconfig disabling all non Microsoft services
- cleanspl.exe
- logged on as every user, deleted both the printer and the driver
- disabling bidirectional support
- RUNDLL32 PRINTUI.DLL,PrintUIEntry /dd /c \\MachineName /m "AGFA-AccuSet v52.3" /h "Intel"
- printui /s /t2
- MS forum post: Deleting Printer drivers from Vista system 
- MS Answers question: Trying to un-ininstall print driver error message ...
- Skidzopedia post: How To Fix “Cannot remove or delete network printer” Error in Windows 
- and probably other solutions that also didn't help ...

At the end I found interesting workaround that went like this:
1. First I removed printer in "Devices and Printers"
2. Then I stopped print spooler
3. In registry I opened

HKLM\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows x64\Print Processors\

4. I renamed all Print Processors that were listed. Like Winprint to Winprint.old, Hpcpp107 to Hpcpp107.old, and so on ...
5. I started print spooler
6. Removed problematic driver pack in Print Management MMC
7. Reopened registry location

HKLM\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows x64\Print Processors\

8. Renamed back all Print Processors to original name. Like Winprint.old to Winprint, Hpcpp107.old to Hpcpp107, and so on ...
9. Restart print spooler
10. Installed new printer drivers
11. Tested printing

Maybe this procedure will also help someone else with similar problems :)

This is it for today. Have fun!

149 comments:

  1. THIS IS A TERRIFIC FIX! Thank you - just saved me a lot of work.

    ReplyDelete
  2. Ditto! I had tried most of the other fixes without any luck and came across your post. Worked like a charm! Thank you!

    Cathy

    ReplyDelete
  3. You just made my day!!!

    Thank U very much!

    ReplyDelete
  4. Awesome, thanks for your post.

    ReplyDelete
  5. works on 32bit systems too, thanks a lot!

    ReplyDelete
  6. Thanks. Was able to remove 5/6 of my drivers. Still have difficulty with a Xerox Global Print Driver.

    ReplyDelete
  7. Thanks very much, huge help!

    ReplyDelete
  8. Thank you, this worked! A nice solution to a frustrating problem.
    Note: we have 32-bit Windows 7 and this is the registry location I used:
    HKLM\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\Version-3

    ReplyDelete
    Replies
    1. Thank you so much for sharing this, this worked!!

      Delete
  9. Thank you! This has help us a lot. Never thought a simple rename in registry would work as a charm. Microsoft should look into this.

    ReplyDelete
  10. Works with Server 2003 also! Thanks so much!

    ReplyDelete
  11. Thanks that worked for me too. Andrew

    ReplyDelete
  12. Finally I found your blog. It worked like a charm.
    Here just some extra words for google to index the problem:
    2008 r2 Failed to remove driver The specified printer driver is currently in use.

    ReplyDelete
  13. Works great!! It is enough to just rename the Print Processor key. Fredrik

    ReplyDelete
  14. Wow.. thanks a lot for taking time out to share the workaround. Its just what i needed after a day long head banging to delete the drivers and ports.

    Cheers :D

    ReplyDelete
  15. Another anonymous THANK YOU for posting this. Time saver.

    ReplyDelete
  16. You are the man dude. Finally managed to get rid of the damn driver!!! Thanks for your help.

    ReplyDelete
  17. This has definitely worked for me. Thanks for posting and sharing.

    ReplyDelete
  18. click the internet explorer go to file print. there you find all the list of printers. From there right click the printer which you want to delete. this will solve the problem

    ReplyDelete
  19. To above:
    I'm in a situation where it doesn't give me an option to delete one particular printer in the control panel. Going to try to work through the original suggestion and see if it works for me.

    ReplyDelete
  20. Not going to work for me :( because of the lack of an option to remove my one remaining printer

    ReplyDelete
  21. Since Luka's excellent blog post, Microsoft have released a new fixit tool for printer problems, and a 'pre-sp2' hotfix rollup package for the printer subsystem.
    http://blogs.technet.com/b/askperf/archive/2012/02/24/microsoft-fixit-for-printing.aspx

    http://support.microsoft.com/kb/2647753

    But for me, Luka's advise fixed things in the first instance.

    ReplyDelete
  22. Thanks so much!!!!!!!!

    ReplyDelete
  23. Thank you! I had a Canon MP driver that I need to install but there was a previous version left over that I couldn't remove. I couldn't even do it with the removal utilities that ship on the disk from Canon. You point pointed me to the Print Management snap-in which was able to remove the left-over driver crud.

    ReplyDelete
  24. This is such a great tip! I was going bonkers over this issue.

    ReplyDelete
  25. This is Works like charm!!

    ReplyDelete
  26. Hey that's really a great post and a wonderful description out here, I really like the way things are being executed and discussed here.Great to read and know more about such kind of stuff.

    Solvent Ink

    ReplyDelete
  27. Only removing the problematic driver pack in Print Management solved my problem. I didn't have to deal with anything else. Thanks for sharing!

    ReplyDelete
  28. thanks.... saved me big time.... stuck for 2 days trying to fix a problem

    ReplyDelete
  29. For me, I had to edit:

    HKLM\SYSTEM\CurrentControlSet\Control\Print\Printers

    Find the questionable driver/printer, stop spooler, rename that reg-key, start spooler, refresh the print-driver page, then remove the driver.

    ReplyDelete
  30. Thanks for the help, was working on something for hours and this did the trick.

    ReplyDelete
  31. Wow, renaming in registry worked! Unfortunately it was not the root of the problem I was trying to solve..

    ReplyDelete
  32. Great fix, thanks Luka.

    ReplyDelete
  33. YAY!!! Worked for me. I didnt rename the registries, just deleted them and then I was able to do printui /s /t2 to remove both driver and package as admin. MS, what a pain!!!! Why is this so difficuilt?!?!? cry cry cry.

    Oh, and this was on windows 7 pro.

    ReplyDelete
  34. Excellent, thanks Luka. You made my life much easier today.

    ReplyDelete
  35. Used this to fix my 0x000003eb error and associated "Print driver in use" error when attempting to uninstall a print driver in Windows 7 x64.

    ReplyDelete
  36. This worked like a charm. Thanks Luka!

    ReplyDelete
  37. Great work saved my butt!!!!

    ReplyDelete
  38. Genius! Thanks for posting this, it saved me a headache.

    ReplyDelete
  39. Awesome worked great.

    ReplyDelete
  40. That worked while nothing else did ! TFS

    ReplyDelete
  41. Great stuff. I added in a couple little additions of my own like removing from the registry a reference to an old print server etc... Great guide to resolve this issue. Most importantly, removing the driver was did correct my underlying problem of a printer that wouldn't print! Thanks!

    ReplyDelete
  42. Tried this a few months ago and it worked like a charm!!!

    ReplyDelete
  43. Thank you for posting this fix! It worked great when I was getting frustrated with the whole situation. (Win7 Pro, 32bit and 64bit)

    ReplyDelete
  44. Old post, but a life saver :-)

    Thanks a bunch

    ReplyDelete
  45. Awesome post! Got it right the first time.

    Thank you.

    ReplyDelete
  46. Worked like a charm. Thanks a million

    ReplyDelete
  47. wow - the renaming to .old etc was the only thing that worked after hours of trying other methods.
    thank you so much!!!
    (I only had to rename the one offending print processor to be able to remove the driver)

    ReplyDelete
  48. Worked Great for removing the PCL6 HP Universal Print Driver.

    Thank you

    ReplyDelete
  49. Nice post due to your blog i am now aware with too much Kyocera's printers do you know any Printer Cartridges Specialist for Kyocera and Lexmark branded printers also for compatible.

    ReplyDelete
  50. Removed Lexmark universal driver on PC with 15 user acc.
    Thank You

    ReplyDelete
  51. This worked like a charm! Nothing, and I mean NOTHING else worked. Thank you for the fix!!!!!

    ReplyDelete
  52. Excellent information.I like the way of writing and presenting

    123hpremoteassistance officejet 6100 Printer Support

    ReplyDelete
  53. Great blog! I really love how it is easy on my eyes and the information are well written.

    123HPEnvy OfficeJet3837 Install

    ReplyDelete
  54. Guys all the printers are having the same process for installation and the software download is same for the new printers too?


    hp dj 3631 printer install

    ReplyDelete
  55. A very interesting article. The insights are really helpful and informative. Thanks for posting.
    123 HP Officejet Pro 8724 Printer Setup

    ReplyDelete
  56. A very interesting article. The insights are really helpful and informative. Thanks for posting.
    Hp Officejet 6100 Wireless Setup

    ReplyDelete
  57. This is magic - stuck on removing driver in Win8.1 for a week, this was the answer!

    ReplyDelete
  58. Good article for to remove printer driver for windows. Need more models article. Thanks for sharing. hpconnected.com login

    ReplyDelete
  59. informative post and well explained on hp printers.
    thanks for sharing your information.
    hp officejet pro 8724 printer driver

    ReplyDelete
  60. I am really happy to say it’s an interesting post to read . I learn new information from your article , you are doing a great job . Keep it up
    hp officejet 3837 wireless printer

    ReplyDelete
  61. This comment has been removed by the author.

    ReplyDelete
  62. This comment has been removed by the author.

    ReplyDelete
  63. Cheerful Training 123.hp.com , Cheering Unit 123.hp.com , Cheery Vignette 123.hp.com , Cherished Accepted 123.hp.com , Chic Acknowledgement 123.hp.com

    ReplyDelete
  64. Disciplined Judgement 123.hp.com , Distinct Key 123.hp.com , Diverting Knowledge 123.hp.com , Doable Leading 123.hp.com

    ReplyDelete
  65. I actually enjoyed reading through this posting.Many thanks.


    hp envy 5540 wifi password

    ReplyDelete
  66. Hi, probably our entry may be off topic but anyways, I have been surfing around your blog and it looks very professional. It’s obvious you know your topic and you appear fervent about it. I’m developing a fresh blog plus I’m struggling to make it look good, as well as offer the best quality content. I have learned much at your web site and also I anticipate alot more articles and will be coming back soon. Thanks you.


    hp envy 5540 manual

    ReplyDelete
  67. If you arefacing HP printer issue related to HP printer setup, HP installation or HP printer is not connect to other device, please visit here www.hp.com/support.

    ReplyDelete
  68. This comment has been removed by the author.

    ReplyDelete
  69. my.avast.com - Manage Avast Account by Avast Login at www.myavastt.com or id.avast.com and Manage Avast Services like Avast Activation, Billing Information etc...
    McAfee.com/Activate

    My.avast.com

    Garmin.com/express

    Webroot Login

    McAfee Login


    ReplyDelete
  70. Really it is very great information that you have shared and thanks for sharing the information with us.
    Lexmark support
    Lexmark printer support
    Lexmark printer customer service
    Lexmark printer technical support

    ReplyDelete
  71. Informative article. Thanks for sharing such an valuable article.this is best article .
    MagicJack usb
    MagicJack Support Number
    MagicJack Help Number

    ReplyDelete
  72. Welcome to shopclueswinner.com check your lottery shopclues online lucky draw winner and win a tata safari car and others prize. just call on shopclues online prize department number 91-9835317379.

    Shopclues here thought of an Offer where you can win exceptional Shopclues prize by simply playing a game and win prizes Call @9835317379"
    Shopclues online lucky draw winner
    Shopclues winner 2020
    shopclues car lucky draw

    ReplyDelete
  73. Thank you for sharing such a nice information about the business but we are one of the center in San diego which provide following treatment in Our rehab centre to know more click below link
    Safe Detox Center In San Diego
    Addiction Intervention In San Diego
    San Diego Rehab For Neurological
    Stroke Rehab In San Diego
    San Diego Rehab For General Debility
    San Diego Rehab For Orthopedic

    ReplyDelete
  74. Arch dental is #1 dentist in Northampton because they have quality services & excellent customer reviews on google to know more visit the website

    ReplyDelete
  75. This is really an awesome article. Thank you for sharing this.It is worth reading for everyone.

    hp officejet 3830 driver free download

    ReplyDelete
  76. very nice blogs!!! i have to learning for lot of information for this sites...Sharing for wonderful information.Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing.
    hp officejet 3830 driver free download

    ReplyDelete
  77. very nice blogs!!! i have to learning for lot of information for this sites...Sharing for wonderful information.Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing.
    hp officejet 3830 driver free download

    ReplyDelete
  78. whenever you try to print any document from my HP printer, some time it won't respond properly,
    it might show "printer is offline" error.
    the issue is mainly due to driver issue and you have to download the latest drivers from 123.hp.com/setup .
    if you still can't fix it visit 123.hp.com and contact support team. these are other link find out your device and follow the steps
    123.hp.com/setup 5055

    123.hp.com/setup 5540

    123.hp.com/setup 5660

    123.hp.com/setup 7640

    ReplyDelete
  79. Rent a car Islamabad is one of the most trustworthy and renowned name of the VIP car rental market place in Pakistan.
    We offer premium car rental service at affordable charges to keep your traveling need absolutely budget friendly.
    rent a car islamabad

    ReplyDelete
  80. Rent a car Islamabad is one of the most trustworthy and renowned name of the VIP car rental market place in Pakistan.
    We offer premium car rental service at affordable charges to keep your traveling need absolutely budget friendly.
    rent a car islamabad

    ReplyDelete
  81. Are you looking For Brother Printer Tech Support then 18004360509 is printer toll Free nUmber Get Brother Printer troubleshooting Free

    ReplyDelete
  82. If you have any doubt for printer setup, driver download, wireless setup, usb setup and troubleshooting follow this link123hp.com/setup 2723

    ReplyDelete
  83. Thanks for sharing such wonderful information, but you can also check my post about United Airlines Reservations

    ReplyDelete
  84. Very interesting post, but I also want to suggest something aboutjetblue-reservations

    ReplyDelete
  85. Nice post, thanks for sharing, you can also check my post about jetblue Booking

    ReplyDelete
  86. Is it accurate to say that you are searching for some significant insights regarding the Jetblue airlines reservations ? Indeed, JetBlue Airlines has an able reservation framework, and the administrations accessible for the travelers are additionally extensively captivating. Because of an exceptionally solid reservation framework, JetBlue Airlines is routinely the principal decision of the individuals who anticipate making an air trip. Those individuals who need to find different significant insights concerning the Jetblue reservations are in a proper spot. Hence, the most noteworthy parts of the Jetblue Airlines Official Siteare examined underneath.

    ReplyDelete
  87. iot training in chennai - Iot Training in Chennai - IOT is an latest trending technology in which most of students are literally Interested to start there career in. Find the Best IOT Training Institute in Chennai.

    DevOps training in chennai - Start to learn the DeVops technology from the Best DeVops training Institute in Chennai.

    blue prism training in Chennai - Join the Robotic process automation from the Best Blue prism training in Chennai and go forward in your career.

    uipath training in Chennai - Join the uipath course and training in Chennai a web application course that will help you to schedule, monitor as well as manage the Robots.

    microsoft azure training in chennai - Microsoft azure is an course for both freshers and experienced, get trained under the Best Microsoft azure training Institute in Chennai.

    ReplyDelete
  88. It is a valid link to activate www.amazon.com mytv code or primevideo mytv code in your device. You can watch Amazon prime video on amazon mytv, just you need to enter a 6 digit amazon registration code on your device.

    ReplyDelete
  89. Due to poor technical knowledge, I am getting jam in the middle of the setup process of the HP printer. What to do? I am unable to guess the setup process of the HP printer. It has become a risky task for me, so I need to take the master technical help from a certified technical specialist. I am sharing the HP setup procedure, this discussion with all of you, guys. So please anyone can urge the simple ways to set up the hp.com/123 perfectly. Your guidence would be praise.

    ReplyDelete
  90. I want a printing machine for printing my official files. I accept using 123.hp.com/setup envy 5020 HP products for my printing needs. HP tools are the best quality printing device, so thousands of users suggest it for printing needs.

    ReplyDelete
  91. We can instruct you properly if you need to set up an HP wireless printer using 123.hp/setup. You can do the setup process easier if you have the correct technical knowledge about 123.hp.com/ojp6968.

    ReplyDelete
  92. It would be pretty difficult to set up their HP Printer in a suitable way. The unprotected printer users may vary for generative instruction for the printer tool. That’s why; our technical engineers have fixed to advance a website i.e.,123.hp.com/setup to give more information concerning HP Printer setup.

    ReplyDelete
  93. Being a machinery device, different technical 123.hp.com/setup faults could arise during print jobs. There are so many general printer issues that multiple users may be confronting continuously and so need quick support to fix them.

    ReplyDelete
  94. The full instruction will be seen on your system screen when you enter the link 123.hp.com/envy5540. The complete guide for solving Printer Not Printing Black issues is introduced on that page.

    ReplyDelete