Free Up Disk Space Before Windows 11 Upgrade
Upgrading to Windows 11 requires enough free disk space for the installation files, temporary data, and a rollback option in case something goes wrong. This guide walks you through safe, effective ways to clear space before you start the upgrade, so you can avoid the dreaded “not enough space� error and keep your system running smoothly.
What You’ll Need
- Administrator access to your Windows 10 PC
- At least 20–30 minutes of time (depending on how much you need to clean)
- An external drive or cloud storage if you plan to move large files
- A stable internet connection for downloading the upgrade (if using Windows Update)
Step-by-Step
- Check your current free space. Open File Explorer, right-click on your main drive (usually C:), and select Properties. You’ll see how much free space you have. Windows 11 needs at least 64 GB of storage, but for a smooth upgrade, aim for at least 20–30 GB free.
- Run Disk Cleanup. Type “Disk Cleanup� in the Start menu and open it. Select your main drive. Click “Clean up system files� and let it scan. Check all categories, especially “Windows Update Cleanup� and “Temporary files.� Click OK and confirm deletion.
- Use Storage Sense (if available). Go to Settings > System > Storage. Turn on Storage Sense and click “Configure Storage Sense or run it now.� Set it to run daily, and choose to delete temporary files that your apps aren’t using. Click “Clean now� to free up space immediately.
- Uninstall unnecessary apps. Go to Settings > Apps > Apps & features. Sort by size (click the “Size� column header). Review the largest apps and uninstall any you no longer use. Pay special attention to games, trial software, and old productivity suites.
- Move personal files to an external drive or cloud. Large files like videos, photos, and documents can be moved to an external hard drive or a cloud service like OneDrive or Google Drive. Right-click on the file/folder, select “Cut,� then paste it to the external drive. For cloud, upload via the file’s right-click menu or the cloud app.
- Delete temporary files manually. Press Win+R, type
%temp%and hit Enter. Select all files (Ctrl+A) and delete them. Skip any that are in use. Also checkC:\Windows\TempandC:\Users\YourName\AppData\Local\Temp. - Empty the Recycle Bin. Right-click the Recycle Bin icon on your desktop and select “Empty Recycle Bin.� Confirm if prompted.
- Disable hibernation (if you don’t use it). Open Command Prompt as administrator (right-click Start > Command Prompt (Admin) or Windows PowerShell (Admin)). Type
powercfg /h offand press Enter. This removes the hiberfil.sys file, which can be several GB. Note: this disables Fast Startup and hibernation; you can re-enable later withpowercfg /h on. - Remove old Windows installation files. If you’ve previously upgraded Windows, you might have a Windows.old folder. Use Disk Cleanup and select “Previous Windows installation(s)� to remove it. This can free up 10–20 GB.
- Run a disk defragmenter (optional). If you have a traditional hard drive, defragmenting can help, but it doesn’t free space. Skip this if you have an SSD.
- Recheck your free space. After all steps, check your drive again. If you’re still low, consider moving more files or using a tool like Treesize to find large files.
Common Mistakes
- Deleting system files you shouldn’t. Avoid deleting anything in C:\Windows unless you’re sure it’s safe. Stick to temp folders and app uninstalls.
- Not cleaning system files in Disk Cleanup. Many users skip the “Clean up system files� button, which is where the big wins are (Windows Update leftovers, old drivers).
- Disabling hibernation without knowing the consequences. This removes the ability to use Fast Startup and hibernate. If you rely on those, don’t do this step.
- Moving files to cloud without syncing. If you move files to a cloud folder that’s set to “online-only,� they may still take up space locally until you right-click and choose “Free up space.�
- Forgetting to empty the Recycle Bin. Deleted files still occupy space until you empty it.
Tips
- Use the Windows 11 Upgrade Assistant. Microsoft’s tool can check your PC’s compatibility and also help with the upgrade. It may also give you specific guidance on storage.
- Keep at least 20 GB free after the upgrade. Windows needs room for updates and temporary files. If you’re tight, consider moving more data after upgrading.
- Use external storage for games. Games are often huge. Moving them to an external drive or reinstalling them later can free up a lot of space.
- Check for large files with a free tool. WinDirStat or TreeSize Free can show you exactly what’s taking up space. They’re safe to use.
- Clean your browser cache. Browsers can accumulate GB of temporary files. Clear them via your browser’s settings.
Troubleshooting
If you still don’t have enough space after cleaning:
- Run Disk Cleanup again, but this time click “Clean up system files� and select “Windows Update Cleanup� and “Delivery Optimization Files.�
- Use the Settings > System > Storage > Temporary files to delete more.
- Consider temporarily moving large media files to an external drive and moving them back after the upgrade.
- If you have a second internal drive, you can move apps to it via Settings > Apps > Apps & features > Move.
If the upgrade fails due to space even after cleaning:
- Restart your PC and try again. Sometimes temporary files from the failed attempt are left behind.
- Use the Media Creation Tool to create a bootable USB drive and run the upgrade from there. It sometimes handles space differently.
- Check if you have a pagefile.sys or hiberfil.sys that’s huge. You can move the pagefile to another drive temporarily (Settings > System > About > Advanced system settings > Performance Settings > Advanced > Virtual memory).
If you accidentally deleted something important:
- Check the Recycle Bin first. If you emptied it, you may need to use a file recovery tool, but stop using the drive immediately to avoid overwriting.
Frequently Asked Questions
How much free space do I actually need for Windows 11?
Microsoft recommends at least 64 GB of storage, but for the upgrade process itself, you’ll need about 20–30 GB free to accommodate the installation files and temporary data.
Will I lose my files during the upgrade?
No, the upgrade preserves your personal files and installed apps, but it’s always wise to back up important data before any major OS update.
Can I use an external drive to temporarily free up space?
Yes. Move large files to an external drive, then move them back after the upgrade. Just ensure the external drive is formatted and has enough space.
Is it safe to delete the Windows.old folder?
Yes, once you’ve confirmed your system is working properly after the upgrade. It contains the previous Windows installation and can be removed to free up space.
What if I have an SSD with limited space?
Focus on removing large apps and games, and consider moving media files to cloud or external storage. SSDs need a bit of free space for performance, so aim for at least 15% free.
Can I upgrade with less than 20 GB free?
It’s risky. The upgrade may fail or leave your system unstable. Try to free up as much as possible, and if you’re still under 20 GB, consider expanding your storage or doing a clean install instead.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.