Skip to main content

STATUS_DELETE_PENDING: File was already pending deletion

Windows rejected an operation on a file that had already been marked for deletion, even though the file had not been fully removed. Microsoft lists the WebView2 value as -1073741738 (0xC0000056).

What to check​

  1. Check whether a Teams or WebView2 update or removal was running at the time.
  2. Use the installation or application log to identify the file before retrying the update or launch.

Official reference​

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