Client drive mapping
Explanation
Use this policy to enable and restrict the remote application or desktop's access to the client file systems.
When enabled, the client will completely deny client drive mapping (CDM) virtual channel access to the client's file system if the check box "Enable client drive mapping" is not selected. This stops the DLL implementing the client drive mapping virtual channel (vdcdmn.dll) from loading on client start up. At this point, you can delete the DLL from the client package.
If CDM is enabled, further options are available to restrict the type of access available to the server. If the "Read-only client drives" check box is selected, the CDM virtual channel only permits read access to client drives.
Access to Windows drives can be disabled by entering the relevant drive letter in the "Do not map drives" box. This is a concatenation of all drives that should not be mapped when connecting to a published application or desktop, for example "ABFK" disables the drives A, B, F and K.
Troubleshooting:
These policies override selections made by users in the File Security dialog boxes of the Desktop Viewer. For information on how to prevent users from changing selections in the Client Connection Center, see the Citrix Knowledge Center.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Drives- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: receiver/Policy_EnableDriveMapping
$k = 'HKLM:\Software\Policies\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Drives'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Enable client drive mapping
# unchecked: false
Set-ItemProperty -Path $k -Name 'CDMAllowed' -Value 'true,false' -Type String
# Read-only client drives
# unchecked: false,true
Set-ItemProperty -Path $k -Name 'CDMReadOnly' -Value 'true' -Type String
# Do not map drives
Set-ItemProperty -Path $k -Name 'DisableDrives' -Value '<value>' -Type StringDisable
# Disable: receiver/Policy_EnableDriveMapping
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": receiver/Policy_EnableDriveMapping
$k = 'HKLM:\Software\Policies\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Drives'
Remove-ItemProperty -Path $k -Name 'CDMAllowed' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'CDMReadOnly' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'DisableDrives' -ErrorAction SilentlyContinueOptions (3)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Enable client drive mappingPart_EnableDriveMappingCheckbox | Check boxboolean | CDMAllowed | REG_SZ | Default (UI): true Checked: REG_SZ = true,falseUnchecked: REG_SZ = false |
| Read-only client drivesPart_EnableDriveMappingReadonly | Check boxboolean | CDMReadOnly | REG_SZ | Checked: REG_SZ = trueUnchecked: REG_SZ = false,true |
| Do not map drivesPart_EnableDriveMappingDisableDrives | Text boxtext | DisableDrives | REG_SZ |
Application
Citrix Workspace app (Citrix) — October 2026 templates
October 2026 templates from pl4nty/web-admx-tool.