Liste verte HTTP : valeur de Registre HttpAllowlist (WebView2)UtilisateurHKCU\Software\Policies\Microsoft\Edge\WebView2
- ID de stratégie
- HttpAllowlist
- Étendue
- Configuration ordinateur, configuration utilisateur
- Pris en charge sur
- Microsoft Edge version 123, Windows 7 ou version ultérieure
- Source
- Microsoft Edge Policy Templates (version 155.0.4283.45)
- Catégorie
- Microsoft Edge WebView2
Registre
(valeurs de la liste)
REG_SZOrdinateurUtilisateur…\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlistHKLM\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist
HKCU\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist
HKCU\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist
- Valeur si activée
- Dépend de la valeur de l'option
- Élément
- Liste verte HTTP
- Type de valeur
- REG_SZ
- Nom de valeur explicite
- true
Appliquer avec .reg · CMD · PowerShell
OrdinateurParamètre valable pour tout l’ordinateur
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist] "<saisir le nom>"="<saisir la valeur>"
CMD
reg add "HKLM\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist" /v "<saisir le nom>" /t REG_SZ /d "<saisir la valeur>" /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 '<saisir le nom>' -PropertyType String -Value '<saisir la valeur>' -Force | Out-Null
UtilisateurParamètre par compte
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist] "<saisir le nom>"="<saisir la valeur>"
CMD
reg add "HKCU\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist" /v "<saisir le nom>" /t REG_SZ /d "<saisir la valeur>" /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 '<saisir le nom>' -PropertyType String -Value '<saisir la valeur>' -Force | Out-Null