Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - PowerShell ► ««« »»»

Reset print queue with PowerShell?


If there are a lot of pending jobs in the print queue, PowerShell can be used to delete all of the print jobs and thus reset everything!




1.) ... The command to delete all print jobs from the print queue!
2.) ... Delete and restart the printer queue with a batch file!
3.) ... Check the printer queue folder in Explorer!
4.) ... Why are there stuck in the printer queue?




1.) The command to delete all print jobs from the print queue!

The simplest command is via the  wmic , as it works in the command prompt and in PowerShell 

1. Start Command Prompt or PowerShell in administrative mode 
( Windows + R and confirm with Ctrl + Shift + Enter )

2. And just enter the command:


wmic printjob delete



The message "No instances available" appears if there are no print jobs in the queue, if there are, they will be deleted!

(... see Image-1 Point 1 to 4)


(Image-1) Delete all print queue with PowerShell!
Delete all print queue with PowerShell!

-
▲ Back to the top ▲



2.) Delete and restart the print queue with a batch file!

The automatic deletion via batch file is also very popular; this must also be carried out with administrative rights! 

As always, start Notepad as a text editor. Copy and paste the following text into the blank document as separate lines:


net stop spooler

del /Q /F /S "%windir%\System32\spool\PRINTERS\*.*"

net start spooler



Save it on the desktop as Printer Queue-Reset.bat and start it with administrative rights!

(... see Image-2 Point 1 to 4) 

(Image-2) Reset print queue with batch file!
Reset print queue with batch file!

-
▲ Back to the top ▲




If you're deleting your printer queue more often, you can also do a simple batch file to do it with one click. 

3.) Check the printer queue folder in Explorer!

The little-known folder for print jobs can be checked or cleaned up, but the Windows print service must be  stopped. But you can also clean up the print queue with a batch file ! 


%windir%\System32\spool\PRINTERS


(... see Image-3 Point 1 to 4) 


(Image-3) The printer queue folder of Windows!
The printer queue folder of Windows!

-
▲ Back to the top ▲






4.) Why are there stuck in the print queue?

Sometimes print documents that you are printing just get stuck in the printer's queue and prevent further documents from being printed. Regardless of whether you are using a local or a shared network printer, sometimes it is a simple misprint that cannot be printed correctly. Often times, simply deleting and restarting the print queue will solve the problem. 

See also:

►► Printer only prints in black and white and not in color, why!
►► Set the standard printer for Windows 11!
►► Help, why can't I print on my computer?
►► Why is the font not printed correctly?
►► Brief instructions for troubleshooting the laser printer!

►► The best Windows 11/10 printer tips!



FAQ 6: Updated on: 27 May 2024 08:19 Windows
PowerShell

How can I find out the SHA hash value of a file using PowerShell?


It is really easy to find out the SHA256 hash value of a file with PowerShell under Windows 11, 10, or MS Server 1. Get SHA256 checksum via PowerShell 
PowerShell

Deactivate / activate the touch screen function with PowerShell!


Deactivating or activating the touch screen function with PowerShell is also possible on all MS Windows Desktop and MS Server OS Everyone knows the simple
PowerShell

Checking PowerShell version on all MS Windows OS?


Checking the PowerShell version in all MS Windows 11, 10, and MS Server OS is quite easy and easy to find out even without PowerShell expertise If you
PowerShell

List all Powershell commands, filter, help?


In order to work easily with Powershell commands, you can list them, filter them, or get help for the individual Powershell commands Contents: 1. Listing
PowerShell

Find out arguments of running programs with PowerShell!


Listing arguments / parameters of running programs or services with PowerShell is quite practical on MS Windows 11, 10, and Server OS Start PowerShell
PowerShell

How do I optimize VHD and VHDX files with PowerShell?


The simple and fast optimization of VHD and VHDX files with simple PowerShell commands on MS Windows 11, 10, or MS Server OS is very popular The "Optimize-VHD"
PowerShell

Activate Hyper-V vis PowerShell on MS Windows Desktop and Server?


Its easy to enable Hyper-V PowerShell on MS Windows Desktop and Server to handle, optimize, virtual PCs and virtual hard disks, Hyper-V is already

»»

  My question is not there in the FAQ
Asked questions on this answer:
  1. How can I make sure the batch file ran correctly and the print queue was reset?
  2. How can I create a batch file to clear the printer queue and restart?
  3. In which mode should the Command Prompt or PowerShell be opened to delete the print jobs?
  4. How to avoid printer queue overload?
  5. What is the purpose of the "net stop spooler" command in the batch file?
  6. What effects can a faulty network connection have on print jobs?
  7. What command is used to remove all print jobs in the print queue?
  8. What steps can be taken to check the printer's network connection?
  9. How can I tell if my print jobs have been deleted without using Command Prompt?
  10. What are possible causes of print queue network problems?
  11. What keyboard shortcut is used to open Command Prompt in administrative mode?
  12. What is the path to the print queue folder in Explorer?
  13. Why is it important to clear and restart the print queue in administrative mode?
  14. Which option should be selected when running the batch file to get administrative privileges?
  15. How can I tell if my printer is connected to the network correctly?
  16. What type of file errors can cause print jobs to get stuck?
  17. What tools are available to troubleshoot printer driver problems?
  18. What precautions should I take before performing driver updates?
  19. What alternatives are there if the wmic printjob delete command doesn't work?
  20. What is the message that appears when there are no print jobs in the queue?
  21. How can I tell if a print job is stuck due to a driver problem?
  22. What steps can be taken to troubleshoot printer driver problems?
  23. What problems can cause stuck print jobs?
  24. How can I check the print queue if I don't have administrator privileges?
  25. What safety precautions should be taken before making changes to the print queue?
  26. How can I delete all stuck print jobs in the print queue?
  27. How can I update outdated printer drivers?
  28. What role do driver compatibility and up-to-dateness play in the smooth functioning of the print queue?
  29. What steps should be taken if the print queue continues to cause problems after the print jobs have been deleted?
  30. What protocols can be used to diagnose network problems with the printer?
  31. What steps can be taken to reduce the likelihood of file errors in print jobs?
  32. How do I check if all print jobs have been successfully deleted?
  33. Why is it important to check the print queue before deleting print jobs?
Keywords: powershell, reset, print, queue, with, there, pending, jobs, used, delete, thus, everything, command, Questions, Answers, Software




  

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks
  + Security

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + FontViewOK
  + MeinPlatz
  + DesktopOK
  + IsMyMemoryOK
  + StressTheGPU
  + Brightness.Manager.OK
  + ProcessKO
  + WinBin2Iso
  + ThisIsMyFile
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Settings | Windows 10 | gc24b | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2025 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu


► Find programs and functions under Windows 11! ◄
► Questions about ProcessKO for Windows? ◄
► How much memory does windows 7 need? ◄
► Where is the administrator run dialog on Windows 11? ◄


This website does not store personal data. However, third-party providers are used to display ads,
which are managed by Google and comply with the IAB Transparency and Consent Framework (IAB-TCF).
The CMP ID is 300 and can be individually customized at the bottom of the page.
more Infos & Privacy Policy

....