Printer Repair
Three-step Print Spooler reset for Windows. Fixes stuck print jobs, printer-offline errors, and unresponsive print queues. Batch and PowerShell versions, both require admin.
The Source
Bare scripts behind this tool. The signed .exe above is the full compiled version with safety checks and a small footer credit linking back to twomeypcrepair.com.
⚡ PowerShell Script
#Requires -RunAsAdministrator
#############################################################
# #
# TWOMEY PC REPAIR | Toolbox #
# Independent tech repair - Highland, AR #
# https://github.com/twomeypcrepair #
# #
# No adware. No sponsor offers. #
# No bundled junk. #
# #
# Tool: Printer Repair #
# Stops the Print Spooler, clears the print #
# queue, and restarts the Print Spooler. #
# #
#############################################################
$spoolPath = Join-Path $env:SystemRoot 'System32spoolPRINTERS'
Write-Host '[1/3] Stopping Print Spooler service...' -ForegroundColor Cyan
Stop-Service -Name Spooler -Force -ErrorAction Stop
Write-Host ''
Write-Host "[2/3] Clearing print queue at $spoolPath..." -ForegroundColor Cyan
if (Test-Path $spoolPath) {
Get-ChildItem -Path $spoolPath -File -Force | Remove-Item -Force -ErrorAction SilentlyContinue
Write-Host ' Queue cleared.' -ForegroundColor Green
} else {
Write-Host ' Spool folder not found - skipping.' -ForegroundColor Yellow
}
Write-Host ''
Write-Host '[3/3] Starting Print Spooler service...' -ForegroundColor Cyan
Start-Service -Name Spooler -ErrorAction Stop
Write-Host ''
Write-Host '[+] Printer repair complete.' -ForegroundColor Green
📜 Batch Script
@echo off
::############################################################
::# #
::# TWOMEY PC REPAIR | Toolbox #
::# Independent tech repair - Highland, AR #
::# https://github.com/twomeypcrepair #
::# #
::# No adware. No sponsor offers. #
::# No bundled junk. #
::# #
::# Tool: Printer Repair #
::# Stops the Print Spooler, clears the print #
::# queue, and restarts the Print Spooler. #
::# #
::############################################################
REM Require admin
net session >nul 2>&1
if errorlevel 1 (
echo [!] This script must be run as Administrator.
echo Right-click PrinterRepair.bat and choose "Run as administrator".
pause
exit /b 1
)
echo [1/3] Stopping Print Spooler service...
net stop spooler
if errorlevel 1 (
echo [!] Failed to stop the spooler. Aborting.
pause
exit /b 1
)
echo.
echo [2/3] Clearing print queue at %SystemRoot%System32spoolPRINTERS...
del /Q /F "%SystemRoot%System32spoolPRINTERS*.*" >nul 2>&1
echo Queue cleared.
echo.
echo [3/3] Starting Print Spooler service...
net start spooler
if errorlevel 1 (
echo [!] Failed to start the spooler. Check services.msc.
pause
exit /b 1
)
echo.
echo [+] Printer repair complete.
pause
exit /b 0
About this tool
Fixes the most common Windows printing problems with the classic three-step Print Spooler reset.
What it does
- Stops the
Print Spoolerservice. - Clears every queued print job by deleting all files in
C:WindowsSystem32spoolPRINTERS. - Starts the
Print Spoolerservice back up.
After it runs, your printer queue is empty and the spooler is in a clean state, most stuck-job, printer-offline, and won’t-print issues clear up immediately.
When to use it
- A print job is stuck and won’t cancel.
- Your printer shows as offline even though it is powered on and connected.
- Documents queue but never reach the printer.
- Print Spooler service keeps crashing or hanging.
Heads up
- Any print jobs currently in the queue will be discarded. If something important is mid-print, let it finish first.
- The script does not touch printer drivers, ports, or installed printers, only the spooler service and the queue files.
- Requires administrator privilegesthe script will refuse to run without them.
