While many brokering and persona management solutions provide mechanisms to manage printer deployment, you might find it easier to use Unidesk layers. Unidesk layers provide a flexible mechanism for managing printer deployments for different groups of users.
When you use Unidesk layers to deploy Windows printers, you need to take into account the differences between printers defined using local ports and those defined as network printers. You must define them differently when you use a Unidesk layer to deploy the printers.
This article describes how to different strategies you can use for printer deployment with Unidesk layers.
Printer deployment strategies
Small organizations should consider either of the following deployment strategies:
Large organizations often use the following deployment strategies:
Deploying local printers
The main use for a local printer definition in a layer is for printers that use local IP ports to connect to printers over the network by IP address.
When you add a local printer, Windows stores the printer definition in the following Registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers
When you create a Unidesk layer, the layer includes the changes you make to the HKEY_LOCAL_MACHINE\SYSTEM hive in the registry. When you assign the layer to desktops, the deployed desktops receives the printer definition automatically. No additional effort on your part is required!
Deploying network printers
Unlike local printers, Windows stores network printer definitions in the HKEY_CURRENT_USER\Printers \Connections key in the registry. Unidesk layers do not include the HKCU hive when you create layers. To add a network printer definition to a layer, we need to use a script that runs when the user logs into the desktop.
You can store the script in the same location as the exported .reg file.
The script runs the first time the user logs in after you deploy the layer to the desktop. When the script runs, it imports the .reg file using the command regedit.exe /s and adds the printer definition to the user's HKCU hive in the registry.
If you are creating a new layer, you can also include an appropriate icon for the printer, as shown in the following example:
Important Printer Layer Considerations