Skip to content

Windows spooler restart script

Last updated on March 13, 2019

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

Be First to Comment

Leave a Reply