Ad Space — Top Banner

0x80070010

Microsoft Windows Update

Severity: Moderate

What Does This Error Mean?

Windows Update error 0x80070010 means Windows tried to delete a temporary update folder and could not remove it. During installation, Windows Update creates and then cleans up temporary directories. If another process has a lock on that folder — or if the folder contains files that cannot be deleted — the cleanup fails and the update errors out. This is usually a quick fix involving clearing the update cache and restarting the update service.

Affected Models

  • Windows 10
  • Windows 11
  • Windows 8.1

Common Causes

  • Another process (antivirus, backup software, or Windows Defender) has a lock on files inside the update temp directory
  • The Windows Update cache in SoftwareDistribution folder is corrupted and contains undeletable files
  • A previous update attempt failed partway through and left files in a state that cannot be cleaned up
  • File system permissions on the temp directory were changed and Windows Update no longer has the rights to delete them
  • The drive is low on space, causing the update cleanup process to fail

How to Fix It

  1. Stop the Windows Update service before clearing the cache. Open Administrator Command Prompt and run: net stop wuauserv — then run: net stop bits — wait for confirmation that both services stopped.

    You must stop these services before touching their files. If they are running, they will keep a lock on the very files you are trying to delete.

  2. Delete the Windows Update cache. In Administrator Command Prompt run: rd /s /q C:\Windows\SoftwareDistribution — this removes the entire update cache folder. Windows will recreate it automatically.

    If the delete fails because some files are still locked, restart into Safe Mode and try again. In Safe Mode, fewer background processes run.

  3. Restart the Windows Update services. In Administrator Command Prompt: net start wuauserv — then: net start bits — then restart your PC.

    After restarting, Windows recreates the SoftwareDistribution folder fresh and the update cache is clean.

  4. Run the Windows Update Troubleshooter. Go to Settings > System > Troubleshoot > Other troubleshooters and click Run next to Windows Update. Let it detect and fix any service or permission issues.

    The troubleshooter often catches permission problems on temporary folders that manual steps miss.

  5. Check available disk space. Go to File Explorer and check the free space on your C: drive. Windows Update needs at least 5-10 GB of free space. If the drive is nearly full, delete unneeded files or use Disk Cleanup (search 'Disk Cleanup' in Start).

    Updates cannot clean up temp folders properly when the disk has no room to perform the file move operations involved in cleanup.

When to Call a Professional

This error is almost always fixable through the steps below without outside help. If the SoftwareDistribution folder contains undeletable files even in Safe Mode, a disk repair with chkdsk may be needed to fix file system corruption.

Frequently Asked Questions

Will deleting the SoftwareDistribution folder delete my installed updates?

No. The SoftwareDistribution folder is a download and staging cache, not a record of what is installed. Deleting it removes downloaded but not yet installed update files, plus temporary cleanup artifacts. Windows tracks what is actually installed in a separate location (the component store). After deleting the folder and restarting, Windows will simply re-download whatever it needs on the next update check.

Could antivirus software be blocking the folder deletion?

Yes, very commonly. Antivirus real-time protection scans files as they are accessed, which creates temporary locks. If antivirus is scanning an update file at the exact moment Windows Update tries to delete the folder, the delete will fail. Temporarily pausing real-time protection before running updates can prevent this. Always re-enable protection after updates complete.

What if the SoftwareDistribution folder cannot be deleted even when the services are stopped?

Boot into Safe Mode (hold Shift while clicking Restart, then go to Troubleshoot > Advanced Options > Startup Settings > Restart > press 4). In Safe Mode, very few services run, so the folder should be deletable. Alternatively, run chkdsk /f /r from an Administrator Command Prompt and restart — this repairs file system errors that can make files undeletable.