-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e7cbc9b
commit 113585d
Showing
3 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Code Integrity in WebView2 | ||
|
||
## Why it is important | ||
Code integrity is a feature of Windows that verifies the authenticity and integrity of the code that runs on your system. It helps protect your system from malware, tampering, and unauthorized changes. Code integrity checks the digital signatures of the files that are loaded into memory, and prevents any file that does not have a valid signature from running in webview2. | ||
|
||
## Symptoms | ||
Child process failed with kind COREWEBVIEW2_PROCESS_FAILED_KIND_RENDER_PROCESS_EXITED | ||
and exit code -1073740760 or STATUS_INVALID_IMAGE_HASH. | ||
|
||
Users may see error page in the WebView2: | ||
|
||
![Compatibility problem](compatibility_problem.png) | ||
|
||
## Identify the dll | ||
|
||
**Compatibility problem** web page may show the culprit file otherwise use Event Viewer. | ||
|
||
Open Event Viewer by typing eventvwr in the search box on the taskbar and selecting the app. | ||
|
||
- In the left pane, expand Windows Logs and click on System. | ||
- In the right pane, click on Filter Current Log. | ||
- In the Filter tab, under Event sources, select Microsoft-Windows-CodeIntegrity and click on OK. | ||
- You will see a list of events related to code integrity – search for the ones with msedgewebview2.exe process. | ||
- The file name and path of the file that caused the code integrity violation are shown in the message. | ||
|
||
|
||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.