Microsoft Edge WebView2 - Policies

The latest version of Microsoft Edge WebView2 includes the following policies. You can use these policies to configure how Microsoft Edge WebView2 runs in your organization. For information about an additional set of policies used to control how and when Microsoft Edge WebView2 is updated, check out Microsoft Edge update policy reference.

NOTE

This article applies to Microsoft Edge version 87 or later.

Available policies

These tables list all of the group policies available in this release of Microsoft Edge WebView2. Use the links in the table to get more details about specific policies.
Loader Override Settings


Loader Override Settings
Navn på retningslinjeCaption
BrowserExecutableFolder Configure the location of the browser executable folder
ReleaseChannelPreference Set the release channel search order preference

Loader Override Settings policies


Tilbake til toppen

BrowserExecutableFolder

Configure the location of the browser executable folder

Supported versions:
Beskrivelse
This policy configures WebView2 applications to use the WebView2 Runtime in the specified path. The folder should contain the following files: msedgewebview2.exe, msedge.dll, and so on.

To set the value for the folder path, provide a Value name and Value pair. 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.
Støttede funksjoner:
Data Type:
Windows information and settings
Group Policy (ADMX) info
Windows Registry Settings
Eksempelverdi:
SOFTWARE\Policies\Microsoft\Edge\WebView2\BrowserExecutableFolder = "Name: *, Value: C:\\Program Files\\Microsoft Edge WebView2 Runtime Redistributable 85.0.541.0 x64"

Tilbake til toppen

ReleaseChannelPreference

Set the release channel search order preference

Supported versions:
Beskrivelse
The default channel search order is WebView2 Runtime, Beta, Dev, and Canary.

To reverse the default search order, set this policy to 1.

To set the value for the release channel preference, provide a Value name and Value pair. 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.
Støttede funksjoner:
Data Type:
Windows information and settings
Group Policy (ADMX) info
Windows Registry Settings
Eksempelverdi:
SOFTWARE\Policies\Microsoft\Edge\WebView2\ReleaseChannelPreference = "Name: *, Value: 1"

Tilbake til toppen

See also