[THIN] Re: Print driver clean up on XenApp

  • From: Dan Dill <DanD@xxxxxxxxxx>
  • To: "thin@xxxxxxxxxxxxx" <thin@xxxxxxxxxxxxx>
  • Date: Wed, 8 Feb 2012 09:31:51 -0800

Yep, second that.  It works well with reading, writing, and deleting files and 
registry keys so this shouldn't be too bad.  Be sure to utilize the -whatif 
switch and various test methods...

Dan Dill

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of 
Landin, Mark
Sent: Wednesday, February 08, 2012 9:17 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Print driver clean up on XenApp

That should all be pretty scriptable. Sorry, I don't have one available. This 
would be a great excuse for you to learn Powershell, I guess :)

**********************************
Mark Landin
IT Support Analyst IV

Information Technology Department
T.D. Williamson, Inc.
6120 S. Yale Avenue I Suite 1700 I Tulsa, OK I 74136-4235
Phone: 918.447.5110 I Fax: 918.445.3811
mark.landin@xxxxxxxxxxxxxxxx<mailto:mark.landin@xxxxxxxxxxxxxxxx> I 
www.tdwilliamson.com<http://www.tdwilliamson.com/>

[cid:image001.jpg@01CCE644.7CD59B00]

From: thin-bounce@xxxxxxxxxxxxx<mailto:thin-bounce@xxxxxxxxxxxxx> 
[mailto:thin-bounce@xxxxxxxxxxxxx]<mailto:[mailto:thin-bounce@xxxxxxxxxxxxx]> 
On Behalf Of Hamilton, Ronnie
Sent: Wednesday, February 08, 2012 3:36 AM
To: thin@xxxxxxxxxxxxx<mailto:thin@xxxxxxxxxxxxx>
Subject: [THIN] Print driver clean up on XenApp

Hi,

I have been building and testing the HP UPD to minimise out print driver 
footprint and save any issues when new printers are implemented.

It's all been running for a while now but what I really want to do now is clean 
up all the unwanted drivers from my XenApp servers and then push out the UPD + 
the 3 or 4 other drivers that had to remain for old HP printers that were not 
supported but the UPD.

I have a manual process which involves manually deleting all the drivers from 
the Print Server properties windows.

If some drivers do not remove I can go through the following :

*         Stop the spooler service
*         Open the registry
*         Check which files are associated with the following printer keys from:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows 
NT x86\Drivers\Version-3
*         Make a note of the files associated with the printer
*         Delete the key.
*         Go to c:\WINNT\system32\spool\drivers\w32x86\3\
*         Delete the files that you have written down.
*         Restart the spooler service

Is there a script or any easier way to do this, I also need to be able to leave 
the Citrix UPD and PDF printer stuff behind as well.

Thanks

Ronnie


Ronnie Hamilton
Senior Network Engineer

Lufthansa Technik Airmotive Ireland
IT Department
Naas Road, Rathcoole
Co. Dublin, Ireland
Phone: +353 1 401 1253
E-mail: ronnie.hamilton@xxxxxxx<mailto:ronnie.hamilton@xxxxxxx>
www.ltai.ie<http://www.ltai.ie>






Visit our website : www.ltai.ie<http://www.ltai.ie>

__________________________________________

Lufthansa Technik Airmotive Ireland Limited. Registered in Ireland. Reg. No. 
45999. Registered Office: Naas Road, Rathcoole, Co.Dublin.

Lufthansa Technik Airmotive Ireland Leasing Limited. Registered in Ireland. 
Reg. No. 140891. Registered Office: Naas Road, Rathcoole, Co.Dublin.

__________________________________________

The information in this email and in any attachments is confidential and may be 
privileged. If you are not the intended recipient, please destroy this message, 
delete any copies held on your systems and notify the sender by return email. 
You should not read, retain, copy, disseminate, distribute, disclose or use 
this email or its contents in any way. Any such action is strictly prohibited. 
Thank you.





________________________________
This message and any attachments may be a confidential attorney-client 
communication or otherwise be privileged and confidential. If you are not the 
intended recipient, any review, distribution or copying of this transmittal is 
prohibited. If you have received this transmittal in error, please reply by 
e-mail and delete this message and all attachments

JPEG image

Other related posts: