How To Deal With Stuck Print Jobs - gHacks Tech News

How To Deal With Stuck Print Jobs

It happens from time to time that a print job is not processed by Windows and that it cannot be deleted at the same time; a stuck print job so to speak which will block all other print jobs from being processed.

Even a restart of the computer system will not get rid of the stuck print job which makes it one of the most frustrating experienced when working with the operating system.

There is however a fast and efficient method to remove stuck print jobs from the print queue so that printing is not blocked anymore.

All that needs to be done basically is to stop the Print Spooler service, delete the stuck print jobs manually and restart the Print Spooler service afterwards.

This can all be done using the Windows command line for maximum effectiveness or in the Windows Explorer interface for users who prefer to click their way through the process.

To use the GUI approach you tap on Windows-R, type services.msc and look for the Print Spooler service. Right-click that service and select stop from the context menu.

print spooler service

This will stop the Print Spooler so that you can delete print jobs from the queue. Keep the window open as we need it again to start the Print Spooler service.

Now use Windows Explorer to open %systemroot%\system32\spool\printers\ and delete all files that are found inside. Once that has been done it is time to start the Print Spooler service again.

This is done in the same way it was stopped.Right-click the service again in the Services manager and select Start from the context menu to start it again. If you don't do that, you won't be able to print at all. All print jobs should be gone and it should be possible to run new print jobs again.

If you prefer the command line you can run the following four commands for the same effect. It is probably a good idea to add them to a batch script as you'd just have to click on the file to execute it and perform the operation in one step.

net stop spooler
del %systemroot%\system32\spool\printers\*.shd
del %systemroot%\system32\spool\printers\*.spl
net start spooler

The script does exactly the same as the manual method. The two lines in the middle delete the print jobs, the first stops the Print Spooler service, the last starts it again on the system.

Summary
How To Deal With Stuck Print Jobs
Article Name
How To Deal With Stuck Print Jobs
Description
The guide provides you with a solution when printing is not working anymore due to stuck print jobs in the print queue.
Author
Advertisement

We need your help

Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.

If you like our content, and would like to help, please consider making a contribution:


Previous Post: «
Next Post: »

Comments

  1. nobody said on December 11, 2008 at 9:03 pm
    Reply

    Merry Christmas Ghacks.net all the best !

  2. Rarst said on December 11, 2008 at 9:32 pm
    Reply

    Feeling dumb, I was doing that manually for ages and never thought about making it into script. :)

  3. David said on December 13, 2008 at 8:39 pm
    Reply

    Thanks! A very informative post. Printer issues can be among the most annoying!

  4. Jeevan said on September 14, 2009 at 2:50 pm
    Reply

    This doesn’t solve the problem that I have. Printer job is still stuck.

  5. tomasz. said on October 14, 2009 at 1:50 am
    Reply

    didn’t work. still stuck.

  6. Erin said on January 8, 2010 at 7:52 pm
    Reply

    Going through the steps it appeared not to work because it still wouldn’t let me delete the stuck job…however, I “restarted” the Print Spooler and the printer suddenly began printing and the stuck job magically disappeared! Thanks for your help!

  7. jeff said on January 16, 2010 at 2:22 am
    Reply

    any chance of an explanation as to why these print jobs are sticking
    We have a couple print servers supporting around 1000 users and this happens continually. is a high profile banking environment with so much printing that can’t just bounce the spooler.
    300+ Printers are all HP and I have tried about everything
    new drivers, processor to winprint.
    Microsoft has been working on it for about a month.
    but I don’t think anything is actually broken
    I am seeing the issue stabilize when I change 3 settings on all the queues: disable snmp on each port, change print processor to winprint and set to use spooler on server as appose to print directly to the printer. have suspected a network issue but not finding any network errors on the server, printer or switches.
    any thoughts?

  8. Anonymous said on January 27, 2010 at 12:14 am
    Reply

    Whoever wrote this, thank you. You are a lifesaver my printer was backed up for the longest time.

  9. rubicstrue said on February 3, 2010 at 3:07 am
    Reply

    Thanks so much for this post! I was utterly clueless how to get that damned stuck print job to clear.

  10. Jodi Blue said on March 22, 2010 at 11:38 pm
    Reply

    Wow. Thank you so much. This was so helpful.

  11. Ingrid howard said on May 24, 2010 at 7:00 pm
    Reply

    What about local printer that jobs keep getting stuck in que?

  12. zagnut84 said on September 11, 2010 at 12:00 am
    Reply

    If you can’t delete the files (which was the case for me) then stop the printer Pool Service, delete the files and restart the service. Works like a charm.

  13. Tiff said on September 25, 2010 at 3:01 am
    Reply

    This fixed my printer. Im glad to learn that. Hopefully I’ll remember next time if it happens again.

  14. Shannon said on September 29, 2010 at 1:05 am
    Reply

    Thank you, thank you, thank you!!!!

  15. Laxman said on November 19, 2010 at 12:52 pm
    Reply

    Nice bat file command, it is really works for me

    Thanks a ton

  16. bd said on October 16, 2014 at 2:21 pm
    Reply

    but I can’t delete the problem file – it keeps giving the error that ” cannot delete it is being used by another person or program”

    1. bd said on October 16, 2014 at 3:09 pm
      Reply

      fixed it … i stopped the spool outside of the server where the printers reside so it wasn’t really stopped. Thanks because this was really helpful!

  17. Adrian said on September 14, 2015 at 4:55 pm
    Reply

    A very good post! . If you do not want the deletion confirmation prompt, you can run :

    Del /Q /F /S %SystemRoot%\System32\Spool\Printers\*.*

    Explained here : http://www.sysadmit.com/2015/09/windows-eliminar-trabajos-cola-impresion.html

  18. Pam said on July 24, 2017 at 8:20 pm
    Reply

    Thank you very much, I turned the print spooler service off as you said, I couldn’t manually delete the print job that was jammed but when I turned the print spooler service back on it had deleted the jam and all working normally again

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

Please note that your comment may not appear immediately after you post it.