Partilhar via


Developer tools

Note

You've reached the documentation for Microsoft Edge version 45 and earlier. To see the documentation for Microsoft Edge version 77 or later, go to the Microsoft Edge documentation landing page.

Microsoft Edge, by default, allows users to use the F12 developer tools as well as access the about:flags page. You can prevent users from using the F12 developer tools or from accessing the about:flags page.

You can find the Microsoft Edge Group Policy settings in the following location of the Group Policy Editor unless otherwise noted in the policy:

      Computer Configuration\Administrative Templates\Windows Components\Microsoft Edge\

Allow Developer Tools

Supported versions: Microsoft Edge on Windows 10, version 1511 or later
Default setting: Enabled (Allowed)

Microsoft Edge allows users to use the F12 developer tools to build and debug web pages by default. With this policy, you can configure Microsoft Edge to prevent users from using the F12 developer tools.

Supported values

Group Policy MDM Registry Description Most restricted
Disabled 0 0 Prevented Most restricted value
Enabled 1 1 Allowed

ADMX info and settings

ADMX info

  • GP English name: Allow Developer Tools
  • GP name: AllowDeveloperTools
  • GP path: Windows Components/Microsoft Edge
  • GP ADMX file name: MicrosoftEdge.admx

MDM settings

  • MDM name: Browser/AllowDeveloperTools
  • Supported devices: Desktop
  • URI full Path: ./Vendor/MSFT/Policy/Config/Browser/AllowDeveloperTools
  • Data type: Integer

Registry settings

  • Path: HKLM\Software\Policies\Microsoft\MicrosoftEdge\F12
  • Value name: AllowDeveloperTools
  • Value type: REG_DWORD

Prevent access to the about:flags page

Supported versions: Microsoft Edge on Windows 10, version 1607 or later
Default setting: Disabled or not configured (Allowed)

By default, users can access the about:flags page in Microsoft Edge, which is used to change developer settings and enable experimental features. Enabling this policy prevents users from accessing the about:flags page.

Supported values

Group Policy MDM Registry Description Most restricted
Disabled or not configured
(default)
0 0 Allowed
Enabled 1 1 Prevented Most restricted value

ADMX info and settings

ADMX info

  • GP English name: Prevent access to the about:flags page in Microsoft Edge
  • GP name: PreventAccessToAboutFlagsInMicrosoftEdge
  • GP path: Windows Components/Microsoft Edge
  • GP ADMX file name: MicrosoftEdge.admx

MDM settings

  • MDM name: Browser/PreventAccessToAboutFlagsInMicrosoftEdge
  • Supported devices: Desktop and Mobile
  • URI full path: ./Vendor/MSFT/Policy/Config/Browser/PreventAccessToAboutFlagsInMicrosoftEdge
  • Data type: Integer

Registry settings

  • Path: HKLM\SOFTWARE\Policies\Microsoft\MicrosoftEdge\Main
  • Value name: PreventAccessToAboutFlagsInMicrosoftEdge
  • Value type: REG_DWORD