Skip to content

Windows spooler restart script

Create “spooler.bat” and insert script below
Script will check if spooler is running or not and will restart the service

sc query spooler | find /i "running"
if errorlevel 1 (
echo not running
echo starting spooler
net start spooler
)

You can also add this script to scheduler in order to automate this process.

Published inBatchScriptWindows