Open in the explorer

Default Local Fonts permission setting

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Microsoft Edge › Content settings User Configuration › Policies › Administrative Templates › Microsoft Edge › Content settings
Supported on
Microsoft Edge version 149, Windows 7 or later
ADMX file
msedge.admx
Internal name
msedge/DefaultLocalFontsSetting

Explanation

Setting this policy controls the default behavior for the local fonts permission.

If you set the policy to BlockLocalFonts (value 2), access to local fonts is denied by default. Sites are prevented from accessing information about local fonts.

If you set the policy to AskLocalFonts (value 3), users are prompted when a site requests access to local fonts. If permission is granted, the site can access information about local fonts.

If a site is included in 'LocalFontsAllowedForUrls' (Allow Local Fonts permission on these sites) or 'LocalFontsBlockedForUrls' (Block Local Fonts permission on these sites), then that setting overrides the value set for this policy.

If you don't configure this policy, users are prompted by default and can change this setting.

Policy options mapping:

* BlockLocalFonts (2) = Denies the Local Fonts permission on all sites by default

* AskLocalFonts (3) = Ask every time a site wants to obtain the Local Fonts permission

Use the preceding information when configuring this policy.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge
HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

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: msedge/DefaultLocalFontsSetting
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Default Local Fonts permission setting
# Possible options:
#   Denies the Local Fonts permission on all sites by default = 2
#   Ask every time a site wants to obtain the Local Fonts permission = 3
Set-ItemProperty -Path $k -Name 'DefaultLocalFontsSetting' -Value 2 -Type DWord

Disable

# Disable: msedge/DefaultLocalFontsSetting
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

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

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Default Local Fonts permission settingDefaultLocalFontsSettingDrop-down listenumDefaultLocalFontsSettingREG_DWORD
LabelValue
Denies the Local Fonts permission on all sites by defaultREG_DWORD = 2
Ask every time a site wants to obtain the Local Fonts permissionREG_DWORD = 3

Application

Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.