Citrix DaaS

Client Drive Mapping (CDM)

Client Drive Mapping makes storage drives on the client endpoint available inside a Citrix HDX session to allow files and folders to be transferred from the client to the session host, and vice versa. This feature is enabled by default with both read and write privileges. To prevent users from adding or changing files and folders on mapped client-devices, enable the Read-only client drive access policy setting. When adding this setting to a policy, ensure that the Client drive redirection setting is set to Allowed and is also added to the policy.

As a security precaution, endpoint drives are mapped without the run permission by default. To allow users to run executables directly from the mapped client drives, edit the ExecuteFromMappedDrive registry value in the session host. For details, see Mapped client drives in the HDX features managed through the registry section.

Requirements

The following are the requirements for using CDM:

Citrix Control plane

  • Citrix Virtual Apps and Desktops 1912 or later
  • Citrix DaaS

Session host

  • Operating system
    • Windows 10 1809 or later
    • Windows Server 2016 or later
    • Linux: Refer to the Linux VDA system requirements
  • VDA
    • Windows: Citrix Virtual Apps and Desktops 1912 or later
    • Linux: Refer to the Linux VDA documentation

Client device

  • Operating system

Refer to Policy settings reference section for CDM settings.

Double-hop scenarios

CDM is supported in double-hop scenarios. By default, the client endpoint’s drive is mapped to the second hop session and the first hop’s drives are not available. However, this can be set so that the first hop’s drives are mapped in the second hop’s session instead of the client endpoint’s drives.

To configure the functionality, edit the following registry value:

  • Key: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Citrix\ICA Client\Engine\Configuration\Advanced\Modules\ClientDrive\
  • Value name: NativeDriveMapping
  • Value type: REG_SZ
  • Value data:
    • True - Maps the drives of the first hop session in the second hop session
    • False - Maps the drives of the client endpoint in the second hop session

Note:

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

Client Drive Mapping (CDM)