
"Ĭlick next and specify a name for the shortcut. If ((Get-Service spooler).status -eq 'Stopped') $start=Start-Service Spooler -ErrorAction Ignore Clearing content in $env:windir\system32\spool\PRINTERS" -ForegroundColor Green Remove-Item -Path $env:windir\system32\spool\PRINTERS\*.* $sure=Read-Host "Are you sure you want to delete all Print Jobs on $env:computername (Y/N)" Write-Host '\\\\\\\\\\\\\\ This script deletes all print jobs. It was a quick job and it’s not perfect but it does what it’s supposed to do. In the meantime, more print jobs could be coming in. For example, when you cannot start or stop the spooler service. Further errors are output via the error handling of PowerShell. Checking the folder doesn’t make sense. Hopefully 😉 In Action …Īre you sure you wanna do this? Consider, you will delete all print jobs! This guarantees that all stuck print jobs are deleted. deletes all content of C:\Windows\System32\spool\PRINTERS\.Let’s put them all together in a PowerShell script.

Delete all content in den spool directory. Deleting print jobs on a print server involves 3 tasks: Stop the spooler service. So I decided to write an article about it and also a PowerShell script. However, some of them could not be removed. This week I had the task to delete print jobs from the queue. Hope that helps! Why, in my case, the Shared Printer created docs that caused the queue to stall is a topic for another discussion someday.By Patrick Gruenauer on 21. Check the printer queue (see the first paragraph) and confirm that the Spooler is now emptyĭid you find this solution useful? If so:.Go back to the Services program (see step #1) and restart the Print Spooler service.You are viewing your printer queue at that point.

Once you can view the contents of that folder, you will (hopefully) see 1 or more documents.There should be a check box (that might be unchecked) labeled “Display the contents of system folders” –> Check this box and click OK.
DOCUMENT STUCK ON DELETING IN PRINT QUEUE WINDOWS
Rick With Windows 7, I found that installing the Vista software/drivers in the compatibility mode works well. You can do this in Explorer by going to Tools > Folder Options and selecting the VIEW tab. Answer RockStr Rick K Replied on JanuReport abuse DennieBD, Try running Delete Print Jobs to remove any stuck print jobs in the queue.
