Removing printer drivers from Windows 7 (The specified print driver is currently in use..)
Posted on 2011-05-12
I am having a lot of problems with removing print drivers in Windows 7 and was wondering if anyone could offer some advice.
We currently have around 25 printers that are deployed via a script to all user's machines. One of these machines, which has been working fine for a couple of months, has started to show no printers available as the print spooler keeps stopping after a couple of seconds of being started.
To try to resolve the issue, I wanted to completely remove the printers and their drivers incase one is corrupt. I have managed to remove all the printers but when trying to remove the drivers from Print Management I get the message "Failed to remove driver "Driver Name". The specified printer driver is currently in use." No matter what I try I can't stop any of the drivers from being 'in use'. I have had this more or less every time when trying to remove a print driver from Windows 7, not just on this machine.
So far I have tried restarting the spooler and then removing them, restarting the machine in selective startup with all services other than Microsoft stopped and also a script to try quickly removing the drivers as soon as the print spooler service is started but it still says they are in use.
Can anyone explain how I can find out what is making the drivers in use or another way to remove them from the machine?
Thanks in advance.