Error 0x80070070 during a Windows 11 upgrade means the installer ran out of disk space, usually because the drive lacks enough free room for the new system files and the temporary files the setup process creates. The fix is to free up space on the drive where Windows is installed (typically C:) so that at least 20–25 GB is available, then restart the upgrade. Below is the background on why this happens, the exact steps to resolve it, and what to do if the problem persists.
Why the Error Appears
Windows 11 setup needs more free space than the final installed OS occupies. During the upgrade, the installer copies the new system files, keeps a copy of your current Windows installation for rollback (usually in the Windows.old folder), and stores temporary files for drivers and updates. If the drive fills up at any point during this process, setup aborts and returns error 0x80070070, which translates to “insufficient disk space.”
Microsoft’s official minimum for Windows 11 is 64 GB of storage, but that figure is for a clean install. An upgrade from Windows 10 typically requires 20–25 GB of free space, and more if you have many user profiles, large apps, or a small system partition. The error is most common on machines with 128 GB or 256 GB SSDs where the drive is already half full.
Check Your Current Free Space
Before doing anything else, confirm that disk space is actually the problem. Open File Explorer, click “This PC,” and look at the free space under your Windows drive (usually C:). If it shows less than 20 GB free, that is very likely the cause. You can also open Settings > System > Storage to see a breakdown of what is using space.
If you have more than 30 GB free and still get the error, the problem may be a corrupted download or a failing drive, but the steps below are still worth trying because the installer can be blocked by temporary files even when the main drive looks fine.
Free Up Space: What to Remove First
Work through these in order, from safest to most aggressive. You do not need to delete personal files—there is usually enough recoverable system clutter to make room.
- Run Disk Cleanup: Search for “Disk Cleanup” in the Start menu, select your C: drive, click “Clean up system files,” and check everything (especially “Windows Update Cleanup,” “Previous Windows installations,” and “Temporary files”). This can reclaim 5–15 GB on older systems.
- Remove temporary files via Settings: Go to Settings > System > Storage > Temporary files, select all categories, and delete. This catches files that Disk Cleanup misses.
- Uninstall unused apps: Settings > Apps > Installed apps, sort by size, and remove anything you no longer use. Games and video editors are often the largest.
- Move personal files to another drive: If you have a second internal drive or a USB drive, move large folders (Videos, Downloads, Documents) temporarily. You can move them back after the upgrade.
- Disable hibernation: Open Command Prompt as administrator and type
powercfg /h off. This deletes the hiberfil.sys file, which can be several GB. You can re-enable it later withpowercfg /h on. - Clear the SoftwareDistribution folder: Stop the Windows Update service (
net stop wuauserv), delete everything inside C:\Windows\SoftwareDistribution\Download, then restart the service (net start wuauserv). This removes cached update files that are no longer needed.
Expand the Drive If You Cannot Free Enough
If your system drive is genuinely small (e.g., a 64 GB eMMC drive in a budget laptop), freeing space may not be enough. Options include:
- Resize the partition: If you have unallocated space on the same physical disk, use Disk Management (right-click Start > Disk Management) to extend the C: partition. Right-click C:, choose “Extend Volume,” and follow the wizard. This only works if there is unallocated space immediately to the right of C:.
- Use a USB drive as temporary storage: Windows 11 setup does not officially support installing to an external drive, but you can move large files off the internal drive to a USB stick, upgrade, then move them back.
- Clean install instead: If you have a backup of your files, a clean install of Windows 11 uses significantly less disk space than an upgrade because it does not create a Windows.old folder. You can reinstall your apps afterward.
After Freeing Space: Retry the Upgrade
Once you have at least 25 GB free (more is better), try the upgrade again. If you were using Windows Update, go to Settings > Windows Update and click “Check for updates” again. If you were using the Installation Assistant or an ISO file, run it again—you do not need to re-download it.
If the error persists with plenty of free space, the issue may be a corrupted setup file. Download the Windows 11 Installation Assistant fresh from Microsoft’s official website, or use the Media Creation Tool to create a bootable USB and run setup.exe from that. This bypasses any corrupted files in the Windows Update cache.
Other Causes and Fixes to Try
While disk space is the official meaning of error 0x80070070, some users see it for other reasons. If you have more than 30 GB free and a fresh download still fails, consider:
- Antivirus interference: Temporarily disable third-party antivirus software during the upgrade. Windows Defender is fine to leave on, but some security suites lock files the installer needs.
- Corrupted system files: Run
sfc /scannowand thenDISM /Online /Cleanup-Image /RestoreHealthfrom an elevated Command Prompt. This repairs Windows system files that could be causing the installer to fail. - Check drive health: Open a Command Prompt and run
chkdsk C: /f. If the drive has bad sectors, the installer may fail even with free space. A failing drive needs replacement, not a Windows upgrade. - Disconnect unnecessary peripherals: Remove external drives, printers, and other USB devices. The installer scans all connected storage, and a nearly-full external drive can trigger the same error.
Frequently Asked Questions
How much free space do I actually need for Windows 11?
Microsoft says 64 GB of storage minimum, but for an upgrade you should have at least 20–25 GB free. If you have many apps or a small drive, aim for 30–40 GB to be safe. The installer also creates a Windows.old folder that can be several GB, which you can delete later via Disk Cleanup.
Can I delete the Windows.old folder to fix this?
No, because Windows.old is created during the upgrade, not before it. You cannot delete it before upgrading because it does not exist yet. You can, however, delete it after a successful upgrade to reclaim space, but it is not a pre-upgrade fix.
Will I lose my files if I run Disk Cleanup?
Disk Cleanup only removes system files, temporary files, and old Windows installations. It does not touch your documents, photos, or other personal files. The “Temporary files” option in Settings is also safe for personal data, though it will clear your recycle bin and downloads folder if you select those categories.
Why does the error still appear when I have 40 GB free?
If you have plenty of space, the error is likely not about raw capacity. Check if your system drive is full on a different partition, or if you have a small reserved partition. Also try a fresh download of the installer, disable third-party antivirus, and run sfc /scannow to rule out file corruption.
Is it safe to disable hibernation to free space?
Yes. Disabling hibernation removes the ability to use Fast Startup and the hibernate power option, but your files and settings are unaffected. You can re-enable it after the upgrade with the same command. If you use hibernation regularly, consider moving files instead and leaving hibernation on.
Can I upgrade with an external drive connected?
Yes, but the installer scans all drives for free space. If your external drive is full, it might trigger the error. Disconnect all external storage during the upgrade to avoid this, then reconnect it afterward.
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
- Install Extensions in Edge Canary Android
- How to Apply for a Church Credit Card
- How to Roll Back Microsoft Edge to an Earlier Version
- Fix Chrome Lagging or Slow Opening Issues
- Windows 11 26H2 AC3 Audio Crash KB5124010 Fix
- Convertible Bonds: Impact on Debt and Share Count