Skip to main content

STATUS_MEDIA_WRITE_PROTECTED: Write blocked on protected storage

WebView2 attempted to write to storage that Windows treated as write protected. The status does not identify the volume. Microsoft lists the WebView2 value as -1073741662 (0xC00000A2).

What to check​

  1. Find the destination path or drive in the matching storage event.
  2. Ask your administrator whether that location is intended to be writable and use the approved storage location if it is not.

Official reference​

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