Luckily, the procedure for clearing out the print queue is the same for Windows 8, Windows 7, Vista, and XP. Then all you have to do is run the batch file anytime you want to clear out the print queue. You can read my previous post if you want to know how to create a batch file. You must be signed in as an administrator to reset and clear the print spooler. This tutorial will show you how to reset and clear the print spooler to remove print jobs in Windows 10 and Windows 11. Deleting content from this folder can never harm your computer, so don’t worry if you see some files or folders and aren’t sure what they are for. If you have a stuck print job in the print queue, you can clear and reset the print spooler to remove the stuck print job. F will force delete all read-only files and /S will delete any subdirectories if those exist. The middle command deletes everything in the printers folder and the /Q is for quiet mode, which means you won’t get a prompt asking if you want to delete each file. The first and third commands are fairly obvious: they stop and start the print spooler service. for a server, then you can create a batch file with the commands below or just type them into the command prompt:ĭel %systemroot%\System32\spool\printers\* /Q /F /S Now you can go back to the Services console and right-click and choose Start for the Print Spooler service!Īt this point, you should be able to print without a problem. This will clear all print queues (If you’re doing this on a server, it’s a good idea to first make sure there are no other print jobs being processed for any of the other printers on the server because doing this step will delete those jobs also).Ĥ. You can also type %windir%\System32\spool\PRINTERS into the address bar in Explorer if the C drive is not the default Windows partition. Delete all the files in this folder. Select X documents in queue, then choose Printer > Cancel All Documents. You can use this technique to cancel multiple. Next you need to go to the following directory: C:\WINDOWS\System32\spool\PRINTERS. de 2022 Update the PCs Windows to the Latest Build. To delete a stuck print job, right click its Document Name and then select Cancel. At this point, no one will be able to print anything on any of the printers that are being hosted on this server.ģ. In order to do this, you need to be logged in as Administrator. Scroll down and right-click Print Spooler. Next you need to go to the following directory: C:\WINDOWS\System32\spool\PRINTERS. Scroll down to the Print Spooler service and right click on it and select Stop. It’s either a magnifying glass or a circle to the right of the Start button. Scroll down to the Print Spooler service and right-click on it and select Stop. Go to Start, Control Panel and Administrative Tools. This time, launch PowerShell normally: as the user having problems.In order to get the printing services back up and running, follow these steps:ġ. Otherwise, launch it yourself with explorer.exe from the shell. Step 3: Open the File Explorer and then navigate to the following folder: In the above path, replace C with the drive. Step 2: Right-click on the Print Spooler service entry and click the Stop option. In my experience, Windows 10 will automatically relaunch Explorer. Step 1: Enter services.msc in the Start/taskbar search box. Clear the Printer Icon from the Notification Area # If you copy and paste, this comment will ensure the spooler restarts. Get-childitem $env:systemroot\system32\spool\printers | remove-item Get-childitem $env:systemroot\system32\spool\printers Right-click on the shortcut for PowerShell.Launch PowerShell with administrator privileges. If you want to learn more about enabling secure remote access, search for PowerShell Remoting and Just Enough Administration. And it might take longer before users can print again.įor remote computers, there are security issues with using the remote access built into PowerShell. On a server, all users will lose their print jobs. So, if you have a lot of remote drives open then you’ll have to open them again later. I also close all File Explorer windows in the second part. So, you’ll have to go back to the document, Web page, or line-of-business application and print again if you’re missing something.įor a few moments, your computer will not be able to print as the commands are resetting the print service and clearing the queue. How can I clear out the print queue using PowerShell? Warningsĭuring this process we will delete all print jobs. Or, I see a printer icon in the notification area after my job has finished printing. I’ve got a print job stuck in my computer at home.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |