Printer auto-creation fails. Error code 0x5 appears in the event viewer.
To resolve the issue, assign the local service account Full Control in the printer server properties.
To assign the local service account Full Control, complete the following procedure:
Verify the account that the Citrix Print Manager Service is running as. This should be the local service account. If it is not the local service account, complete the following procedure to change it:
Enter Local Service in This Account field.
Clear the passwords field.
Press OK.
Note: You get two prompts, click OK and the password is recreated for that account.
Click Devices and Printers from the Control Panel.
Click any printer to display the print server properties option.
Click Print Server Properties in the menu bar, as shown in the following screen shot:
Everyone Group: Print and View Printer
Creator Owner Group: Manage Documents
Local Administrators: Full Control
Restart the print spooler service, which also restarts the Citrix Print Manager Service.
The error code 0x5 implies access denied. This issue occurs if the local service account has not been assigned the appropriate permissions in the printer server properties.
Citrix Print Manager Service (cpsvc) manages the creation of printers and driver usage within XenApp sessions. This service runs in the local service account on the server. By default the local service account is assigned full control to the print server but if the print spooler service is stopped during the XenApp installation or if there is a group policy preventing access for modifying the ACL then the correct permissions are not assigned for the Citrix Print Manager service.