Skip to content

Instantly share code, notes, and snippets.

@DartPower
Last active January 29, 2019 19:20
Show Gist options
  • Save DartPower/dccc24cd67147f3cea8fe1e8a7ecbc47 to your computer and use it in GitHub Desktop.
Save DartPower/dccc24cd67147f3cea8fe1e8a7ecbc47 to your computer and use it in GitHub Desktop.
Clean Spooler (WinNT-any)
@echo off
net stop spooler
del /f /q %systemroot%\system32\spool\printers\*.shd
del /f /q %systemroot%\system32\spool\printers\*.spl
net start spooler
echo Printer spool cleaned successful.
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment