How to forcefully clear all jobs from a print queue
Posted on March 11, 2007 at 1:12 am
All administrators should know how to clear the print queue in Windows when all the jobs get “stuck” and none of the jobs can be deleted. This will save you from having to restart a server (which is bad!).
In order to get the printing services back up and running, follow these steps:
1. Go to Start, Control Panel and Administrative Tools. Double click on Services icon.
2. Scroll down to the Print Spooler service and right click on it and select Stop. In order to do this, you need to be logged in as Administrator. At this point, no one will be able to print anything on any of the printers that are being hosted on this server.
3. Next you need to go to the following directory: C:\WINDOWS\System32\spool\PRINTERS. Delete all the files in this folder. This will clear all print queues (it’s a good idea to first make sure there are no other print jobs being processed on any of the other printers on the server because doing this step will delete those jobs also)
4. Now you can go back to the Services console and right-click and choose Start for the Print Spooler service!
You can also go to a command prompt and type net stop spooler or net start spooler to start and stop the service.
Good luck!
» Filed Under Computer Tips
Related Posts
- How to share a printer on your home network that doesn’t have a network card
- Fix for Cannot remove or delete network printer
- How to delete undeletable files in Windows (Part 1)
- How to prevent shutdown of a Windows XP computer
- Can’t play MP4 files on your XBox 360?























Thanks for this! Exactly what I was looking for after a Google search!
This is great, but is there a way to create a script that can be run from a user’s workstation to clear the queue on a remote server without having to log into that server? That’s what I’m looking for!
Just what I was looking for. Our 2000 server has print server devices, and queues get stuck. Administering via terminal service no problem.
Here is a simple script i know of. Just save that as a .BAT file from notepad after modifying it to your machine. Just modify the path to your print spool, save and run it.
net stop spooler
del /f C:Windows\System32\spool\printers\*.*
net start spooler
Thanks, I needed that path. I knew there was someplace like that out there but couldn’t remember it. Unfortunately, I can’t delete anything in there. The two files say they’re in use when I try to delete them. Probably by the darn print queue.
Thank you, Computer Guy, for the tip, and thank you, Rick, for the *.bat file. Just what I need. There is now always a queue of pending jobs that have already been printed — usually by my Adobe PDF printer. I can always delete them all if I do it when there are only 5 recent jobs or so, but last night (July 21) I tried to delete about 10. The one from July 9 refused to go away. Only 8 bytes, but it stayed and stayed and stayed!
Hi,
We had print server installed on our network and some of the print queues are getting stuck on some printers. Due to this, users are not able print from these printers. If we stop the spooler service on print server other printers will be affected. Here is my question: how to delete the queues on affected printer without disturbing other printers?
Thanks
just saved me a 6hr wait for the help desk, thanks!
Worked like a charm. Thanks!
Hi there thanks for the tips, but we have over 30 printers connected and we cannot afford to ’stop print spooler service’, which would cause other printer to stop printing.
Is there any other way to clear the jobs from the print queue, without stopping the service?
Many thanks,
Saroj
Oxford
Exactly what I needed. Thank you for the simple solution. Printers are back up and running!