Print Spooler Crashed/Hung? Windows NT/XP

Here's a little batch file I run occasionally when everything jams up. It restarts your spooler and clears your print queue.
@echo off
net stop spooler
del /f /q C:\WINDOWS\system32\spool\PRINTERS\*.*
net start spooler

2 comments:

raztazor said...

Have you tried updating your printer drivers to the latest version to stop this happening in the first place?

Gordon McKinney said...

Yep. It only happens occasionally. I can go months without issue.