[THIN] Re: Printer cleanup utility

  • From: Angus Macdonald <Angus.Macdonald@xxxxxxxxxxxxxxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Fri, 7 May 2004 14:28:15 +0100

Hmmm. That folder on one of my NT4TSE servers (with several orphaned
printers) is empty. I must be missing something somewhere.

Without wanting to appear thick (although I've probably blown that one
already) how can I run PrinterCleanUp.exe from a batch file without a
virtual finger to click on the "Run One Time" button? It doesn't come =
with
any documentation.

Regards
Angus

PS If the profile clearing service does the job for me I'll release it =
into
the wild.

-----Original Message-----
From: Jim Kenzig http://thin.net [mailto:jimkenz@xxxxxxxxxxxxxx]
Sent: 07 May 2004 13:51
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Printer cleanup utility


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 =3D
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=3D147
**********************************************************
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
***********************************************************
For Archives, to Unsubscribe, Subscribe or=20
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

Gallai'r e-bost yma gynnwys gwybodaeth gyfrinachol a/neu ddeunydd =
hawlfraint.  Os ydych chi'n meddwl eich bod wedi derbyn yr e-bost yma =
drwy gamgymeriad rydym yn ymddiheuro am hyn; peidiwch os gwelwch yn dda =
=E2 datgelu, anfon ymlaen, printio, cop=EFo na dosbarthu gwybodaeth yn =
yr e-bost yma na gweithredu mewn unrhyw fodd drwy ddibynnu ar ei =
gynnwys: gwaherddir gwneud hynny'n gyfan gwbl a gallai fod yn =
anghyfreithlon. Rhowch wybod i'r anfonwr fod y neges yma wedi mynd ar =
goll cyn ei dileu.
=20
Mae unrhyw safbwynt neu farn a gyflwynir yn eiddo i'r awdur ac nid ydynt =
o anghenraid yn cynrychioli safbwynt neu farn Ymddiriedolaeth GIG =
Gogledd Orllewin Cymru.

Gallai cynnwys yr e-bost yma gael ei ddatgelu i'r cyhoedd o dan G=F4d =
Bod yn Agored y GIG neu Ddeddf Rhyddid Gwybodaeth 2000.  Nid oes modd =
gwarantu cyfrinachedd y neges ac unrhyw ateb.=20

Bydd y neges yma ac unrhyw ffeiliau cysylltiedig wedi cael eu gwirio gan =
feddalwedd canfod firws cyn eu trosglwyddo.  Ond rhaid i'r sawl sy'n =
derbyn wirio rhag firws ei hun cyn agor unrhyw ymgysylltiad.  Nid yw'r =
Ymddiriedolaeth yn derbyn unrhyw gyfrifoldeb am unrhyw golled neu niwed =
a allai gael ei achosi gan firws meddalwedd.


This e-mail may contain confidential information and/or copyright =
material.  If you believe that you have received this e-mail in error =
please accept our apologies; please do not disclose, forward, print, =
copy or distribute information in this e-mail or take any action in =
reliance on its contents: to do so is strictly prohibited and may be =
unlawful.  Please inform the sender that this message has gone astray =
before deleting it.

Any views or opinions presented are to be understood as those of the =
author and do not necessarily represent those of the North West Wales =
NHS Trust.

The contents of this e-mail may be subject to public disclosure under =
the NHS Code of Openness or the Freedom of Information Act 2000.  The =
confidentiality of the message and any reply cannot be guaranteed.

This message and any attached files will have been checked with virus =
detection software before transmission.  However, recipients must carry =
out their own virus checks before opening any attachment.  The Trust =
accepts no liability for any loss or damage, which may be caused by =
software viruses.

********************************************************
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: