Windows · Windows Update errors

0x80070020: File in use by another program

Try first, may need helpERROR_SHARING_VIOLATIONLast checked: October 23, 2026

What does this code mean?

The update could not replace a file because another program had it open. Antivirus, backup or similar tools scanning files at the same time are common culprits.

Before you start

Back up important files before any big step such as a reset or restore. Don't download 'repair' programs suggested online; use only official tools from Microsoft, Apple, Google or your device maker. On work or school devices, ask your IT admin first.

Likely causes

  1. Antivirus or security software scanning the file
  2. Backup software running during the update
  3. Another app holding system files open

Steps you can try

Did that fix it?

When to get help

If the error remains after these steps, contact Microsoft Support; on a work or school PC, contact your IT administrator first.

Differences between versions

Listed in Microsoft's Windows 10 table; the clean-boot method works on Windows 11 too.

Sources

This page is based on official sources from Microsoft, Apple, Google and other makers, written in our own words. Code meanings can differ between versions.