mac_shinobi (27th May 2009), _Bat_ (27th May 2009)
Think there was a post on edugeek a while back where someone posted a utility to delete / clean the print spooler / drivers
where is that thread as I cant find it
The tool you want is called Cleanspl.exe and is in the W2k3 Server resource kit.
Download details: Windows Server 2003 Resource Kit Tools
mac_shinobi (27th May 2009), _Bat_ (27th May 2009)
does that delete the printer drivers or what exactly does that utility do ?
It'll ask you before it nukes anything. So it's up to you.![]()
I put this on the Admin Bar:
http://firmusitsolutions.com/adminbar177b.zip

I used it the other week on a network which had many, many, many, many old printers which no longer existed and were installed using a script method.
It basically stops the spooler service (on the target machine), deletes any printers and their associated registry entries, then requests a reboot (optional). It'll delete network printers and local printers installed on that machine once a reboot is complete.
I haven't used it on a real print server such as Windows Server (and I would advise against it), but for workstations it's greatVery handy utility.
Is there a similar utility for Vista?

Wouldn't surprise me if it's already included in 2008 Server by default. You probably just need to enable/switch it on. Alternatively you could try installing it on an XP machine, as it does work across a network. I can't imagine the spooler on Vista being drastically different to that of XP as it's role is relatively basic. I think you need to "suck it and see" as I don't have a Vista machine to try it onIs there a similar utility for Vista?![]()
Oops_my_bad (28th May 2009)
Cleanspl.exe works for Vista too.
Oops_my_bad (28th May 2009)
is this what you're after? I'm sure I got this script from edugeek a few years back! Works a treat, but it is only for cleaning the spooler, not drivers...
echo Printers - Shutting down the print spooler
net stop "pcounter printer control"
net stop "print spooler"
echo Printers - Deleting print queues
del c:\WINDOWS\system32\spool\PRINTERS\*.* /q
net start "print spooler"
net start "pcounter printer control"
echo Printers - Print spooler Started
OS X uses CUPS as it's printing system, which is an entirely different kettle of fish. As such, it has a built in command to delete the spooled jobs.
cancel(1) - Documentation - CUPS
mac_shinobi (28th May 2009)
There are currently 1 users browsing this thread. (0 members and 1 guests)