[THIN] Scripting Printer Detection/Creation

  • From: "TheThin" <TheThin@xxxxxxxxxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Fri, 22 Nov 2002 12:20:50 -0500

I'm working with a site that occasionally we will have to reset a user's
profile settings.  We are about to hit a bunch of users that are going
to have to have their printer definitions re-created for them.

I've found the kix information to add printers (addprinterconnection()),
but what I am wanting is a way (in Kix, VBScript, ADSI, or anything that
will run on NT4 TSE) to detect what printers are installed on a client.
I would prefer a method that can detect this from the ntuser.dat file in
the profile directory for a user that is currently logged off, but I can
also handle this only being part of a login script (detecting from the
current registry).

Does anyone know of any tools to do that?

Thanks,

Bill

Bill Denney / bdenney@xxxxxxxxxxxxxxxxxxxxx
Phone: 678-781-5261
Systems Analyst / Politis Consulting
3 Dunwoody Park / Suite 103 / Atlanta, GA 30338

*********************************************** 
This Weeks Sponsor: Wyse Technologies
Get a free whitepaper on how to secure
your corporate data from Wyse. Click Below. 
http://thethin.net/wyse.cfm 
*********************************************** 
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link.

http://thethin.net/citrixlist.cfm

Other related posts: