Open in the explorer

Allow Developer Tools

Autoriser les outils de développement

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Microsoft Edge User Configuration › Policies › Administrative Templates › Windows Components › Microsoft Edge FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Microsoft EdgeFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Microsoft Edge
Supported on
Microsoft Edge on Windows 10, Version 1511 or later FR: Microsoft Edge sur Windows 10, version 1511 ou ultérieure
ADMX file
MicrosoftEdge.admx
Internal name
MicrosoftEdge/AllowDeveloperTools

Explanation

This policy setting lets you decide whether F12 Developer Tools are available on Microsoft Edge.

If you enable or don't configure this setting, the F12 Developer Tools are available in Microsoft Edge.

If you disable this setting, the F12 Developer Tools aren't available in Microsoft Edge.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de décider si les outils de développement F12 sont disponibles sur Microsoft Edge.

Si vous activez ce paramètre ou si vous ne le configurez pas, les outils de développement F12 sont disponibles sur Microsoft Edge.

Si vous désactivez ce paramètre, les outils de développement F12 ne sont pas disponibles sur Microsoft Edge.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MicrosoftEdge\F12
HKEY_CURRENT_USER\Software\Policies\Microsoft\MicrosoftEdge\F12
Value name
AllowDeveloperTools
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.

Computer (HKLM)

Enable

# Enable: MicrosoftEdge/AllowDeveloperTools
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\F12'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowDeveloperTools' -Value 1 -Type DWord

Disable

# Disable: MicrosoftEdge/AllowDeveloperTools
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\F12'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowDeveloperTools' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": MicrosoftEdge/AllowDeveloperTools
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\F12'
Remove-ItemProperty -Path $k -Name 'AllowDeveloperTools' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability