[THIN] Re: Auto created printers stuck

  • From: "Schneider, Chad M" <CMSchneider@xxxxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Wed, 21 Mar 2007 14:28:28 -0500

This worked on a server last night,....now, once again, another PS 4.0 server 
(W2K SP4), that the printers have stopped auto-creating, and those that exist 
on the server, are not deleted upon logoff of the users...this is getting 
ridiculous.

 

________________________________

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of 
Carl Stalhood
Sent: Tuesday, March 20, 2007 5:25 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Auto created printers stuck

 

I script this by importing .reg files and restarting the spooler.

 

The first .reg file deletes the Printers key:

 

[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers]

 

The second .reg file recreates the Printers key with all local printers (PDF 
printers, Fax printers, etc.). Create the second file by exporting the Print 
key on a system with no client printers.

 

Once the two .reg files have been imported I then restart the spooler. Sample 
script:

 

pskill cpsvc

net stop spooler /y

del /q %systemroot%\system32\spool\printers\*.*

regedit /s c:\windows\printersdelete.reg

regedit /s c:\windows\printers.reg

net start spooler

net start cpsvc

 

I sometimes see event log entries with the AddPrinter 0x3FB error code 
resulting in no client printers being created. Running this script always fixes 
that problem.

 

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of 
Schneider, Chad M
Sent: Tuesday, March 20, 2007 3:46 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Auto created printers stuck

 

I have had 2 more servers with this same problem since.

 

I have one that I have tried everything I can find, and still have 431 client 
auto-created printers on this server, reboots, print spooler r4estarts, chgcdm 
/delete_client_printers, NOTHING!

 

________________________________

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of 
Mike Semon
Sent: Monday, March 19, 2007 8:50 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Auto created printers stuck

 

If it is a permission problem look at CTX108004.

Resolution

You can grant the permission to an administrator for autocreated printers so 
that an administrator can manage those autocreated printers. You can add the 
following registry key and values to Presentation Server so that autocreated 
printers have the access rights for an administrator when an ICA session is 
established. By doing this an administrator can change autocreated printers' 
properties as needed.

HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\Print

Value: DefaultPrnFlags
Data type: REG_DWORD
Data value: 0x4000

Note: Add the Data value as a Hex number.

 

Mike

 

 

________________________________

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of 
Schneider, Chad M
Sent: Monday, March 19, 2007 8:29 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Auto created printers stuck

 

This has worked in the past, I have one now, that this does nothing for.

 

458 printers stuck on the server, post running this, restarting print spooler, 
rebooting, etc.

 

________________________________

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of 
Joe Shonk
Sent: Thursday, January 18, 2007 4:27 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Auto created printers stuck

 

Try

 

Chgcdm /delete_client_printers

 

Joe

 

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of 
Schneider, Chad M
Sent: Thursday, January 18, 2007 1:03 PM
To: 'thin@xxxxxxxxxxxxx'
Subject: [THIN] Auto created printers stuck

 

I have a W2K server, PS 4.0, R02, R02001 server, which suddenly has 165 auto 
created printers "stuck" on it.

 

Have tried bouncing the spooler, CPSvc, rebooting, etc., and the printers 
remain.

 

Unable to delete, access denied.  I got one to delete, had to go in, take 
ownership, add rights, and delete.....hoping I don't have to do this 165 more 
times.

 

Chad Schneider

Technology Analyst/Citrix Admin.

Bemis Company, Inc.

920-303-7609

 

Other related posts: