sodcalculator

10 Tech How-To

Fix Error 0x800700e1: Causes & Solutions

Guide 10-60165 · Updated · Step by step

Error 0x800700e1 is a Windows Update and installation error that means “operation did not complete successfully because the file contains a virus or potentially unwanted software.” The fix is to temporarily disable your antivirus, clear the Windows Update cache, and then retry the update or installation. This guide walks through the most effective solutions step by step, from the simplest to the more advanced.

What Does Error 0x800700e1 Mean?

The hexadecimal code 0x800700e1 maps to the Windows error ERROR_VIRUS_INFECTED. Windows itself, or the security software you have installed, has flagged a file involved in the update or installation as malicious or unwanted, and blocked the operation. This can happen for several reasons:

  • A false positive: your antivirus wrongly identifies a legitimate Windows update file as a threat.
  • A real infection: a virus or potentially unwanted program (PUP) has replaced or corrupted a system file.
  • Leftover temporary files from a previous failed update are being scanned and flagged.
  • Third-party security software interferes with Windows Update’s ability to write necessary files.

While the error is often associated with Windows Update, it can also appear when installing drivers, Microsoft Office, or other software that writes to protected system folders.

Before You Start: Check for Actual Malware

Because the error is related to virus detection, the first thing you should do is rule out a real infection. Run a full system scan with your current antivirus. If you don’t have one, use Windows Security (built into Windows 10 and 11) by going to Windows Security > Virus & threat protection > Scan options and selecting Full scan. If the scan finds and removes a threat, restart your PC and try the Windows Update again. If the error persists, the issue is likely a false positive or a corrupted cache.

Fix 1: Temporarily Disable Your Antivirus

Since the error is triggered by security software, the quickest test is to temporarily disable it. This does not mean uninstalling it—just turning off real-time protection for a few minutes.

  1. Right-click the antivirus icon in the system tray (near the clock) and look for options like Disable, Pause protection, or Turn off.
  2. If you use Windows Security, go to Windows Security > Virus & threat protection > Manage settings and toggle Real-time protection to Off.
  3. Retry the Windows Update or the installation that was failing.
  4. If it succeeds, re-enable your antivirus immediately. Then add the Windows Update folder (C:\Windows\SoftwareDistribution) to the antivirus exclusion list so future updates aren’t blocked.

If the error still appears with the antivirus off, the problem is not your security software. Move to the next fix.

Fix 2: Clear the Windows Update Cache

Windows stores downloaded update files in the SoftwareDistribution folder. If any of those cached files are corrupted or flagged, the update fails. Clearing the cache forces Windows to download everything fresh.

  1. Press Win + R, type services.msc, and press Enter.
  2. Scroll down to Windows Update, right-click it, and select Stop.
  3. Also stop the Background Intelligent Transfer Service (BITS) the same way.
  4. Open File Explorer and navigate to C:\Windows\SoftwareDistribution. Delete everything inside the Download subfolder. (You may need to confirm with an administrator password.)
  5. Go back to the Services window, right-click Windows Update and BITS, and select Start.
  6. Restart your PC and try the update again.

If you get an error that the folder is in use, make sure the services are fully stopped and try again. This is a safe operation—Windows will recreate any needed files.

Fix 3: Run the Windows Update Troubleshooter

Windows includes a built-in troubleshooter that can automatically detect and fix common update problems, including corrupted registry keys and service misconfigurations.

  1. Open Settings > System > Troubleshoot > Other troubleshooters (Windows 11) or Settings > Update & Security > Troubleshoot (Windows 10).
  2. Select Windows Update and click Run.
  3. Follow the on-screen instructions. It may take several minutes.
  4. Restart your PC and try the update again.

This tool is safe and won’t remove any personal files. It’s a good middle step before trying more aggressive fixes.

Fix 4: Use DISM and System File Checker (SFC)

If the update cache is clean but the error persists, system files may be corrupted. The Deployment Image Servicing and Management (DISM) tool repairs the Windows image, and the System File Checker (SFC) scans and replaces corrupted system files.

  1. Open Command Prompt as administrator. (Search for cmd, right-click, and select Run as administrator.)
  2. Run DISM /Online /Cleanup-Image /RestoreHealth. This may take 10-20 minutes. Do not close the window.
  3. Once DISM completes, run sfc /scannow. This will also take a while.
  4. Restart your PC and try the update again.

These commands are safe and won’t affect your personal data. If SFC finds corrupted files that it cannot repair, you may need to perform an in-place upgrade repair install, but that is a last resort.

Fix 5: Reset Windows Update Components Manually

If the above fixes fail, you can manually reset all Windows Update components. This is more advanced but often resolves stubborn errors. This involves stopping services, renaming folders, and re-registering DLL files. Here is the condensed version:

  1. Open Command Prompt as administrator.
  2. Stop the relevant services by running:
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
  3. Rename the SoftwareDistribution and CatRoot2 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. Close the Command Prompt and restart your PC. Then try the update.

Renaming the folders is safe—Windows will create new ones. If you are not comfortable with command line, skip this and try the next fix.

Fix 6: Perform a Clean Boot

A clean boot starts Windows with only the essential drivers and programs, eliminating software conflicts that might trigger the error. This is a good diagnostic step.

  1. Press Win + R, type msconfig, and press Enter.
  2. Go to the Services tab, check Hide all Microsoft services, and click Disable all.
  3. Go to the Startup tab and click Open Task Manager. Disable all startup items.
  4. Close Task Manager, click OK, and restart your PC.
  5. Try the Windows Update again. If it works, one of the disabled services was the culprit. You can re-enable them in batches to find the offender.
  6. To return to normal startup, repeat the steps and re-enable everything.

This is a safe procedure and won’t uninstall anything.

Frequently Asked Questions

Will I lose my files if I clear the Windows Update cache?

No. The SoftwareDistribution folder only contains temporary update files. Deleting its contents does not affect your personal documents, photos, or installed programs. Windows will simply re-download the updates it needs.

Is it safe to disable my antivirus to fix this error?

Temporarily, yes, but only for the duration of the update. Immediately re-enable it afterward. If you have to disable it for a long time, consider adding the Windows Update folder to the exclusions list instead, so your antivirus still protects the rest of your system.

Can error 0x800700e1 appear when installing a program, not just Windows Update?

Yes. Any installer that writes to protected system folders can trigger the same error if your antivirus flags a file. The same fixes apply—disable the antivirus temporarily, clear the installer cache, or run the installer with administrator privileges.

What if none of these fixes work?

If you’ve tried all the steps and the error persists, there may be a deeper system issue. You can try using the Windows Media Creation Tool to perform an in-place upgrade repair, which reinstalls Windows while keeping your files and apps. If that fails, a full reset (Settings > System > Recovery > Reset this PC) is the last resort. Always back up your data before doing either.

Does this error mean my PC is infected?

Not necessarily. In most cases it’s a false positive from your antivirus, especially if your own scans come up clean. However, it’s always wise to run a full scan with Windows Security or a reputable second-opinion scanner to rule out an actual infection.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →