Published: July 14, 2015

Forcefully clearing Windows XP, Vista & Windows 7 Print queue


Something which is often frustrating is a print job getting stuck in the print queue and no matter how many times you hit cancel, unplug/switch of the printer, try pleading with it – it just won’t go!

Your last option is normally to restart the PC or Laptop *sigh*

Well you needn’t have to do that again. We’ve created 2 little scripts which all you have to do is run the correct one and it will clear your print queue in seconds.

I will provide both the script and the pre-made file so you can choose to make your own or just use mine.

The first is for Windows XP

Here is the script if you care to make your own file. Just save it as a *.bat or *.cmd file and run it.

net stop spooler
del %systemroot%\system32\spool\printers\*.shd
del %systemroot%\system32\spool\printers\*.spl
net start spooler

Here is the link to the pre-made file (You MUST right click and click save file/link as, else it will just display the script) : https://www.onetouchservices.co.uk/dls/DeletePrintJobsXP.cmd

Once you’ve saved it just double click on the file. It will open a small black command prompt, then once completed (couple of seconds) it will close & you’re ready to start printing again!

The second is for Windows Vista or Windows 7

Here is the script if you care to make your own file. Just save it as a *.bat or *.cmd file and run it.

net stop spooler
del /f C:\Windows\system32\spool\printers\*.*
net start spooler

Here is the link to the pre-made file (You MUST right click and click save file/link as, else it will just display the script) : https://www.onetouchservices.co.uk/dls/DeletePrintJobs-Vista7.cmd

Once you’ve saved it just double click on the file. It will open a small black command prompt, It will ask you if you want to delete the files in the print queue, the options are (Y/N), you need to click Y (If you accidentally click N then just run the script again), then once completed (couple of seconds) it will close & you’re ready to start printing again!

If you’re still getting problems with printing or any other computer related issues then why not give One Touch Services a call on 01784 770 402? We’re based in Egham, Surrey and cover a wide area in Surrey, Berkshire, Hampshire & Greater London.

OneTouchServices Blog


Cybersecurity Trends to Look Out for in 2021
Cybersecurity trends are important to observe as over the past couple of years c...
Small Business Computer Network Installation
When you are just starting with a small business, it’s essential that you know...
Top 5 Tips for Home Security
Here we’ve compiled what we think are the top 5 tips to help prevent burglarie...
Basic Computer Troubleshooting
Everyone runs into computer issues every now and then. The best thing you can do...
How Does a VOIP System Work?
VOIP phone systems have been around since at least 1995 and since then they have...
The Future of IT Support
As technology continues to progress, the ways we receive or send information cha...

OneTouchServices


Is your computer or laptop not working efficiently? One Touch Services offers repair services such as computer repair, laptop repair, laptop screen repair, virus removal, network support and PC repair in the Surrey and surrounding Hampshire, Berkshire & Greater London area. Additionally, One Touch Services offers a mobile technician available by appointment for your convenience.

Staines Shop

51, Church Street
Staines
TW18 4EN

01784 770 402

Monday-Saturday
9:00am - 5:00pm

Bagshot Shop

24 High Street
Bagshot
GU19 5AA

01276 818 698

Monday-Saturday
9:00am - 5:00pm

Copyright © 2021 OneTouchServices. All Rights Reserved.