A server running Citrix Presentation Server 4.5 at one of our clients would not auto client create printers when users connect. It would log an error in the event viewer for every printer that was being mapped with Event ID 1116.
Event Type: Error
Event Source: MetaFrameEvents
Event Category: Printer Management
Event ID: 1116
Date: 6/6/2008
Time: 7:54:46 AM
User: N/A
Computer: SERVER1
Description:
Printer auto-creation failure. Reason: AddPrinter() failed with status 0×5. Client name: (PC01) Printer name: (Client/PC01#/HP Laser Jet 4000) Port name: (Client\PC01#\HP Laser Jet 4000) Driver name: (Citrix Universal Printer) Print processor: (Citrix Print Processor)
I didn’t have much luck with figuring out what was going on until I focused on the actual error stated in the eventlog “AddPrinter() failed with status 0X5.” since 0X5 is usually an access denied code.
A little searching and I found a similar problem with Citrix Presentation Server 4.0 and the user permissions for the Ctx_SmaUser. This user is a local user and one of its jobs is to be the service user for the Citrix Print Manager Service. The user that Presentation Server 4.5 uses is named Ctx_SmaUser. I verified that this user belonged to the same groups as it did on the other server and then to test my theory that it was a user permission problem I changed the user that ran the service to the local administrator account. Once restarting the Citrix Print Manager Server I was able to login and have my printers connect.
Running the following tool from Citix fixed the user permissions for the Ctx_SmaUser user and I was able to change the user back on the service and have it create printers normally.
http://support.citrix.com/article/CTX113554
This tool automates what you need to do that is in this article:
http://support.citrix.com/article/CTX113555
Yeah, thought you would be running the tool