---
title: "Spool files are sometimes not deleted from the spool folder."
slug: "spool-files-are-sometimes-not-deleted-from-the-spool-folder"
updated: 2024-03-18T11:42:13Z
published: 2024-03-18T11:42:13Z
canonical: "kb.pharos.com/spool-files-are-sometimes-not-deleted-from-the-spool-folder"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://kb.pharos.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Spool files are sometimes not deleted from the spool folder.

Spool files are sometimes not deleted from the spool folder.

---

What impact do these orphaned spool files have, and how should I deal with them?

---

Sometimes the Windows Print Spooler service fails to delete a spool file when a job is removed, because some other process is still using the file. The matching .SHD file is deleted, and the job is not displayed in the print queue, but the .SPL file still exists.

This has the potential to cause a problem when a new job is submitted via the Pharos LPD Server with the same ID. The new job is created for the user, but the user receives the old job data instead.

This issue was addressed in Uniprint 8.1. For older systems, a batch file can be scheduled to run periodically to detect and remove these orphaned jobs. An example batch file is attached below.

## Related

- [PDF files do not print correctly, or do not print at all](/pdf-files-do-not-print-correctly-or-do-not-print-at-all.md)
- [How do I install xp_encrypt?](/how-do-i-install-xp-encrypt.md)
- [How to update PPD File on MAC to prevent users from printing color documents to BW printers.](/how-to-update-ppd-file-on-mac-to-prevent-users-from-printing-color-documents-to-bw-printers.md)
