A way to check Print Spooler is stuck

JohnVak 0 Reputation points
2024-07-10T12:55:47.42+00:00

Hello,

I'm looking for a way to check that service spooler is stuck without trying to print something. I have an application which uses print spooler to print to PDF. However from time to time spooler gets stuck without any errors, nothing in queue and the status is still "Running".

Currently Im using a powershell script installed as a service that will try to print something and if it fails, it restarts the spooler, but it's not optimal to try to unzip something and then print it every 30 minutes just to check that it works...

Things I tried:

Checking EventViewer for any Spooler related errors including my app

Checking spooler status via CMD and PowerShell commands, Services.msc

Checking spooler queue for said printer via CMD and PowerShell commands

Is there really no other way to check this?

Thanks John

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,495 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,592 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Karlie Weng 18,521 Reputation points Microsoft Vendor
    2024-07-12T07:47:00.5133333+00:00

    Hello, 

    First, update your PC to the latest version if it seems like a bug. If you need to find some Windows logs for further troubleshooting, you can use tools like WinDbg or other Windows debugging tools. You can find symbols for debugging here.

    --- 

    If the Answer is helpful, please click "Accept Answer" and upvote it. 

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.