Turn off sending UTF-8 query strings for URLs
Désactiver l’envoi de chaînes de requête UTF-8 pour les URL
Explanation
This policy setting determines whether Internet Explorer uses 8-bit Unicode Transformation Format (UTF-8) to encode query strings in URLs before sending them to servers or to proxy servers.
If you enable this policy setting, you must specify when to use UTF-8 to encode query strings:
0) Never encode query strings.
1) Only encode query strings for URLs that aren't in the Intranet zone.
2) Only encode query strings for URLs that are in the Intranet zone.
3) Always encode query strings.
If you disable or don't configure this policy setting, users can turn this behavior on or off, using Internet Explorer Advanced Options settings. The default is to encode all query strings in UTF-8.
Ce paramètre de stratégie détermine si Internet Explorer utilise le format UTF-8 (8-bit Unicode Transformation Format) pour encoder les chaînes de requête dans les URL avant de les envoyer à des serveurs ou des serveurs proxy.
Si vous activez ce paramètre, vous devez spécifier le moment où UTF-8 doit être utilisé pour encoder les chaînes de requête :
0) Ne jamais encoder les chaînes de requête.
1) Encoder les chaînes de requête uniquement pour les URL qui ne se trouvent pas dans la zone Intranet.
2) Encoder les chaînes de requête uniquement pour les URL qui se trouvent dans la zone Intranet.
3) Toujours encoder les chaînes de requête.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, les utilisateurs peuvent activer ou désactiver ce comportement, via les paramètres Options avancées d’Internet Explorer. Par défaut, toutes les chaînes de requête sont encodées au format UTF-8.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Control PanelHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel- 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.
Computer (HKLM)
Enable
# Enable: inetres/ControlPanel_UTF8URLQuery
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Control Panel'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Select the desired behavior
# Possible options:
# Never encode query strings in UTF-8 = 0
# Encode query strings in UTF-8 only in non-Intranet URLs = 1
# Encode query strings in UTF-8 only in Intranet URLs = 2
# Always encode query strings in UTF-8 = 3
Set-ItemProperty -Path $k -Name 'UTF8URLQuery' -Value 0 -Type DWordDisable
# Disable: inetres/ControlPanel_UTF8URLQuery
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/ControlPanel_UTF8URLQuery
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Control Panel'
Remove-ItemProperty -Path $k -Name 'UTF8URLQuery' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Select the desired behaviorSélectionnez le comportement souhaitéSelectUTF8URLQueryBehavior | Drop-down listenum | UTF8URLQuery | REG_DWORD | Required · Default choice (UI): #0
|