How to Fix 0x80070020 File in Use Error Windows 11

Encountering the 0x80070020 error on Windows 11 can be incredibly frustrating, especially when you're trying to install updates or manage files. This file in use error often pops up during Windows updates, signaling that a file is locked or in use by another process. But don't worry—it's a common issue with straightforward solutions. In this guide, we'll walk you through the most effective ways to fix 0x80070020 error on Windows 11, helping you regain control and avoid future headaches. Let's dive in and get your PC back on track! 😊

What is the 0x80070020 Error and Why Does It Happen?

The 0x80070020 file in use error typically occurs when Windows 11 tries to replace or access a file that's currently being used by another program, service, or even the system itself. This can halt Windows updates, installations, or file operations, leaving you stuck with an error code that feels like a roadblock.

Common triggers include:

  • 👉 Running antivirus software or background apps that lock system files.
  • 👉 Incomplete or interrupted previous updates.
  • 👉 Corrupted system files or registry issues.
  • 👉 Conflicts from third-party software during updates.

Understanding this helps demystify the problem—it's not a sign of a major failure but rather a temporary clash. Now, let's move to the fixes. We'll start with the simplest and escalate to more advanced steps, so you can resolve the 0x80070020 error without unnecessary hassle.

Illustration of Windows 11 error screen showing 0x80070020 file in use message

Step 1: Restart Your PC and Check for Basic Conflicts

Sometimes, the simplest solution is the most effective. A quick restart can release locked files and clear temporary glitches causing the 0x80070020 error.

  1. Save your work and restart your computer normally.
  2. After rebooting, try the operation again (e.g., running Windows Update).
  3. If the error persists, boot into Safe Mode to minimize background processes:
    • Press Windows key + I to open Settings.
    • Go to System > Recovery.
    • Under Advanced startup, click Restart now.
    • Navigate to Troubleshoot > Advanced options > Startup Settings > Restart, then select option 4 or 5 for Safe Mode.
  4. In Safe Mode, attempt the update or file operation. If it succeeds, the issue is likely a conflicting app.

This method resolves the file in use error in about 70% of cases, according to Microsoft support forums. If it doesn't, proceed to the next step—your patience is paying off! 🌟

Step 2: Close Conflicting Programs and Services

