May
19

How to detect and delete non Citrix printer drivers?

How to detect and delete non Citrix printer drivers?

Citrix Presentation server and XenApp servers are known for their printing issues among Citrix administrator. It is a challenge to keep detect and delete printer drivers from Citrix server. It doesn’t have to be a challenge if you turn off auto detection of printers. If you are having printing issues with Citrix, one of the best places to start troubleshooting is by running PrintDetective utility from Citrix. It looks at the printers that are installed on the server and reports the number of total driver count and non-native/non-citrix printer drivers . This tool allows you to delete the printer drivers easily as well. To download this tool, go to http://support.citrix.com/article/CTX116474 and click on download button.

If you want to restrict the installation of printer drivers on your XenApp server. Please take the following steps as per Citrix Knowledge Base article #CTX120618.

Caution! This procedure requires you to edit the registry. Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use the Registry Editor at your own risk. Back up the registry before you edit it.

  1. From the XenApp Advanced Configuration Console, select Policies > Create Policy. Name the policy and click OK.
  2. Select the new policy, expand Printing, and expand Drivers.
  3. Select Native printer driver auto-install.
  4. Select Enabled and Do not automatically install drivers. This prevents the XenApp printing subsystem from attempting to install native print drivers when users connect.
  5. Right-click the policy and select Apply this policy to.
  6. Select the Servers filter and apply it to one or more servers in the environment as needed.
  7. Open the following registry key on the servers where the newly created Citrix policy is being applied:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\Version-3
    Right-click the Version-3 key and set permissions for all accounts on the ACL to read. You must copy the default inherited permissions before modifying. To prevent 64-bit print drivers from being installed (whether the system is 64-bit or not) adjust the permissions on the same Version-3 key under Windows x64 instead of Windows NT x86.

Now if a print driver installation attempt is made, it should fail and present an access denied error message. If drivers need to be installed at some point, add back the modify privilege to the appropriate accounts .

If printing becomes serious issue in your Citrix enviornment, I would recommend Tricerat Software’s Screwdriver program. I have used this software numerous times and it is very effective.

If you have any questions about this article or specific to your enviornment, send me an email at info@tecmaze.com.

Speak Your Mind

*

© tecmaze.com . The content is copyrighted to tecmaze.com and may not be reproduced on other websites