Citrix Virtual Apps and Desktops

WIA devices

WIA devices, such as digital cameras and scanners, communicate with server-hosted image processing applications by using the WIA framework.

Prerequisites

  • The scanner must be WIA compliant.
  • Install the WIA drivers on the local device. They are not required on the server.
  • Attach the scanner locally (for example, through USB).
  • Ensure that the scanner is using the local Windows Image Acquisition service and not the TWAIN driver.
  • Ensure that there is no policy applied to the user account that is used for the test, and which is limiting the bandwidth within the ICA session. For example, client USB redirection bandwidth limit.

Configuration

WIA redirection is disabled by default. The following setting can be enabled in Citrix policy:

  • WIA redirection: This setting allows or prohibits users from accessing WIA devices on the user device.

Note:

Editing the registry incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of the Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

An allow list lets you control which applications on the VDA can access the Windows Image Acquisition scanner redirection. The Registry Editor uses input from the allow list setting on each VDA that contains Windows Image Acquisition. By default, no applications have access to Windows Image Acquisition.

For 64-bit applications, the following values need to be set:

Append the full path of the scanning application or applications in the AllowProcesses registry value:

  • Key: HKLM\SOFTWARE\Citrix\WIAAllowedProcesses
  • Value name: AllowProcesses
  • Value type: REG_MULTISZ
  • Value data: <add full path of the scanning application >

  • Key:HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\CtxHook\AppInit_DLLs\WIAHook<App_Name>

For 32-bit applications, the following values need to be set:

Append the full path of the scanning application or applications in the AllowProcesses registry value:

  • Key: HKLM\SOFTWARE\Citrix\WOW6432Node\WIAAllowedProcesses
  • Value name: AllowProcesses
  • Value type: REG_MULTISZ
  • Value data: <add full path of the scanning application >

  • Key:HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Citrix\CtxHook\AppInit_DLLs\WIAHook<App_Name>

Reboot the VDA after setting the registry values of WIA redirection to be enabled for WIA based applications.

For information about policy settings, see WIA devices policy settings.

WIA devices