diff --git a/scripts/Win_Printer_ClearandRestart.bat b/scripts/Win_Printer_ClearandRestart.bat index eff20087..6574b75a 100644 --- a/scripts/Win_Printer_ClearandRestart.bat +++ b/scripts/Win_Printer_ClearandRestart.bat @@ -2,8 +2,8 @@ sc stop spooler -timeout /t 5 /nobreak > NUL +ping 127.0.0.1 -n 6 > nul del C:\Windows\System32\spool\printers\* /Q /F /S -sc start spooler \ No newline at end of file +sc start spooler