Citrix Printer Roaming…

If you happen to use Citrix policies to configure printer roaming in your XenApp and/or XenDesktop environment, you may have had issues with session printers.  There are a variety of solutions out there to handle printing, and even Citrix has their Universal Print Driver.  Before this was available, however, if you wanted to do printer roaming in Citrix and only Citrix, you had to use their policies.  I found my head meeting the desk repeatedly when I tried to clear up the network session printers available to an endpoint.  In this XenApp 6.5 and XenDesktop 5.6 scenario, when a user switched from using one physical endpoint to another, Citrix policy was configured to add the geographically nearest printer and make it default.

Citrix Printing

The part where the printer was added and made default worked like a charm.  I was happily able to switch between a laptop and a Wyse device in different locations and have the default printer switched accordingly.  Unfortunately, after doing this with multiple devices in an environment with multiple printers, the list of available printers started adding up.

Citrix Printing

This may be a feature that you want to keep, and let the users decide where to send their print jobs.  On the other hand, if you don’t think users need to be able to exercise free will to such an extent, you may want to have that list cleared at each connection.  To do this, there are some hot fixes you should know about.  Actually, there are quite a few possible hot fixes you could try to use to fix this problem.  I did, and it took some time to find the right one(s).

First up: Download Hotfix Rollup Pack 4 for Citrix XenApp 6.5 (http://support.citrix.com/article/CTX140111)

Note that XA650W2K8R2X64R04 is designed for x64 architecture on Server 2008 R2.

Then apply the fix to the presented desktop server(s), and make the following key in the registry of the PD:

HKLM > Software > Citrix > Ica > PrintingSettings

Then create a new Dword entry with a hexidecimal value of “1”:

DeleteNetworkPrinters         1

Citrix Printing

Simple, right?  Now any presented desktops you are using should dispose of extra session printers at each connection.  And if you are using XenDesktop 5.6, you need to make the change on the VM endpoints themselves.  In this case, install Hotfix Rollup XD560VDAWX64400 (version 5.6.400) for XenDesktop Virtual Desktop Agent Core Services x64 (http://support.citrix.com/article/CTX138551).

If your client VMs are 32 bit, get XD560VDAWX86400 (http://support.citrix.com/article/CTX138550).

Install this patch for the Virtual Desktop Agent (VDA) and then, again on the client VMs, have the same registry edit applied:

HKLM > Software > Citrix > Ica > PrintingSettings

Then create a new Dword entry with a hexdecimal value of “1”:

DeleteNetworkPrinters         1

That’s it!  Test it according to your deployment method and you should see those printers disappearing.  If you want them to stick around, change the value of DeleteNetworkPrinters from “1” to “0.”

2017-07-27T00:01:01+00:00 September 24th, 2014|Uncategorized|

About the Author: