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!
THIS IS A TERRIFIC FIX! Thank you - just saved me a lot of work.
ReplyDeleteDitto! I had tried most of the other fixes without any luck and came across your post. Worked like a charm! Thank you!
ReplyDeleteCathy
You just made my day!!!
ReplyDeleteThank U very much!
Awesome, thanks for your post.
ReplyDeleteworks on 32bit systems too, thanks a lot!
ReplyDeleteThanks. Was able to remove 5/6 of my drivers. Still have difficulty with a Xerox Global Print Driver.
ReplyDeleteNice tips, Thanks a lot
ReplyDeleteThanks very much, huge help!
ReplyDeleteThank you, this worked! A nice solution to a frustrating problem.
ReplyDeleteNote: 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
Thank you so much for sharing this, this worked!!
DeleteThank you! This has help us a lot. Never thought a simple rename in registry would work as a charm. Microsoft should look into this.
ReplyDeleteWorks with Server 2003 also! Thanks so much!
ReplyDeleteThanks that worked for me too. Andrew
ReplyDeleteFinally I found your blog. It worked like a charm.
ReplyDeleteHere just some extra words for google to index the problem:
2008 r2 Failed to remove driver The specified printer driver is currently in use.
Works great!! It is enough to just rename the Print Processor key. Fredrik
ReplyDeleteWow.. 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.
ReplyDeleteCheers :D
Another anonymous THANK YOU for posting this. Time saver.
ReplyDeleteMany thanks!
ReplyDeleteYou are the man dude. Finally managed to get rid of the damn driver!!! Thanks for your help.
ReplyDeleteAwesome! Many thanks!
ReplyDeleteThis has definitely worked for me. Thanks for posting and sharing.
ReplyDeleteclick 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
ReplyDeleteTo above:
ReplyDeleteI'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.
Not going to work for me :( because of the lack of an option to remove my one remaining printer
ReplyDeleteSince 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.
ReplyDeletehttp://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.
Thanks so much!!!!!!!!
ReplyDeleteThank 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.
ReplyDeleteThis is such a great tip! I was going bonkers over this issue.
ReplyDeleteThis is Works like charm!!
ReplyDeleteHey 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.
ReplyDeleteSolvent Ink
Only removing the problematic driver pack in Print Management solved my problem. I didn't have to deal with anything else. Thanks for sharing!
ReplyDeletethanks.... saved me big time.... stuck for 2 days trying to fix a problem
ReplyDeleteFor me, I had to edit:
ReplyDeleteHKLM\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.
Thanks for the help, was working on something for hours and this did the trick.
ReplyDeleteWow, renaming in registry worked! Unfortunately it was not the root of the problem I was trying to solve..
ReplyDeleteGreat fix, thanks Luka.
ReplyDeleteYAY!!! 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.
ReplyDeleteOh, and this was on windows 7 pro.
Excellent, thanks Luka. You made my life much easier today.
ReplyDeleteUsed this to fix my 0x000003eb error and associated "Print driver in use" error when attempting to uninstall a print driver in Windows 7 x64.
ReplyDeleteThis worked like a charm. Thanks Luka!
ReplyDeleteGreat work saved my butt!!!!
ReplyDeleteGenius! Thanks for posting this, it saved me a headache.
ReplyDeleteAwesome worked great.
ReplyDeleteThat worked while nothing else did ! TFS
ReplyDeleteGreat 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!
ReplyDeleteTried this a few months ago and it worked like a charm!!!
ReplyDeleteThank you for posting this fix! It worked great when I was getting frustrated with the whole situation. (Win7 Pro, 32bit and 64bit)
ReplyDeleteJust a great Workaround!!
ReplyDeleteOld post, but a life saver :-)
ReplyDeleteThanks a bunch
Awesome post! Got it right the first time.
ReplyDeleteThank you.
Worked like a charm. Thanks a million
ReplyDeletewow - the renaming to .old etc was the only thing that worked after hours of trying other methods.
ReplyDeletethank you so much!!!
(I only had to rename the one offending print processor to be able to remove the driver)
Worked Great for removing the PCL6 HP Universal Print Driver.
ReplyDeleteThank you
Removed Lexmark universal driver on PC with 15 user acc.
ReplyDeleteThank You
This worked like a charm! Nothing, and I mean NOTHING else worked. Thank you for the fix!!!!!
ReplyDeleteThis is magic - stuck on removing driver in Win8.1 for a week, this was the answer!
ReplyDelete