Skip to main content

STATUS_INVALID_IMAGE_FORMAT: Executable or library format was rejected

Windows could not load the executable or DLL as provided. An incompatible build or a damaged file can produce this status. Microsoft lists the WebView2 value as -1073741701 (0xC000007B).

What to check​

  1. Identify the file in the Bad Image message or the Windows event.
  2. Check the file and system architecture against the approved installer, then ask your administrator to repair the named component if needed.

Official reference​

Microsoft Learn: WebView2 failure, C++ and Windows runtime errors