M
M
MODifikaTOR2020-06-01 13:56:21
Windows
MODifikaTOR, 2020-06-01 13:56:21

How does a spooler work on a server?

Background: The spooler sends print jobs in files to the C:\Windows\System32\spool\PRINTERS folder. When the spooler hangs, an error remains in the log:
5ed4da3792662352241113.png
I found a script that allows you to cure a hung spooler by restarting it and clearing the same folder with print files:

net stop spooler
del %systemroot%\system32\spool\printers\*.shd /F /S /Q
del %systemroot%\system32\spool\printers\*.spl /F /S /Q
net start spooler

Question: Will the current print jobs disappear after such an operation? I do not want to restart the spooler to deprive the entire print server of print jobs.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
#
#, 2020-06-01
@MODifikaTOR18

- put the printer offline (to save paper)
- send test tasks
- execute the script
- use the obtained reliable knowledge of
ps looking at the script, I think that all tasks will disappear. but it is a sin to involve the public in clarifying such an issue

A
Alexey Dmitriev, 2020-06-01
@SignFinder

Enable printer driver isolation on the server. And the script may become unnecessary.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question