Configure per-application WebView2 downgrade version: registry value DowngradeVersion (WebView2)UserHKCU\Software\Policies\Microsoft\Edge\WebView2
- Policy ID
- DowngradeVersion
- Scope
- Computer Configuration, User Configuration
- Supported on
- Microsoft Edge version 149, 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…\Software\Policies\Microsoft\Edge\WebView2\DowngradeVersionHKLM\Software\Policies\Microsoft\Edge\WebView2\DowngradeVersion
HKCU\Software\Policies\Microsoft\Edge\WebView2\DowngradeVersion
HKCU\Software\Policies\Microsoft\Edge\WebView2\DowngradeVersion
- Enabled value
- Depends on the option value
- Element
- Set value name to the Application User Model ID or the executable file name. Set value to the target full 4-part version string (for example, 151.0.2178.0).
- 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\DowngradeVersion] "<enter name>"="<enter value>"
CMD
reg add "HKLM\Software\Policies\Microsoft\Edge\WebView2\DowngradeVersion" /v "<enter name>" /t REG_SZ /d "<enter value>" /f
PowerShell
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge\WebView2\DowngradeVersion' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\WebView2\DowngradeVersion' -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\DowngradeVersion] "<enter name>"="<enter value>"
CMD
reg add "HKCU\Software\Policies\Microsoft\Edge\WebView2\DowngradeVersion" /v "<enter name>" /t REG_SZ /d "<enter value>" /f
PowerShell
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge\WebView2\DowngradeVersion' -Force | Out-Null New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\WebView2\DowngradeVersion' -Name '<enter name>' -PropertyType String -Value '<enter value>' -Force | Out-Null