[THIN] Re: Printer cleanup utility

  • From: "Jim Kenzig http://thin.net" <jimkenz@xxxxxxxxxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Fri, 7 May 2004 08:51:21 -0400

This batch put in the autostrt.bat file should clear out printers:

net stop spooler
echo y | del c:\wtsrv\system32\spool\printers\*.*
c:\timeout.exe 5
net start spooler

You could certainly run the printer cleanup in the autostrt.bat file also.

JK

-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On
Behalf Of Angus Macdonald
Sent: Friday, May 07, 2004 8:29 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Printer cleanup utility


Does that remove orphaned printers? Clearing spool files etc isn't a =
problem
but I want to remove the printers themselves. The printer cleanup app,
excellent as it is, is a GUI app that seems to need user interaction to
work.

I've just finished a service that clears out leftover user profiles at
startup so maybe I can work out a way to get rid of printers as well.
********************************************************
This Week's Sponsor - RTO Software / TScale
What's keeping you from getting more from your terminal servers? Did you
know, in most cases, CPU Utilization IS NOT the single biggest
constraint to scaling up?! Get this free white paper to understand the
real constraints & how to overcome them. SAVE MONEY by scaling-up rather
than buying more servers.
http://www.rtosoft.com/Enter.asp?ID=147
**********************************************************
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
***********************************************************
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

Other related posts: