This shows you the differences between two versions of the page.
— |
wiki:windows:batch:print_spool_fix [2016/06/29 18:52] (current) matt created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Print Spool Fix ====== | ||
+ | This batch file will: | ||
+ | - Stop the spool service | ||
+ | - Clear ALL print jobs | ||
+ | - Restart spool service | ||
+ | It works on all versions of Windows. | ||
+ | |||
+ | ===== Batch File Code ===== | ||
+ | <code> | ||
+ | @echo off | ||
+ | echo Stopping print spooler. | ||
+ | echo. | ||
+ | net stop spooler | ||
+ | echo deleting temp files. | ||
+ | echo. | ||
+ | del %windir%\system32\spool\printers\*.* /q | ||
+ | echo Starting print spooler. | ||
+ | echo. | ||
+ | net start spooler | ||
+ | </code> |