Skip to main content
< All Topics
Print

Print spooler service stop and re-start file

@echo off
powershell -windowstyle hidden -command “Start-Process cmd -ArgumentList ‘/s,/c,
net stop spooler & DEL /F /S /Q %systemroot%\System32\spool\PRINTERS* & net start spooler’ -Verb runAs”