- 04 Mar 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
When printing a document in BP / subsequent print jobs do not work (hang in print queue / crash Spooler), but restarting the Print Spooler service temporarily relieves the issue
- Updated on 04 Mar 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
When printing a document in BP / subsequent print jobs do not work (hang in print queue / crash Spooler), but restarting the Print Spooler service temporarily relieves the issue
Note that the Print Spooler service must be running normally before we run ADPlus in order to capture the crash dump
To find further answers why the Printer Spooler is crashing / hanging please follow steps below
Copy the attached zip file (ADPlusXcopy.zip) to the target machine.
Extract the contents to a temporary directory and browse to it.
Crashes and hangs are treated differently. To capture a future crash:
Ensure the Print Spooler service is currently running normally.
Run "adplus-crash-spoolsv.bat" as an Administrator to start monitoring the Print Spooler process.
Click "OK" to close the "Windows Scripting Host" dialog box that appears.
Do not close the "cdb.exe" console windows that also appears in the taskbar; this will stay open until the crash occurs.
Print a document or follow the steps required to induce the Print Spooler crash.
Wait for the "cdb.exe" console window to close; only then will ADPlus have finished capturing the crash dump.
Archive all subdirectories and forward to Pharos Systems for analysis.
To capture a hang dump we want to induce the hanging behaviour before running ADPlus:
Print a document or follow the steps required to induce the Print Spooler hang.
Run "adplus-hang-spoolsv.bat" as an Administrator to immediately freeze the Print Spooler process and initiate a hang dump.
Click "OK" to close the "Windows Scripting Host" dialog box that appears.
Do not close the "cdb.exe" console windows that also appears in the taskbar.
Wait for the "cdb.exe" console window to close; only then will ADPlus have finished capturing the hang dump.
Archive all subdirectories and forward to Pharos Systems for analysis.
This is the quick & dirty approach that should be sufficient for most cases. It does not require any software to be installed; only a minimal set of the ADPlus script and support files need to be copied and can be deleted afterwards. ADPlus is part of the Debugging Tools for Windows (http://www.microsoft.com/whdc/devtools/debugging/default.mspx) which can be installed with a full msi package for more thorough debugging and analysis tools, like WinDbg, if the quick & dirty approach does not work. See 'How to use ADPlus to troubleshoot "hangs" and "crashes"' (http://support.microsoft.com/kb/286350) for more background information.