MicrosoftEdge / MicrosoftEdge/WebView2Feedback
WebView2 freezes (does not load) and Windows Defender uses all CPU
@vbryh-msft is already working on this.
Since Feb 5, 2024.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
What happened?
We used the winforms sample of https://github.com/MicrosoftEdge/WebView2Samples/tree/main/SampleApps/WebView2WindowsFormsBrowser for .Net Framework 4.8 runtime.
The window freezes and msmpeng.exe uses all Cpu until webview2 process is closed.
Seems to be related to KB5034129 and Windows Server 2022 inplace upgrade. We have at least two machines with this issue. But Edge Browser worked.
We found out, that removing the regkey - [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\msedgewebview2.exe] resolved it.
So, do you fix this for us or do we need to remove the regkey on all machines? Is this a WebView2 or a Windows issue?
Importance
Blocking. My app's basic functions are not working due to this issue.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
121.0.2277.98
SDK Version
2357.0
Framework
Winforms
Operating System
Windows Server
OS Version
20348.2227
Repro steps
Just run any application with WebView2 on Windows Server 2022.
Repros in Edge Browser
No
Regression
Regression in newer Runtime
Last working version (if regression)
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.