About this article
This article will explain how to repair the WebView2 runtime. Sections in this article:
- Why and when to repair Webview2 Runtime?
- Repair Webview2 Runtime through Add or remove programs
- Repair Webview2 Runtime through Control Panel
- Issues with Webview2 Runtime on Citrix
- Cannot find the Webview2 runtime?
Prerequisites
|
Why and when to repair Webview2 Runtime?
Repairing the Webview2 Runtime can sometimes be necessary if any errors are encountered, you can for example find these Webview2 errors in our Templafy Add-ins logs.
|
Example of errors:
[Error] WebView2 initialization failed. System.InvalidOperationException:
CoreWebView2 members cannot be accessed after the WebView2 control is disposed. --->
System.Runtime.InteropServices.COMException:
The group or resource is not in the correct state to perform the requested operation.
(Exception from HRESULT: 0x8007139F)
[Error] WebView2 Process failed with reason Unexpected and exit code 0
[Error] Description of failed process is with failed kind BrowserProcessExited
[Error] WebView2 initialization failed.
|
Repair Webview2 Runtime through Add or remove programs
WebView2 Can be repaired through Add or Remove programs by going to the:
Start Menu
-->Add or Remove Programs
and searching for WebView2. Then click it and click "Modify" Confirm in the UAC popup with "Yes" or by typing in your admin credentials. Then begin the repair process by clicking the "Repair" button.. You can follow the video below on how it is done.
Repair Webview2 Runtime through Control Panel
WebView2 Can be repaired through Add or Remove programs by going to the:
Start Menu
-->Control Panel
--> Programs/Programs and Features
--> Uninstall a program
and looking for or searching for "Microsoft Edge WebView2 Runtime". Then click it and click "Change". Confirm in the UAC popup with "Yes" or by typing in your admin credentials. Then begin the repair process by clicking the "Repair" button. You can follow the video below on how it is done.
Issues with Webview2 Runtime on Citrix
We have heard of issues with Webview2 on Citrix. If you for example see that Webview2 will sporadically use a lot of processor power, you can add the following registry keys:
REG ADD HKLM\SOFTWARE\Citrix\CtxHook /v ExcludedImageNames /t REG_EXPAND_SZ /d msedgewebview2.exe /f
REG ADD HKLM\SOFTWARE\Wow6432Node\Citrix\CtxHook /v ExcludedImageNames /t
REG_EXPAND_SZ /d msedgewebview2.exe /f
REG ADD HKLM\SOFTWARE\Wow6432Node\Citrix\CtxHook64 /v ExcludedImageNames /t
REG_EXPAND_SZ /d msedgewebview2.exe /f
|
Cannot find the Webview2 runtime?
|
Comments
Article is closed for comments.