[THIN] NT service to cleanup profiles and printers at startup

  • From: Angus Macdonald <Angus.Macdonald@xxxxxxxxxxxxxxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Mon, 10 May 2004 14:07:36 +0100

I'm just in the process of finalising a little project to help keep my =
NT4
TSE servers clean. We run one particularly dodgy app that requires us to
reset user sessions on a regular basis. This has the side-effect of =
causing
a buildup of orphaned printer queues and broken profiles.

To help with the situation, my service runs at NT startup, deletes
everything from the profiles folder (except for the folders you =
specify),
deletes leftover local printers (again, except for any you specify) and =
runs
anything you'd like to execute at startup before terminating.

I want to do a couple of full nightly reboot cycles on my farm just to =
be
sure it does what it should but after that I can make it available to =
anyone
who might be interested. Naturally it's a potentially destructive bit of
code if not handled properly so you'd use it at your own risk.=20

Regards

Angus Macdonald
Corporate Systems Manager
North West Wales NHS Trust
YG ext 4167

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:

  • » [THIN] NT service to cleanup profiles and printers at startup