[THIN] Re: Print driver clean up on XenApp

  • From: "Raffensberger, Stephen D" <sraffens@xxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Wed, 8 Feb 2012 11:33:29 -0500

Rob VanDerWoude tells you how to do this via a script using rundll32.

 

http://robvanderwoude.com/2kprintcontrol.php

 

  

Steve Raffensberger

Citrix Administrator

Produban US

sraffens@xxxxxxxxxxx

________________________________

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of Hamilton, Ronnie
Sent: Wednesday, February 08, 2012 4:36 AM
To: 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\W
indows 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

 

 

 

Visit our website : 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.

 

 

GIF image

Other related posts: