Ouvrir dans l'explorateur

Configure the WebView2 release channels

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Ordinateur et utilisateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Microsoft Edge WebView2 › Paramètres de remplacement du chargeur Configuration utilisateur › Stratégies › Modèles d'administration › Microsoft Edge WebView2 › Paramètres de remplacement du chargeur EN : Computer Configuration › Policies › Administrative Templates › Microsoft Edge WebView2 › Loader Override SettingsEN : User Configuration › Policies › Administrative Templates › Microsoft Edge WebView2 › Loader Override Settings
Pris en charge sur
Microsoft Edge version 121, Windows 7 or later
Fichier ADMX
msedgewebview2.admx
Nom interne
msedgewebview2/ReleaseChannels

Explication

This policy configures the release channel options for WebView2 applications. To configure these options, set the value to a comma-separated string of integers, which map to the `COREWEBVIEW2_RELEASE_CHANNELS` values from the corresponding WebView2 API. These values are: WebView2 Runtime (0), Beta (1), Dev (2), and Canary (3). By default, environment creation searches for channels from most to least stable, using the first channel found on the device. When `ReleaseChannels` is provided, environment creation will only search for the channels specified in the set. For example, the values "0,2" and "2,0" indicate that environment creation should only search for Dev channel and the WebView2 Runtime, using the order indicated by `ChannelSearchKind`. Environment creation attempts to interpret each integer and treats any invalid entry as the Stable channel. Set `ChannelSearchKind` to reverse the search order so environment creation searches for least stable build first. If both `BrowserExecutableFolder` and `ReleaseChannels` are provided, the `BrowserExecutableFolder` takes precedence, regardless of whether the channel of `BrowserExecutableFolder` is included in the `ReleaseChannels`.

To set the value for release channels, provide a Value name and Value pair. Set the value name to the Application User Model ID or the executable file name. You can use the "*" wildcard as value name to apply to all applications.

Example value:

Name: WebView2APISample.exe, Value: 0,1,2

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge\WebView2
HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge\WebView2
Nom de la valeur
non défini dans l'ADMX

Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Ordinateur (HKLM)

Activer

# Activer : msedgewebview2/ReleaseChannels
$k = 'HKLM:\Software\Policies\Microsoft\Edge\WebView2\ReleaseChannels'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Set value name to the Application User Model ID or the executable file name. You can use the "*" wildcard as value name to apply to all applications.
# Liste non additive : les valeurs existantes de la clé sont d'abord effacées
if (Test-Path -Path $k) { (Get-Item -Path $k).Property | ForEach-Object { Remove-ItemProperty -Path $k -Name ([WildcardPattern]::Escape($_)) -ErrorAction SilentlyContinue } }
$items = @{
    '<nom1>' = '<valeur1>'
    '<nom2>' = '<valeur2>'
}  # Remplacez les valeurs par les vôtres
$items.GetEnumerator() | ForEach-Object { Set-ItemProperty -Path $k -Name $_.Key -Value $_.Value -Type String }

Désactiver

# Désactiver : msedgewebview2/ReleaseChannels
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)

Revenir à « Non configuré »

# Revenir à « Non configuré » : msedgewebview2/ReleaseChannels
$k = 'HKLM:\Software\Policies\Microsoft\Edge\WebView2\ReleaseChannels'
Remove-Item -Path $k -Recurse -Force -ErrorAction SilentlyContinue

Utilisateur (HKCU)

Activer

Désactiver

Revenir à « Non configuré »

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
Set value name to the Application User Model ID or the executable file name. You can use the "*" wildcard as value name to apply to all applications.ReleaseChannelsDescListe (tableau)listSoftware\Policies\Microsoft\Edge\WebView2\ReleaseChannelsPaires nom = valeurREG_SZ (valeurs sous la clé)

Application

Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — modèles de novembre 2026

Modèles officiels téléchargés le 12 novembre 2026.