Webview Error in Bitdefender Main

From Nov 2024: "Error dialog is "RUNDLL" … "Error in C:\Program Files (x86)\Microsoft\EdgeWebView\Application130.0.2849.56\msedgewebview2.exe Missing entry: -embedded-browser-webview=1"

I had this problem with two other unrelated software suites. The problem turned out to be bad registry keys: one was HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\msedgewebview2.exe The keys changed calls to msedgewebview2 into calls to rundll32.exe, resulting in the errors. Deleting these keys allowed the other programs to run successfully using webview2 again.

There were 2 instances in my system, apparently placed there by a Windows update because they were present on 2 different machines I have.

You can find these keys by searching the registry via REGEDIT, they are all "Image File Execution Options" but I found them via the Microsoft tool AUTORUNS which can be downloaded at learn.microsoft.com/en-us/sysinternals/downloads/autoruns Run autoruns and look at the "Image Hijacks" tab and you will see if your system has these keys. You can delete them from the registry from there. Also parse thru the other autoruns sections and check for any other associations of msedgewebview2 with rundll32. Those may need to be disabled/deleted as well, but there were none such on my machines. Reboot the machine and try running your program again.

Tagged: