Configure the WebView2 release channel search kind: registry value ChannelSearchKind (WebView2)UserHKCU\Software\Policies\Microsoft\Edge\WebView2

Policy ID
ChannelSearchKind
Scope
Computer Configuration, User Configuration
Supported on
Microsoft Edge version 121, Windows 7 or later
Source
Microsoft Edge Policy Templates (version 155.0.4283.45)
Category
Microsoft Edge WebView2 › Loader Override Settings

Registry

(list values)

REG_SZComputerUser
Enabled value
Depends on the option value
Element
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.
Value type
REG_SZ
Explicit value name
true
Apply with .reg · CMD · PowerShell
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge\WebView2\ChannelSearchKind]
"<enter name>"="<enter value>"
CMD
reg add "HKLM\Software\Policies\Microsoft\Edge\WebView2\ChannelSearchKind" /v "<enter name>" /t REG_SZ /d "<enter value>" /f
PowerShell
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge\WebView2\ChannelSearchKind' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\WebView2\ChannelSearchKind' -Name '<enter name>' -PropertyType String -Value '<enter value>' -Force | Out-Null
UserPer-account setting
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge\WebView2\ChannelSearchKind]
"<enter name>"="<enter value>"
CMD
reg add "HKCU\Software\Policies\Microsoft\Edge\WebView2\ChannelSearchKind" /v "<enter name>" /t REG_SZ /d "<enter value>" /f
PowerShell
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge\WebView2\ChannelSearchKind' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\WebView2\ChannelSearchKind' -Name '<enter name>' -PropertyType String -Value '<enter value>' -Force | Out-Null