Configure NetScaler LAN proxy manually
Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.
Explication
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.
Registre
HKEY_LOCAL_MACHINE\Software\Policies\Citrix\ICA Client\Engine\Network Routing\Proxy\NetScaler LAN Proxy- Nom de la valeur
StaticProxyEnabled
| État | Valeur écrite | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Activé | REG_DWORD = 1
| |||||||||
| Désactivé | REG_DWORD = 0
|
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Activer
# Activer : 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 '<valeur>' -Type String
# Proxy port
Set-ItemProperty -Path $k -Name 'ProxyPort' -Value 443 -Type DWord # entre 0 et 65535Désactiver
# Désactiver : 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 SilentlyContinueRevenir à « Non configuré »
# Revenir à « Non configuré » : 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)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails |
|---|---|---|---|---|
| Proxy hostTXT_PROXY_HOST | Zone de textetext | ProxyHost | REG_SZ | Obligatoire · Longueur max : 255 |
| Proxy portTXT_PROXY_PORT | Zone numériquedecimal | ProxyPort | REG_DWORD | Obligatoire · Min : 0 · Max : 65535 · Défaut (interface) : 443 |
Application
Citrix Workspace app (Citrix) — modèles d'octobre 2026
Modèles d'octobre 2026 issus de pl4nty/web-admx-tool.