Microsoft Edge WebView2 Runtime is a component that allows desktop applications to display web-based content using the Microsoft Edge rendering engine. Many modern Windows applications depend on WebView2 for embedded browser functionality. Knowing the installed WebView2 Runtime version can be useful for troubleshooting application issues, verifying compatibility requirements, and checking deployment environments. This tutorial provides 2 methods how to check WebView2 Runtime version on Windows.
Method 1 - CMD
The WebView2 Runtime version is stored in the Windows registry. The reg query command allows registry values to be read directly from Command Prompt. To print only the WebView2 Runtime version, use the following command:
for /f "skip=2 tokens=3" %a in ('reg query HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5} /v pv') do @echo %a
Output example:
147.0.3912.98
Method 2 - PowerShell
PowerShell can also read the registry that contains the WebView2 Runtime version by using the Get-ItemProperty command:
(Get-ItemProperty 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}').pv
Leave a Comment
Cancel reply