Does anyone know how I can crash the spooler service manually?
I have a problem with some drivers crashing it randomly, and I want to do it manually so I can do some tests.
Does anyone know how I can crash the spooler service manually?
I have a problem with some drivers crashing it randomly, and I want to do it manually so I can do some tests.
Absolutely. Send an abnormally big (>1GB should do it) print file to it. Don't have a file that big? Whip up something in powershell along the lines of:
PS C:\Users\BigHomie> 1..1000000000 | for-each {Get-Process | Out-File .\Desktop\test.txt -Append}
Should do it, if not jus keep on truckin.
For best results, reduce the amount of available RAM the print spooler has to work with, that's always been a ringer in my environment.
Use StressPrinters (https://support.citrix.com/article/CTX109374)
This tool is from Citrix, but it's to globally test printer driver, citrix or not on top of it.
If you simply "end the task" on the spooler (spoolsv.exe) within the Task Manager that will initiate a "crash" of the spooler.