sodcalculator

10 Tech How-To

Fix Not Enough Disk Space Error on Windows 11

Guide 10-59823 · Updated · Step by step

If Windows 11 refuses to update because of a “not enough disk space” error, this guide walks you through the practical fixes. You’ll learn how to free up space safely, use built-in cleanup tools, and make sure future updates install without hitting the same wall. No third-party software is required.

What You’ll Need

  • An administrator account on your PC
  • At least 10–15 minutes of uninterrupted time
  • A stable internet connection (for some steps)
  • Optional: an external drive or USB stick if you want to move large files

Step-by-Step

  1. Check how much space you actually have. Open Settings (Win + I) → System → Storage. Look at the bar showing your C: drive. Windows 11 updates typically need between 20–30 GB of free space, depending on the version. If you have less than that, proceed with the steps below.
  2. Run Disk Cleanup on system files. Type Disk Cleanup in the Start menu and open it. Select your C: drive, then click Clean up system files. Check the boxes for Windows Update Cleanup, Delivery Optimization Files, and Temporary files. Click OK and confirm deletion. This often frees several gigabytes left behind by previous updates.
  3. Use Storage Sense to automate cleanup. Go to Settings → System → Storage and turn on Storage Sense. Click into it, set it to run when disk space is low, and enable cleanup of temporary files and files in the Recycle Bin older than 30 days. Then click Clean now to run it immediately.
  4. Clear the Windows Update cache manually. Open Command Prompt as administrator (right-click Start → Terminal (Admin)). Type the following commands one at a time, pressing Enter after each:
    net stop wuauserv
    net stop bits
    rd /s /q C:\Windows\SoftwareDistribution
    net start wuauserv
    net start bits
    This deletes the downloaded update files and forces Windows to start fresh. Your update history is not affected.
  5. Uninstall unnecessary apps and games. Go to Settings → Apps → Installed apps. Sort by size (click the Sort by dropdown). Uninstall anything you no longer use, especially large games, video editors, or duplicate utilities. Pay attention to apps that store data in your user folder — uninstalling them frees space there too.
  6. Move personal files to another drive or cloud. If you have a second drive, move your Downloads, Documents, Pictures, and Videos folders there. Right-click the folder in File Explorer → Properties → Location → Move. Alternatively, upload large files to OneDrive or another cloud service and set them to Free up space (files become online-only).
  7. Disable hibernation if you don’t use it. Open Command Prompt as administrator and type powercfg /h off. This removes the hiberfil.sys file, which can be several gigabytes. Your PC will still sleep normally; only hibernation is disabled.
  8. Run the Windows 11 Installation Assistant as a fallback. If the normal Windows Update still fails, download the Windows 11 Installation Assistant from Microsoft’s official website. Run it — it performs an in-place upgrade that often succeeds where Windows Update fails, and it requires less free space because it streams files more efficiently.
  9. Retry the update. After freeing space, go back to Settings → Windows Update and click Check for updates. If it still fails, restart your PC and try again — a reboot clears temporary locks on files.

Common Mistakes

  • Deleting the SoftwareDistribution folder while services are running. If you skip stopping wuauserv and bits, the folder is locked and the command fails. Always stop the services first.
  • Using third-party “cleaner” tools. Many of these remove registry entries or system files that Windows needs, causing more problems than they solve. Stick to built-in tools.
  • Moving system folders to a drive that’s also full. If your D: drive has less free space than C:, moving folders there won’t help. Check all drives first.
  • Disabling hibernation without knowing you use it. If you regularly use hibernation to save your session, this step will remove that feature. Only do it if you never hibernate.
  • Ignoring the Recycle Bin. Files you deleted weeks ago still occupy space until the bin is emptied. Empty it before starting the update.

Tips

  • Keep at least 20 GB free at all times. Windows 11 runs better with breathing room, and updates won’t fail as often.
  • Schedule updates for when you’re not using the PC. Set active hours in Settings → Windows Update → Advanced options so updates install overnight.
  • Use external storage for media. Movies, photos, and music collections are the easiest things to move off your main drive.
  • Check for large files with the built-in storage view. In Settings → Storage, click on any category to see the biggest files inside it.
  • After a successful update, run Disk Cleanup again. Windows often leaves behind old system files after an upgrade; cleaning them reclaims several gigabytes.

Troubleshooting

If you’ve freed space and the update still fails:

  • Check the error code. Note the exact error code shown (e.g., 0x80070070). Search for that code plus “Windows 11” to find specific fixes. Common ones relate to corrupted update components, which the cache-clearing step above usually resolves.
  • Run the Windows Update troubleshooter. Go to Settings → System → Troubleshoot → Other troubleshooters → Windows Update → Run. It will automatically detect and fix common issues.
  • Use DISM and SFC to repair system files. Open Command Prompt as administrator and run:
    DISM /Online /Cleanup-Image /RestoreHealth
    Then:
    sfc /scannow
    Restart and try the update again.
  • Check if your drive is full at the file-system level. Open This PC and look at the C: drive properties. If the bar is completely red, you may need to free more space than you think — some updates require 30+ GB temporarily.
  • Perform a clean boot. Third-party antivirus or background apps can interfere with updates. Type msconfig, go to the Services tab, check Hide all Microsoft services, then click Disable all. Restart and try the update. Re-enable services afterward.
  • As a last resort, use the Media Creation Tool. Download the Windows 11 Media Creation Tool from Microsoft, choose Upgrade this PC now, and follow the prompts. This performs a full in-place upgrade and often succeeds where Windows Update fails, even with limited space.

Frequently Asked Questions

How much free space does Windows 11 actually need for an update?
Typically 20–30 GB for feature updates (like version 23H2 or 24H2) and 5–10 GB for monthly security patches. The exact amount varies by update, but keeping 30 GB free is a safe target.

Will deleting the SoftwareDistribution folder break my Windows Update?
No. It only contains downloaded update files. Windows will re-download them on the next check. Your update history and installed updates are unaffected.

Can I move installed apps to another drive to free space?
Some apps, especially from the Microsoft Store, can be moved via Settings → Apps → Installed apps → click the app → Move. Traditional desktop apps usually cannot be moved this way; uninstall and reinstall them to the other drive instead.

Is it safe to disable hibernation?
Yes, if you don’t use the hibernation feature. Your PC will still sleep and wake normally. You lose the ability to save your exact session state to disk, but you can re-enable it later with powercfg /h on.

Why does the update fail even when I have 30 GB free?
The error can also be caused by corrupted update files, a failing drive, or third-party software locking system files. Follow the troubleshooting steps above — clearing the cache and running DISM/SFC usually resolves it.

Will I lose my files if I use the Windows 11 Installation Assistant?
No. It performs an in-place upgrade that keeps your files, apps, and settings intact. However, it’s always wise to back up important data before any major system change.

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 →