Default Local Fonts permission setting: registry value DefaultLocalFontsSetting (Edge)UserHKCU\Software\Policies\Microsoft\Edge
- Policy ID
- DefaultLocalFontsSetting
- Scope
- Computer Configuration, User Configuration
- Supported on
- Microsoft Edge version 149, Windows 7 or later
- Source
- Microsoft Edge Policy Templates (version 155.0.4283.45)
- Category
- Microsoft Edge › Content settings
Registry
DefaultLocalFontsSetting
REG_DWORDUserComputer…\Software\Policies\Microsoft\EdgeHKCU\Software\Policies\Microsoft\Edge Current key
HKLM\Software\Policies\Microsoft\Edge
HKLM\Software\Policies\Microsoft\Edge
- Enabled value
- Depends on the option value
- Element
- Default Local Fonts permission setting
| Item | Stored value |
|---|---|
| Denies the Local Fonts permission on all sites by default | 2 |
| Ask every time a site wants to obtain the Local Fonts permission | 3 |
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge] ; Options (use only one) ; Denies the Local Fonts permission on all sites by default "DefaultLocalFontsSetting"=dword:00000002 ; Ask every time a site wants to obtain the Local Fonts permission "DefaultLocalFontsSetting"=dword:00000003
CMD
:: Options (use only one) :: Denies the Local Fonts permission on all sites by default reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DefaultLocalFontsSetting" /t REG_DWORD /d 2 /f :: Ask every time a site wants to obtain the Local Fonts permission reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DefaultLocalFontsSetting" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null # Options (use only one) # Denies the Local Fonts permission on all sites by default New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DefaultLocalFontsSetting' -PropertyType DWord -Value 2 -Force | Out-Null # Ask every time a site wants to obtain the Local Fonts permission New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DefaultLocalFontsSetting' -PropertyType DWord -Value 3 -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge] ; Options (use only one) ; Denies the Local Fonts permission on all sites by default "DefaultLocalFontsSetting"=dword:00000002 ; Ask every time a site wants to obtain the Local Fonts permission "DefaultLocalFontsSetting"=dword:00000003
CMD
:: Options (use only one) :: Denies the Local Fonts permission on all sites by default reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DefaultLocalFontsSetting" /t REG_DWORD /d 2 /f :: Ask every time a site wants to obtain the Local Fonts permission reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DefaultLocalFontsSetting" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null # Options (use only one) # Denies the Local Fonts permission on all sites by default New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DefaultLocalFontsSetting' -PropertyType DWord -Value 2 -Force | Out-Null # Ask every time a site wants to obtain the Local Fonts permission New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DefaultLocalFontsSetting' -PropertyType DWord -Value 3 -Force | Out-Null