Showing posts with label stuck printer queue. Show all posts
Showing posts with label stuck printer queue. Show all posts

Sunday, April 8, 2012

How to Delete Stuck Print Jobs

Here's a BAT/CMD file that you can use on Windows 2000/NT/XP/Vista/7 that allows you to quickly delete stuck print jobs, delete the entire print queue.

1. Create a new BAT/CMD file on your desktop using Notepad.
2. Add the following content:
net stop spooler
del %systemroot%\system32\spool\printers\*.shd
del %systemroot%\system32\spool\printers\*.spl
net start spooler

3. Save the file and leave it on your desktop.

Optional:
If running Windows Server 2003, Windows SBS 2003, Windows Server 2008, Windows SBS 2008, or Windows SBS 2011 AND use Fax Services, then you need to add a couple of lines to the file:

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

net start fax