Removing printer drivers from Windows 7 (The specified print driver is currently in use..)

Hi,

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.
MalcAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

LHT_STCommented:
hi,

I have come across this issue in xp before and usually it is because the port the printer is using is still open so windows thinks the driver is still in use.

if you go into control panel\devices and printers and select any installed printer an option should appear along the top. Select Print Server properties and then the ports tab. Remove the ports that are no longer needed and then try to remove the driver.
0
npinfotechCommented:
0
MalcAuthor Commented:
LHT_ST - The ports in there do not seem to display the IP address ports that the printers are using, only the local ports?

npinfotech - You do not see the printers in safe mode as the print spooler service is stopped and in safe mode it does not allow you to start it.
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

LHT_STCommented:
can you remove the driver using the same method as i suggested for the ports but selecting the driver tab?

or is that what you are trying to do?
0
Ernie BeekExpertCommented:
If you stop the print spooler service and then try to remove them?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ded9Commented:
Try the steps mentioned in this link to remove the printers.


http://www.sysprobs.com/print-spooler-stopping-automatically-fix



Ded9
0
MalcAuthor Commented:
The steps in the link were for 64 bit drivers but managed to follow the same path in the registry to the 32 bit equivalent and it solved the issue.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Printers and Scanners

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.