JSI Tip 10327. How can I easily delete all the print jobs in the queue?

I have scripted DeleteAllPrintJobs.bat to delete all the print jobs in the queue.

Pending print jobs are located in the %systemroot%\system32\spool\printers folder, unless you moved it.

If you want to delete all the print jobs in the queue, run DeleteAllPrintJobs.bat, using any of the following:

Start / Run / DeleteAllPrintJobs / OK
Open a CMD.EXE window and type DeleteAllPrintJobs
Double-click a shortcut to DeleteAllPrintJobs.bat

DeleteAllPrintJobs.bat contains:

@echo off
net stop spooler
ping -n 4 >nul
del %systemroot%\system32\spool\printers\*.* /F /Q /S
ping -n 3 >nul
net start spooler

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.