sodcalculator

10 Tech How-To

Fix Error 0x80070070 in Windows 10: Full Guide

Guide 10-35572 · Updated · Step by step

Error 0x80070070 in Windows 10 means your system ran out of disk space during an update, installation, or app download. The fix is to free up storage space and then retry the operation; if that doesn’t work, you may need to clean system files, move apps to another drive, or use the Update Troubleshooter.

What Causes Error 0x80070070?

Windows needs a certain amount of free space to download, extract, and install updates or applications. When the disk fills up, the operation fails and Windows returns error 0x80070070. The message often says “Not enough space on the disk” or “0x80070070 – 0x50011.”

Common triggers include:

  • Running a Windows feature update (like version 22H2) that requires several gigabytes of temporary space.
  • Installing large apps from the Microsoft Store or a standalone installer.
  • Having a small system drive (e.g., a 32GB tablet or an old 128GB SSD) with little free space.
  • System restore points, hibernation file, or pagefile consuming significant space.
  • Windows Update cache (SoftwareDistribution folder) growing large.

How to Check Your Free Space

Before fixing, confirm that disk space is actually the problem. Open File Explorer, click “This PC,” and look at the drive where Windows is installed (usually C:). If the free space is less than 10-15 GB, that’s likely the culprit.

You can also use the Settings app: go to System > Storage to see a breakdown of what’s using space. This view shows temporary files, apps, videos, and other categories.

Step-by-Step Fixes

Try these in order, from least disruptive to most thorough.

1. Free Up Space Manually

  1. Empty the Recycle Bin: right-click the bin and select “Empty Recycle Bin.”
  2. Delete temporary files: press Win + R, type %temp%, and delete all files in that folder (skip any that are in use).
  3. Uninstall unused apps: go to Settings > Apps > Apps & features, sort by size, and remove anything you no longer need.
  4. Move personal files (videos, photos, downloads) to an external drive or cloud storage.

2. Use Storage Sense

Windows 10 includes Storage Sense, which can automatically clean up temporary files. Go to Settings > System > Storage, turn on Storage Sense, and click “Configure Storage Sense or run it now.” Choose to delete temporary files that apps aren’t using and files in the Downloads folder older than a set period.

3. Run Disk Cleanup

The classic tool still works well. Type “Disk Cleanup” in the Start menu, select your system drive, and let it scan. Click “Clean up system files” to include Windows Update leftovers, previous Windows installations, and upgrade logs. Check all categories and delete them.

4. Move Apps to Another Drive

If you have a second hard drive or SSD, you can move large apps to it. Go to Settings > Apps > Apps & features, click an app, and select “Move” if the option is available. Choose the target drive and confirm. This frees space on C: without uninstalling.

5. Disable Hibernation (if you don’t use it)

The hibernation file (hiberfil.sys) can be several gigabytes. If you never use hibernation, open Command Prompt as administrator and run powercfg /h off. This removes the file and prevents it from being recreated until you turn it back on.

6. Run the Windows Update Troubleshooter

If the error occurs during an update, the built-in troubleshooter can fix common issues. Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters, select “Windows Update,” and run it. It will check for problems and apply fixes automatically.

7. Reset the Windows Update Cache

Sometimes the update cache gets corrupted or bloated. Stop the Windows Update service, delete the SoftwareDistribution folder, and restart the service. In an elevated Command Prompt:

  1. Type net stop wuauserv and press Enter.
  2. Type net stop bits and press Enter.
  3. Open File Explorer and delete the contents of C:\Windows\SoftwareDistribution\Download.
  4. Type net start wuauserv and net start bits.

8. Expand the System Drive

If you’re still short on space, you can use a partition manager to shrink another partition and extend C:. This is more advanced and carries risk. Back up your data first, and consider using the built-in Disk Management tool: right-click the Start button, select “Disk Management,” right-click a partition next to C:, choose “Shrink Volume,” then right-click C: and choose “Extend Volume.” Only do this if you understand the process.

Why Windows Needs So Much Free Space

Windows updates are not just small patches. Feature updates replace core system files, and Windows creates a backup of the previous version so you can roll back if something goes wrong. This can require 20-30 GB of free space. Even routine monthly updates need several gigabytes for temporary files. If your drive is nearly full, the update process fails with 0x80070070.

Additionally, apps from the Microsoft Store download as packages that are unpacked and installed, which can temporarily double the space an app occupies. A game that takes 50 GB may need 100 GB free during installation.

Preventing Future Occurrences

After fixing the error, take steps to avoid it happening again:

  • Keep at least 15-20 GB free on the system drive at all times.
  • Regularly run Disk Cleanup or Storage Sense.
  • Move large files (videos, ISO images) to another drive.
  • Set your Downloads folder to a different drive if your main drive is small.
  • Consider upgrading to a larger SSD if you consistently run out of space.

What If the Error Persists?

If you’ve freed up space and the error still appears, the issue might be a corrupted update component or a failing drive. Try the following:

  • Run sfc /scannow and DISM /Online /Cleanup-Image /RestoreHealth in an elevated Command Prompt to repair system files.
  • Check the drive’s health with chkdsk C: /f (you may need to restart).
  • Use the Media Creation Tool to perform an in-place upgrade, which reinstalls Windows while keeping your files and apps.
  • If all else fails, back up your data and perform a clean installation of Windows 10.

Frequently Asked Questions

How much free space do I need to avoid error 0x80070070?

For regular updates, at least 10-15 GB is usually enough. For feature updates, Microsoft recommends 20-30 GB. The exact amount depends on the size of the update and your system configuration.

Can I move the Windows Update cache to another drive?

Yes, but it’s not recommended. You can change the location of the SoftwareDistribution folder using symbolic links, but this can break future updates and is not a supported configuration. It’s safer to free up space on the system drive.

Does error 0x80070070 affect Windows 11 too?

Yes, Windows 11 can also show this error for the same reason: insufficient disk space. The fixes are essentially the same, though the Settings menus may look slightly different.

Will uninstalling apps delete my personal files?

No, uninstalling an app removes the program and its associated data, but it does not delete your documents, photos, or other personal files unless the app specifically stores them in its own folder and you choose to delete them during uninstall.

Is it safe to delete the Windows.old folder?

Yes, if you no longer need to roll back to a previous Windows version. Windows automatically deletes it after 10 days, but you can remove it manually via Disk Cleanup (select “Previous Windows installation(s)”). This can free up several gigabytes.

Can I use an external drive to install Windows updates?

No, Windows updates must be installed on the system drive. You cannot redirect the update installation to an external drive. You can, however, use an external drive to temporarily store files to free up space.

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 →