HTTP Allowlist: registry value HttpAllowlist (WebView2\HttpAllowlist)UserHKCU\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist
- Policy ID
- HttpAllowlist
- Scope
- Computer Configuration, User Configuration
- Supported on
- Microsoft Edge version 123, Windows 7 or later
- Source
- Microsoft Edge Policy Templates (version 155.0.4283.45)
- Category
- Microsoft Edge WebView2
Registry
(list values)
REG_SZUserComputer…\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlistHKCU\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist Current key
HKLM\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist
HKLM\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist
- Enabled value
- Depends on the option value
- Element
- HTTP Allowlist
- Value type
- REG_SZ
- Explicit value name
- true
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist] "<enter name>"="<enter value>"
CMD
reg add "HKCU\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist" /v "<enter name>" /t REG_SZ /d "<enter value>" /f
PowerShell
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist' -Force | Out-Null New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist' -Name '<enter name>' -PropertyType String -Value '<enter value>' -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist] "<enter name>"="<enter value>"
CMD
reg add "HKLM\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist" /v "<enter name>" /t REG_SZ /d "<enter value>" /f
PowerShell
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist' -Name '<enter name>' -PropertyType String -Value '<enter value>' -Force | Out-Null