Microsoft Windows Error Code 0x80070020: How to Fix It

Easy 10-30 minutes Medium Severity Verified June 2026
Error Code
0x80070020
Brand
Microsoft Windows
Product Type
hresult
Severity
Medium
DIY Difficulty
Easy
Estimated Fix Time
10-30 minutes
Error code 0x80070020 appears when Windows cannot access a file because another program is using it. This sharing violation often occurs during updates, installations, or when copying files. The fix involves closing the program or restarting the system.
Ad

Tools You'll Need

How to Fix Error Code 0x80070020

  1. Close Conflicting Programs

  2. Restart Your Computer

    Save any open work before restarting to avoid data loss.
  3. Use Process Explorer to Find the Locking Process

    Be careful not to close critical system processes. If unsure, skip this step.
  4. Run Windows Update Troubleshooter (if updating)

  5. Disable Third-Party Antivirus Temporarily

    Only disable antivirus briefly. Re-enable it immediately after testing to keep your system protected.
  6. Boot into Safe Mode

    Safe Mode limits functionality. After fixing, restart normally.
  7. Perform a Clean Boot

    Clean boot disables many services. After troubleshooting, revert to normal startup.
Ad

When to Call a Professional

If none of the above steps resolve the error, the problem may be deeper (corrupted system files, malware, or hardware issues). Consider contacting a professional technician, Microsoft Support, or using the 'Reset this PC' feature (back up data first).

Frequently Asked Questions

What does error 0x80070020 mean?
It means a file or folder cannot be accessed because another program is currently using it. This is called a sharing violation.
Can I fix error 0x80070020 without restarting?
Yes, by closing the program that has the file open using Task Manager or Process Explorer. A restart is often the easiest fix though.
Why does this error occur during Windows Update?
Windows Update may fail if another process, like an antivirus scan or system backup, is locking the update files. Disabling antivirus temporarily often helps.
Is error 0x80070020 dangerous?
No, it's a common file lock error and usually not harmful. It prevents data corruption by stopping multiple programs from writing to the same file.
Does Process Explorer require installation?
No, Process Explorer is a portable tool that runs without installation. Just download and run the executable.