Open in the explorer

Turn off the XDomainRequest object

Désactiver l’objet XDomainRequest

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Security Features › AJAX User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Security Features › AJAX FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Fonctionnalités de sécurité › AJAXFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Fonctionnalités de sécurité › AJAX
Supported on
At least Internet Explorer 8.0 FR: Au moins Internet Explorer 8.0
ADMX file
inetres.admx
Internal name
inetres/IESF_DisableXDR

Explanation

This policy setting allows you to choose whether websites can request data across domains by using the XDomainRequest object. Note that this policy setting does not block client-side communication across domains through other features in Internet Explorer 8, and it does not prevent a site from requesting cross-domain data through a server.

If you enable this policy setting, websites cannot request data across domains by using the XDomainRequest object.

If you disable or do not configure this policy setting, websites can request data across domains by using the XDomainRequest object.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de déterminer si les sites Web peuvent demander des données sur plusieurs domaines à l’aide de l’objet XDomainRequest. Notez que ce paramètre de stratégie ne bloque pas la communication côté client entre les domaines via d’autres fonctionnalités d’Internet Explorer 8 et qu’il n’empêche pas un site d’effectuer des demandes de données entre domaines via un serveur.

Si vous activez ce paramètre de stratégie, les sites Web ne peuvent pas demander de données sur plusieurs domaines via l’objet XDomainRequest.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les sites Web peuvent demander des données sur plusieurs domaines via l’objet XDomainRequest.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_XDOMAINREQUEST
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_XDOMAINREQUEST
Value name
iexplore.exe
StateValue written
EnabledREG_DWORD = 0
DisabledREG_DWORD = 1

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_DisableXDR
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_XDOMAINREQUEST'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'iexplore.exe' -Value 0 -Type DWord

Disable

# Disable: inetres/IESF_DisableXDR
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_XDOMAINREQUEST'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'iexplore.exe' -Value 1 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": inetres/IESF_DisableXDR
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_XDOMAINREQUEST'
Remove-ItemProperty -Path $k -Name 'iexplore.exe' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability