Script to stop & start spooler service
Filed under: Commands & Scripts, Printers
Comments: None
If printers are not showing up then the spooler service is most likely stopped. To clear the print que and stop/start the spooler service copy the following into a document and name it “restart spooler.bat” and run the file. If you are using windows vista or 7 and UAC is enabled right click on the files and click unblock. When you execute them right click on the file and click run as admin.
@echo off
cls
net stop spooler
del c:\*.spl /s /q
del c:\*.shd /s /q
net start spooler