Background apps like antivirus or media players often hold files hostage. Identifying and closing them can free up the locked resources.

  1. Open Task Manager by pressing Ctrl + Shift + Esc.
  2. Go to the Processes tab and look for suspicious or resource-heavy apps (e.g., third-party security software).
  3. Right-click and select End task for non-essential processes. Be cautious—don't end system-critical ones like explorer.exe.
  4. For deeper checks, use the Services tab:
    • Click Open Services at the bottom.
    • Look for services related to the file in question (e.g., if it's an update file, check Windows Update service).
    • Right-click a service, select Stop, then retry your task.

Pro tip: Temporarily disable real-time antivirus scanning before updates. Tools like Windows Security's built-in scanner are usually safe to keep running. Feeling empowered yet? Let's keep going! 👍

Step 3: Run the Windows Update Troubleshooter

Windows 11 comes equipped with a built-in troubleshooter designed for issues like 0x80070020. It's quick and often detects problems automatically.

  1. Press Windows key + I to open Settings.
  2. Navigate to System > Troubleshoot > Other troubleshooters.
  3. Find Windows Update and click Run.
  4. Follow the on-screen prompts—it will scan for and attempt to fix the file in use error.

This tool has been updated in the latest Windows 11 builds to handle more error codes efficiently. If it flags specific files, note them for the next steps. You're making great progress—hang in there! 😄

Step 4: Use System File Checker (SFC) and DISM Tools

If corruption is the culprit behind the 0x80070020 error, repairing system files is key. These command-line tools are powerful and reliable.

  1. Open Command Prompt as Administrator: Search for "cmd" in the Start menu, right-click, and select Run as administrator.
  2. First, run DISM to repair the Windows image:
    DISM /Online /Cleanup-Image /RestoreHealth

    This may take 10-20 minutes and requires an internet connection.

  3. Next, run SFC:
    sfc /scannow

    It will scan and replace corrupted files automatically.

  4. Restart your PC and test for the error.

These steps address underlying file integrity issues that cause Windows 11 file in use errors. For more details, check Microsoft's official guide: Microsoft Support.

Screenshot of Command Prompt running SFC /scannow to fix system files on Windows 11

Step 5: Reset Windows Update Components

When updates are specifically affected by 0x80070020, resetting the update components clears the slate.

  1. Open Command Prompt as Administrator again.
  2. Stop update services by running these commands one by one:
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
  3. Rename the folders:
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 Catroot2.old
  4. Restart the services:
    net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver
  5. Reboot and check for updates.

This flushes out any stuck files causing the file in use error. It's a go-to fix recommended in recent Windows 11 troubleshooting updates.

Advanced Fixes: When Basic Steps Aren't Enough

If the error lingers, consider these deeper interventions:

Perform a Clean Boot

A clean boot disables non-Microsoft services to isolate conflicts.

  1. Search for msconfig and open System Configuration.
  2. Go to Services, check Hide all Microsoft services, then Disable all.
  3. In the Startup tab, open Task Manager and disable items.
  4. Restart and test. Gradually re-enable to find the culprit.

Check for Malware

Malware can lock files. Run a full scan with Windows Defender or a trusted tool like Malwarebytes.

Update Drivers and BIOS

Outdated drivers might interfere. Use Device Manager to update, or visit your hardware manufacturer's site.

Last Resort: Reset or Reinstall Windows 11

If all else fails, go to Settings > System > Recovery > Reset this PC. Choose to keep files for minimal disruption. For a fresh start, reinstall via Windows 11 media creation tool from Microsoft.

Remember, backups are your best friend before major changes! 📂

Prevention Tips to Avoid 0x80070020 in the Future

Once fixed, keep the 0x80070020 error at bay:

  • ⭐ Schedule regular Windows updates during idle times.
  • ⭐ Close unnecessary apps before updates.
  • ⭐ Maintain your system with monthly SFC scans.
  • ⭐ Use reliable antivirus without overzealous file locking.

By staying proactive, you'll enjoy a smoother Windows 11 experience. If these steps don't resolve your issue, consider reaching out to Microsoft Support for personalized help.

Wrapping Up: You've Got This!

Fixing the 0x80070020 file in use error on Windows 11 doesn't have to be overwhelming. Start with a restart, work through the troubleshooters and repairs, and you'll likely be back to normal in under an hour. We've covered everything from quick wins to advanced tweaks, so pick what fits your situation. If you found this helpful, share it with a friend facing the same snag—your good vibes can spread! 👏 What worked for you? Drop a comment below, and let's keep the conversation going.

Stay tuned for more Windows 11 tips to make your tech life easier. Happy computing! 🚀

Leave a Comment

How to Use Windows 11 Quick Assist for Help

How to Use Windows 11 Quick Assist for Help

Discover how to use Windows 11 Quick Assist for seamless remote support. Learn step-by-step setup, troubleshooting, and tips to help friends or family with tech issues instantly.

Troubleshooting Windows 11 Dual Monitor Lag Fixes

Troubleshooting Windows 11 Dual Monitor Lag Fixes

Struggling with dual monitor lag on Windows 11? Discover proven troubleshooting fixes to eliminate stuttering, delays, and performance issues for seamless multi-monitor setups. Step-by-step guide inside.

How to Fix Windows 11 Startup Settings Blank Error

How to Fix Windows 11 Startup Settings Blank Error

Struggling with the frustrating Windows 11 "Startup Settings" blank error? Discover proven, step-by-step fixes to restore your boot options quickly and get your PC running smoothly again. No tech expertise needed!

How to Activate Windows 11 Enterprise with KMS

How to Activate Windows 11 Enterprise with KMS

Discover how to activate Windows 11 Enterprise using KMS effortlessly. This comprehensive guide covers everything from requirements to troubleshooting, ensuring seamless activation for your business needs.

How to Fix Windows 11 Kmode Exception Not Handled

How to Fix Windows 11 Kmode Exception Not Handled

Struggling with the dreaded KMODE EXCEPTION NOT HANDLED error on Windows 11? Discover proven, step-by-step fixes to resolve this blue screen nightmare quickly and get your PC running smoothly again. No tech expertise needed!

Troubleshooting Windows 11 Motherboard Driver Error Fix

Troubleshooting Windows 11 Motherboard Driver Error Fix

Struggling with Windows 11 "Motherboard" Driver Error? Discover proven troubleshooting steps to fix it fast and get your PC running smoothly again. Easy, step-by-step guide for beginners.

How to Fix Windows 11 Ping Spikes Over Wi-Fi Fixes

How to Fix Windows 11 Ping Spikes Over Wi-Fi Fixes

Struggling with ping spikes on Windows 11 over Wi-Fi? Discover proven fixes to stabilize your connection, reduce lag, and enjoy smooth gaming or streaming. Step-by-step solutions for instant results.

How to Recover Deleted Photos in Windows 11

How to Recover Deleted Photos in Windows 11

Accidentally deleted precious photos? Discover proven methods to recover deleted photos in Windows 11 effortlessly. Step-by-step guides, tools, and tips to restore your images safely.

How to Use Windows 11 Terminal Instead of CMD

How to Use Windows 11 Terminal Instead of CMD

Discover how to use Windows 11 Terminal instead of CMD for a modern, efficient command-line interface. Learn installation, setup, and tips to boost your productivity with tabs, themes, and more.

How to Activate Windows 11 Pro Without a Product Key

How to Activate Windows 11 Pro Without a Product Key

Discover safe, legitimate ways to activate Windows 11 Pro without a product key. Learn step-by-step methods using built-in tools and official Microsoft options to get your OS up and running smoothly. No risks, no hassle – just pure productivity.

Fixing Battery Drain During Hibernate in Windows 11

Fixing Battery Drain During Hibernate in Windows 11

Struggling with battery drain during hibernate in Windows 11? Discover expert fixes to preserve your laptop

How to Fix Windows 11 Input Lag for Valorant and CS2

How to Fix Windows 11 Input Lag for Valorant and CS2

Struggling with input lag in Windows 11 while playing Valorant or CS2? Discover proven, step-by-step fixes to restore smooth gameplay and boost your performance. Say goodbye to delays and hello to precision shots.

How to Fix Out of Memory Error in Microsoft Edge

How to Fix Out of Memory Error in Microsoft Edge

Struggling with the frustrating "Out of Memory" error in Microsoft Edge? Discover proven, step-by-step fixes to reclaim your browsing speed and stability. Updated with the latest tips for optimal performance.

How to Fix Windows 11 Google Drive Not Launching Fix

How to Fix Windows 11 Google Drive Not Launching Fix

Struggling with Google Drive not launching on Windows 11? Discover proven fixes to resolve the issue fast, from restarts to advanced troubleshooting. Get your cloud storage working seamlessly today!

How to Disable Gamebar Presence Writer for Performance

How to Disable Gamebar Presence Writer for Performance

Discover how to disable Game Bar Presence Writer on Windows to optimize gaming performance. Step-by-step guide to reduce lag, boost FPS, and enhance your setup for smoother gameplay. Essential tips for gamers in 2026.