0x80070020 Another process is using the file

A file required for the update is being used by another process.

First, check that this guide matches your problem

When it happens

Appears when a security check or other installation is running at the same time.

Common causes

  • Simultaneous installations
  • Background file scanning
  • File lock

Step-by-step fixes

3 steps, 35 min–1 hr 10 min in total. The easiest checks come first, so stop as soon as the problem is fixed.

This code appears when a full antivirus scan, a backup or another installer has the files the update needs open.

  1. Check the taskbar icons and Task Manager for running antivirus scans, backups or other installs, and wait for them to finish.
  2. Restart, then retry from Settings > Windows Update without opening other programs.

What to check

If it installs, you're done. If the same code appears even right after a restart, compare with a clean boot in the next step.

Did this step fix it?

Frequently asked questions

Related PC FIX problems

Official references

Content reviewed: 2026-10-07