Digital Genetics

spool service nightmares!

by on Jul.09, 2012, under Tech. Support

Recently i’ve had issues with the spool services running on my windows 7 laptop. For reasons previously unknown, programs would simply freeze for long periods of time for no apparent reason. After googling, I found a work around whereby I would open the windows resource monitor, right click on the frozen application and ‘analyze wait chain’, which would then allow me to kill the offending spoolsvc.exe process. well, no more! Ive simply had enough of this daily torment.

Scouring the internet once more I found a comment posted by rmann on neuber.com (http://www.neuber.com/taskmanager/process/spoolsv.exe.html) which drove straight to the heart of the issue – a stupid amount of pending print jobs waiting to spool. In my case, there was over 570, 608 items.

Here was his comment:

spoolsv.exe hogging 99% of cpu – the fix. Here’s the fix. First, get some breathing room – go to Control Panel, Administrative Tools, Services and stop the Print Spooler. Turn off the printer. Now go to C:WINDOWSsystem32spoolPRINTERS and delete the files there. I found ’00020.SHD’ and ’00020.SPL’. Now turn your printer back on and restart the service. Check task manager, spoolsv.exe should be at 00%. Whew!

Below is a fantastically simple windows batch script which will take care of the stopping, starting and clearing of the print spool directory.

@ECHO OFF
REM BATCH SCRIPT
REM Source: http://wp.me/p6h4z-1v

REM This program stops the print spooler, deletes all documents in the queue
REM and then restarts the print spooler
ECHO *******************************
ECHO *** Printer Spooler Cleaner ***
ECHO *******************************
ECHO.
NET STOP SPOOLER
C:
ECHO Deleting the print queue...
DEL C:WINDOWSsystem32spoolPRINTERS* /Q /F
ECHO.
NET START SPOOLER
ECHO The print spooler is now clean.
PAUSE

Source: http://virtualparadise.wordpress.com/2011/03/07/clear-print-queue/

Thank you rmann & Joe!


Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...