Anti-DLL Injection
Explanation
Use this policy to enable/disable Anti-DLL Injection for Citrix Auth Manager, Citrix Workspace app UI and Citrix Virtual Apps and Desktops.
By default Anti-DLL injection is disabled.
When the policy is:
Not Configured - Anti-DLL injection is disabled.
Enabled - User can configure Anti-DLL injection individually for Citrix Auth Manager, Citrix Workspace app UI and Citrix Virtual Apps and Desktops.
Disabled - Anti-DLL injection will be disabled for Citrix Auth Manager, Citrix Workspace app UI and Citrix Virtual Apps and Desktops.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Citrix\AppProtection- 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_EnableAntiDLLInjection
$k = 'HKLM:\SOFTWARE\Policies\Citrix\AppProtection'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Citrix Auth Manager
# unchecked: 0
Set-ItemProperty -Path $k -Name 'EnableAntiDLLInjectionCitrixAuthManager' -Value 1 -Type DWord
# Citrix Workspace app UI
# unchecked: 0
Set-ItemProperty -Path $k -Name 'EnableAntiDLLInjectionCitrixWorkspaceappUI' -Value 1 -Type DWord
# Citrix Virtual Apps and Desktops
# unchecked: 0
Set-ItemProperty -Path $k -Name 'EnableAntiDLLInjectionCVAD' -Value 1 -Type DWordDisable
# Disable: receiver/Policy_EnableAntiDLLInjection
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": receiver/Policy_EnableAntiDLLInjection
$k = 'HKLM:\SOFTWARE\Policies\Citrix\AppProtection'
Remove-ItemProperty -Path $k -Name 'EnableAntiDLLInjectionCitrixAuthManager' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'EnableAntiDLLInjectionCitrixWorkspaceappUI' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'EnableAntiDLLInjectionCVAD' -ErrorAction SilentlyContinueOptions (3)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Citrix Auth ManagerExplain_AntiDLLAuthmanager | Check boxboolean | EnableAntiDLLInjectionCitrixAuthManager | REG_DWORD | Default (UI): true Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Citrix Workspace app UIExplain_AntiDLLSelfService | Check boxboolean | EnableAntiDLLInjectionCitrixWorkspaceappUI | REG_DWORD | Default (UI): true Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Citrix Virtual Apps and DesktopsExplain_AntiDLLVirtualAppsandDesktops | Check boxboolean | EnableAntiDLLInjectionCVAD | REG_DWORD | Default (UI): true Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
Application
Citrix Workspace app (Citrix) — October 2026 templates
October 2026 templates from pl4nty/web-admx-tool.