This repository provides a simple and effective batch script to fix common printing issues on Windows.
It stops the Print Spooler service, deletes all stuck print jobs, and restarts the required services.
Este repositorio ofrece un script por lotes (batch) simple y eficaz para solucionar problemas comunes de impresión en Windows.
Detiene el servicio de cola de impresión (Spooler), elimina todos los trabajos atascados y reinicia los servicios necesarios.
restart-spooler-clear-queue.bat
— Batch script to restart the print service and clear pending jobsREADME.md
— This bilingual documentationLICENSE
— MIT License
✅ Stops the Print Spooler service
✅ Restarts the Device Association Service (for USB printers)
✅ Deletes files from C:\Windows\System32\spool\PRINTERS
✅ Restarts the spooler and checks its final status
✅ Detiene el servicio Spooler
✅ Reinicia el servicio Device Association Service (para impresoras USB)
✅ Elimina archivos de C:\Windows\System32\spool\PRINTERS
✅ Reinicia el Spooler y comprueba su estado final
English
- Right-click the
.bat
file - Select "Run as administrator"
- Wait for the process to complete
- Check the confirmation message
Español
- Haz clic derecho en el archivo
.bat
- Selecciona "Ejecutar como administrador"
- Espera a que finalice el proceso
- Revisa el mensaje de confirmación
-
Windows 10, 11 or Windows Server
-
Administrator privileges
-
Windows 10, 11 o Windows Server
-
Privilegios de administrador
This project is licensed under the MIT License.
Este proyecto está licenciado bajo la Licencia MIT.