Clear Stuck Print Spooler Jobs in Windows XP
When print jobs become corrupted in Windows XP, they often get stuck in the print queue and remain locked in system memory, preventing subsequent documents from printing. This guide details the essential procedures used to clear these unresponsive print tasks by stopping the Print Spooler service, purging the cached print files from the system directory, and restarting the service to restore normal printer operation.
Method 1: The Command Prompt Method
The fastest and most reliable way to clear locked spool files is using the Windows XP Command Prompt with administrative privileges.
- Click Start and select Run.
- Type
cmdand press Enter to open the Command Prompt. - Stop the spooler service by typing the following command and
pressing Enter:
net stop spooler - Delete the cached spooler files by typing the following command and
pressing Enter:
del /Q /F /S "%systemroot%\system32\spool\printers\*.*" - Restart the spooler service by typing the following command and
pressing Enter:
net start spooler - Type
exitand press Enter to close the Command Prompt.
Method 2: Manual Clearing via Windows Services and Explorer
If you prefer using the graphical user interface, you can manually stop the service and delete the files through Windows Explorer.
Step 1: Stop the Print Spooler Service
- Click Start, then click Run.
- Type
services.mscand click OK. - Scroll down the list to find Print Spooler.
- Right-click Print Spooler and select Stop. Keep the Services window open.
Step 2: Delete the Corrupted Print Files
- Click Start, then click Run.
- Type
C:\WINDOWS\system32\spool\PRINTERSand click OK. (Adjust the drive letter if Windows XP is installed on a different partition). - Select all files in this folder (these typically have
.SPLand.SHDextensions). - Press the Delete key and confirm by clicking
Yes. Do not delete the
PRINTERSfolder itself, only the files inside it.
Step 3: Restart the Print Spooler Service
- Return to the Services window.
- Right-click Print Spooler and select Start.
- Close the Services window.
Method 3: Automated Batch File
For environments where print jobs frequently hung, technicians created an automated batch script.
- Click Start > All Programs > Accessories > Notepad.
- Paste the following lines into the text document:
@echo off net stop spooler del /q /f "%systemroot%\system32\spool\printers\*.*" net start spooler echo Print queue cleared. pause - Click File > Save As.
- In the Save as type dropdown, select All Files.
- Name the file
ClearSpooler.batand save it to the Desktop. - Double-click the file whenever a print job becomes stuck to immediately purge the memory queue.