Configure NetScaler LAN proxy manually
Explanation
Citrix Workspace app supports session launches using the NetScaler LAN proxy.
If both static proxy and dynamic proxies are configured, the dynamic proxy configuration takes precedence.
You can configure static proxy: Select the Configure NetScaler LAN proxy manually policy. Select Enabled and then provide the host name and port number. Click Apply and OK.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Citrix\ICA Client\Engine\Network Routing\Proxy\NetScaler LAN Proxy- Value name
StaticProxyEnabled
| State | Value written | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Enabled | REG_DWORD = 1
| |||||||||
| Disabled | REG_DWORD = 0
|
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/POL_CONFIGURE_LAN_PROXY_MANUALLY
$k = 'HKLM:\Software\Policies\Citrix\ICA Client\Engine\Network Routing\Proxy\NetScaler LAN Proxy'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'StaticProxyEnabled' -Value 1 -Type DWord
Set-ItemProperty -Path $k -Name 'ProxyHost' -Value '' -Type String
Set-ItemProperty -Path $k -Name 'ProxyPort' -Value 443 -Type DWord
# Proxy host
Set-ItemProperty -Path $k -Name 'ProxyHost' -Value '<value>' -Type String
# Proxy port
Set-ItemProperty -Path $k -Name 'ProxyPort' -Value 443 -Type DWord # between 0 and 65535Disable
# Disable: receiver/POL_CONFIGURE_LAN_PROXY_MANUALLY
$k = 'HKLM:\Software\Policies\Citrix\ICA Client\Engine\Network Routing\Proxy\NetScaler LAN Proxy'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'StaticProxyEnabled' -Value 0 -Type DWord
Remove-ItemProperty -Path $k -Name 'ProxyHost' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'ProxyPort' -ErrorAction SilentlyContinueRevert to "Not configured"
# Revert to "Not configured": receiver/POL_CONFIGURE_LAN_PROXY_MANUALLY
$k = 'HKLM:\Software\Policies\Citrix\ICA Client\Engine\Network Routing\Proxy\NetScaler LAN Proxy'
Remove-ItemProperty -Path $k -Name 'StaticProxyEnabled' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'ProxyHost' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'ProxyPort' -ErrorAction SilentlyContinueOptions (2)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Proxy hostTXT_PROXY_HOST | Text boxtext | ProxyHost | REG_SZ | Required · Max length: 255 |
| Proxy portTXT_PROXY_PORT | Numeric boxdecimal | ProxyPort | REG_DWORD | Required · Min: 0 · Max: 65535 · Default (UI): 443 |
Application
Citrix Workspace app (Citrix) — October 2026 templates
October 2026 templates from pl4nty/web-admx-tool.