Open in the explorer

Turn off Data Execution Prevention

Désactiver la prévention de l’exécution des données

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

Explanation

This policy setting allows you to turn off the Data Execution Prevention feature for Internet Explorer on Windows Server 2008, Windows Vista with SP1, and Windows XP with SP3.

If you enable this policy setting, Internet Explorer does not turn on Data Execution Prevention on platforms that support the SetProcessDEPPolicy function.

If you disable or do not configure this policy setting, Internet Explorer uses the SetProcessDEPPolicy function to turn on Data Execution Prevention on platforms that support the function.

This policy setting has no effect if Windows has been configured to enable Data Execution Prevention.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de désactiver la fonctionnalité de prévention de l’exécution des données pour Internet Explorer sur Windows Server 2008, Windows Vista avec SP1 et Windows XP avec SP3.

Si vous activez ce paramètre de stratégie, Internet Explorer n’active pas la prévention de l’exécution des données sur les plateformes prenant en charge la fonction SetProcessDEPPolicy.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, Internet Explorer utilise la fonction SetProcessDEPPolicy pour activer la prévention de l’exécution des données sur les plateformes prenant en charge cette fonction.

Ce paramètre de stratégie n’a aucun effet si Windows a été configuré pour autoriser la prévention de l’exécution des données.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main
Value name
DEPOff
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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.

Enable

# Enable: inetres/IESF_DisableDEP
$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 'DEPOff' -Value 1 -Type DWord

Disable

# Disable: inetres/IESF_DisableDEP
$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 'DEPOff' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": inetres/IESF_DisableDEP
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
Remove-ItemProperty -Path $k -Name 'DEPOff' -ErrorAction SilentlyContinue

Availability