Allow Internet Explorer to use the HTTP2 network protocol
Autoriser Internet Explorer à utiliser le protocole de réseau HTTP2
Explanation
This policy setting determines whether Internet Explorer uses the HTTP2 network protocol. HTTP2 requests help optimize the latency of network requests through compression, multiplexing, and prioritization.
If you enable this policy setting, Internet Explorer uses the HTTP2 network protocol.
If you disable this policy setting, Internet Explorer won't use the HTTP2 network protocol.
If you don't configure this policy setting, users can turn this behavior on or off, using Internet Explorer Advanced Internet Options settings. The default is on.
Ce paramètre de stratégie détermine si Internet Explorer utilise le protocole réseau HTTP2. Les requêtes HTTP2 permettent d'optimiser la latence des requêtes réseau via la compression, le multiplexage et la définition des priorités.
Si vous activez ce paramètre de stratégie, Internet Explorer utilise le protocole réseau HTTP2.
Si vous désactivez ce paramètre de stratégie, Internet Explorer n'utilisera pas le protocole réseau HTTP2.
Si vous ne configurez pas ce paramètre de stratégie, les utilisateurs pourront activer ou désactiver ce comportement à l'aide des paramètres des Options Internet avancées d'Internet Explorer. Par défaut, ce comportement est activé.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet SettingsHKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings- Value name
EnableHTTP2
| 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.
Computer (HKLM)
Enable
# Enable: inetres/Advanced_EnableHTTP2
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableHTTP2' -Value 1 -Type DWordDisable
# Disable: inetres/Advanced_EnableHTTP2
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableHTTP2' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/Advanced_EnableHTTP2
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings'
Remove-ItemProperty -Path $k -Name 'EnableHTTP2' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"