Allow native XMLHTTP support
Autoriser la prise en charge native de XMLHTTP
Explanation
This policy setting allows the user to run natively implemented, scriptable XMLHTTP.
If you enable this policy setting, the user can run natively implemented, scriptable XMLHTTP.
If you disable this policy setting, the user cannot run natively implemented, scriptable XMLHTTP.
If you do not configure this policy setting, the user can choose to run natively implemented, scriptable XMLHTTP.
Ce paramètre de stratégie permet à l’utilisateur d’exécuter du code XMLHTTP scriptable implémenté en natif.
Si vous activez ce paramètre de stratégie, l’utilisateur peut exécuter du code XMLHTTP scriptable implémenté en natif.
Si vous désactivez ce paramètre de stratégie, l’utilisateur ne peut pas exécuter du code XMLHTTP scriptable implémenté en natif.
Si vous ne configurez pas ce paramètre de stratégie, l’utilisateur peut choisir d’exécuter du code XMLHTTP scriptable implémenté en natif.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\MainHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main- Value name
XMLHTTP
| 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/IESF_DisableXMLHTTP
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'XMLHTTP' -Value 1 -Type DWordDisable
# Disable: inetres/IESF_DisableXMLHTTP
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'XMLHTTP' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/IESF_DisableXMLHTTP
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
Remove-ItemProperty -Path $k -Name 'XMLHTTP' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"