Why Your Windows 10 Drive Feels Cramped (and Why You Don't Need to Delete Files)
That low disk space warning is frustrating, especially when you don't want to lose any of your precious photos, documents, or apps. The good news? Windows 10 includes several built-in tools that can clear up significant space without you having to manually delete a single file. In this guide, we'll show you how to free up disk space without deleting files using features like Storage Sense, Disk Cleanup, and compression.
1. Use Storage Sense to Automatically Clear Space
Storage Sense is a Windows 10 feature that automatically removes temporary files and content from your Recycle Bin after a set period. Here's how to enable and configure it:
- Go to Settings > System > Storage.
- Toggle Storage Sense to On.
- Click Configure Storage Sense or run it now.
- Set how often you want it to run (Every day, week, month, or during low free disk space).
- Under Temporary Files, choose to delete files in the Recycle Bin after a set number of days and remove files from the Downloads folder older than a chosen timeframe (if you don't need them).
- Under Locally-available cloud content, you can set files to become online-only if they haven't been opened in a while (this frees space without deleting).
- Click Clean Now to run it immediately.
Storage Sense is a set-and-forget solution that keeps your drive tidy.
2. Run Disk Cleanup – A Deep Clean Without Deletion
Disk Cleanup is a classic tool that removes system junk files, including temporary files, thumbnails, and previous Windows installations. To access it:
- Type Disk Cleanup in the Start menu and open the app.
- Select the drive you want to clean (usually C:).
- Wait for the scan to complete.
- Check the boxes for categories you want to clean (e.g., Temporary files, Thumbnails, Recycle Bin).
- Click Clean up system files for additional options like Windows Update Cleanup (can free several GBs) and Previous Windows installations (if you upgraded from an older version).
- Select what to remove and click OK.
Disk Cleanup never touches your personal files—only system caches and temporary data.
3. Compress the Operating System with CompactOS
Windows 10 includes a feature called CompactOS that compresses system files, reducing space usage by 1.5-2.5 GB on average. It does not affect your documents or installed apps. To enable it:
- Open Command Prompt as Administrator (right-click Start > Command Prompt (Admin) or Windows PowerShell (Admin)).
- Type
compact /compactos:queryand press Enter to see if it's already enabled. - If not, type
compact /compactos:alwaysand press Enter. - Wait for the compression to finish. This may take a few minutes.
Your system will run slightly slower on very old hardware (with HDDs), but for most users, the performance impact is negligible.
4. Reduce the Size of the Recycle Bin
The Recycle Bin reserves a percentage of your drive for deleted files. You can lower this without deleting anything currently inside. Right-click the Recycle Bin on your desktop, select Properties, and choose a smaller size (e.g., 1% instead of 10%). This frees reserved space immediately.
5. Move Personal Folders to Another Drive
If you have a second drive (or an external one), you can relocate your user folders (Documents, Pictures, Music, Videos) to that drive. This doesn't delete any files; it just changes their location. Here's how:
- Open File Explorer and navigate to This PC.
- Right-click a folder like Documents and choose Properties.
- Go to the Location tab.
- Click Move and select a folder on another drive (or create a new one).
- Click Apply and confirm you want to move all files.
Repeat for each user folder. Your files remain intact and accessible from the new location.
6. Disable Hibernation to Reclaim Hiberfil.sys
The hibernation file (hiberfil.sys) can be several GB in size. If you don't use hibernation (or prefer sleep mode), disabling it frees that space. Open Command Prompt as Administrator and type:
powercfg /hibernate off
Press Enter. The file is deleted immediately. Note: This disables the Hibernate option in the Power menu; you can still use Sleep.
7. Adjust Virtual Memory Size
Virtual memory (pagefile.sys) uses a portion of your hard drive as RAM. You can shrink it if you have enough physical RAM, but be cautious. Go to Settings > System > About > Advanced system settings. Under Performance, click Settings > Advanced > Virtual memory > Change. Uncheck Automatically manage, select a custom size, and reduce the initial and maximum sizes (e.g., set both to 1024 MB if you have 8+ GB RAM). Click Set and restart. This frees space but may slow the system if you run out of RAM.
8. Use OneDrive Files On-Demand
If you use OneDrive, the Files On-Demand feature lets you see all your files in File Explorer without downloading them to your PC. They become online-only, saving local space. To enable:
- Right-click the OneDrive icon in the taskbar and select Settings.
- On the Settings tab, check Save space and download files as you use them.
- When you open an online-only file, it downloads automatically. You can later right-click and choose Free up space to revert it to online-only.
This doesn't delete your files; it just stores them in the cloud until needed.
9. Clean Temporary Files Manually
Even after Disk Cleanup, some temporary files may remain. You can safely delete the contents of these folders (they're not your personal files):
- Press Win + R, type
%temp%, and press Enter. Delete everything inside (skip files in use). - Similarly, type
temp(without %) in Run and delete contents. - Also clean
Prefetchfolder (typeprefetchin Run) – optional, but safe.
10. Turn Off System Restore (or Reduce Its Size)
System Restore can use up to 15% of your drive. You can lower the usage or turn it off entirely (though this removes restore points). Go to Control Panel > System > System Protection. Select your drive, click Configure. Under Disk Space Usage, reduce the max usage percentage (e.g., 5%). To disable, select Disable system protection. Note: This does not delete personal files, but you lose the ability to roll back system changes.
FAQ
1. Will compressing the OS affect my files?
No. CompactOS only compresses Windows system files. Your documents, photos, and installed apps remain unchanged and fully functional.
2. Can I undo these changes if I want the space back?
Yes. Most changes are reversible. For example, you can re-enable hibernation (powercfg /hibernate on) or increase virtual memory. Storage Sense and Disk Cleanup deletions are permanent for temporary files, but those files are not your personal data.
3. How much space can I realistically expect to free up?
With a combination of Disk Cleanup (especially Windows Update Cleanup), CompactOS, and disabled hibernation, you can often reclaim 5–20 GB or more. The exact amount depends on your system's history and usage.
4. Is it safe to delete the contents of the Temp folder?
Yes. The Temp folder contains temporary files created by apps and Windows. If a file is in use, Windows will skip it. Deleting its contents is safe and frees space.
Key Takeaways
- Use Storage Sense for automatic, scheduled cleanup of temporary files and Recycle Bin.
- Run Disk Cleanup including system files to remove old Windows updates and installers.
- Enable CompactOS to compress system files and reclaim 1.5–2.5 GB.
- Disable Hibernation if you don't use it to delete the hiberfil.sys file.
- Use OneDrive Files On-Demand to keep files in the cloud without deleting them locally.
- Move personal folders to another drive to free up space on your main drive.
- Reduce virtual memory or system restore size only if you understand the trade-offs.
















