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

  
HOME ► Windows 11 - Beginner ► «««« 18 / 18 »»»»

Delete and restart the print queue with a batch file!


The solution Delete and restart the print queue with a batch file on Windows 11, 10, ... Desktop OS or MS Server 2019, .... OS!




Contents:

1.) ... Delete using a batch file!
2.) ... Important questions and quick answers on this topic!

1.) Delete via 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-1 Point 1 to 4) 

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

-
▲ Back to the top ▲




2.) Important questions and quick answers on this topic!


1. How do I create a batch file to clear the print queue in Windows 10?

Create a batch file using the commands `net stop spooler`, `del /Q /F /S "%windir%\System32\spool\PRINTERS\*.*"`, and `net start spooler`.

2. Can I make the print queue empty automatically in Windows 11?

Yes, by creating and running a batch file using the appropriate commands.

3. What are the steps required to run a batch file with administrative privileges?

Save the batch file, right-click it, and select "Run as administrator".

4. How do I stop and start the Print Spooler service in Windows Server 2019?

Use the commands `net stop spooler` and `net start spooler`.

5. What does the command `del /Q /F /S "%windir%\System32\spool\PRINTERS\*.*"` do in a batch file?

This command deletes all files in the print queue directory.

6. Can I reset the print queue using a batch file on Windows 10?

Yes, by running the batch file with the appropriate commands.

7. Why do I need to run the batch file to clear the print queue as an administrator?

Because deleting system-critical files requires administrative rights.

8. What commands are necessary to clear and restart the print queue on a Windows desktop operating system?

The commands `net stop spooler`, `del /Q /F /S "%windir%\System32\spool\PRINTERS\*.*"`, and `net start spooler`.

9. Is there a way to clear the print queue on Windows Server 2019 without manually restarting the Print Spooler service?

No, the service needs to be stopped and restarted to clear the queue.

10. How do I save and run a batch file to manage the print queue on Windows 11?

Save the batch file, right-click it and select "Run as administrator".



-
▲ Back to the top ▲




Updated on: 5 June 2024 05:39 Windows
Keywords: 2019, beginner, delete, restart, print, queue, with, batch, file, solution, windows, 11, 10, desktop, server, automatic, deletion


Similar information on the page

Windows

... Open Windows 11 settings the solutions


It is quite easy to open the Windows 11 settings, similar to the Windows 10 settings 1. The Windows 11 settings ⚙️ 2. The Windows 11 "Advanced
Windows

... Activate desktop icons on Windows 11


As always, it is also easy to activate desktop symbols on the Windows 11 desktop under Windows 11 1. Activating the Windows 11 desktop icons 2.
Windows

... Windows 11 shows you how to use Windows 11


The improved Tips app of Windows 11 shows you how you can use Windows 11 better and is constantly being expanded 1. Information on tips APP in Windows
Windows

... Is the new Windows 11 really installed?


It is quite easy to see whether the new Windows 11 has really been installed on your computer Content: 1. Is the new Windows 11 installed? 2.
Windows

... What is a bitmap image on Windows 11?


The name for a "bitmap file" is a "bitmap image" on Windows 11 but it is one and the same Contents: 1. Bit pattern image on Windows 11 2. Important
Windows

... Do Windows 11 Visual Effects Slow Down Your PC?


The visual effects of Windows 11 usually do not make the PC slower, nor do the rounded window corners Due to the visual effects there were perhaps disadvantages
Windows

... Windows 11 taskbar is not transparent?


The graphics card driver must be installed correctly on Windows 11, then the task bar is transparent This can help:  ►  DirectX 12 doesnt work on my Windows



▲ Back to the top ▲




APPs # Beginner # Desktop # Explorer # Filesystem # How-To # Install # Network # Power-Options # Print # Quick-Tip # Screenshots # Settings # Shortcuts # Start # System # User # Window #




  

  + 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
  + ExperienceIndexOK
  + QuickTextPaste
  + DesktopNoteOK
  + ShortDoorNote
  + AutoHideDesktopIcons
  + BlankAndSecure
  + AlwaysMouseWheel
  + NewFileTime
  + DesktopClock3D
  + PAD-s


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

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


► How to change the Quality of scanned eg. saved PDF-File? ◄
► Can I extract images from Office documents under Windows 11? ◄
► How to find installed program files in Windows 10 / 11 (uninstall)? ◄
► Sort folder sizes on Windows with My Space? ◄


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

....