Running low on disk space on Windows? Storage cleanup clears temporary files, system caches, and other non-essential data to reclaim usable space—often several gigabytes—without affecting personal files or installed apps. It’s safe, built-in, and works on Windows 10 and 11. No special tools or technical skills are required.

What You'll Need

  • A Windows 10 or 11 PC with administrator rights
  • At least 5–10 minutes of uninterrupted time
  • Optional: an external drive (if backing up before deleting large items like old backups)

Step-by-Step

  1. Open Storage Sense: - Press Win + I to open Settings. - Go to System > Storage (in Windows 11) or System > Storage > Storage sense (in Windows 10). - Toggle Storage sense to On if it’s off—this enables automatic cleanup, but we’ll do a manual run first.
  2. Run immediate cleanup: - On the same Storage page, click Temporary files (Windows 11) or Temporary files under Storage sense (Windows 10). - Wait while Windows scans your drives. This may take 30 seconds to several minutes depending on drive size and usage.
  3. Select items to delete: - After the scan, you’ll see categories like Temporary files, Recycle Bin, Downloaded program files, Windows update cleanup, Delivery optimization files, and Previous Windows installations (if present). - Check all boxes for items you’re comfortable removing. For most users, it’s safe to check everything except Backups or System error memory dump files unless you’re certain you don’t need them.
  4. Review and delete: - Below the list, you’ll see total space that will be freed (e.g., “12.4 GB”). Double-check the list to avoid deleting something important. - Click Remove files at the top. - Confirm with Delete if prompted by User Account Control (UAC).
  5. Clean up program cache manually (if needed): - Some large apps (like Microsoft Store apps) need manual cleanup: - Go to Settings > Apps > Installed apps. - Find a large app (sort by size), click the three dots (•••), and select Advanced options. - Click Reset (not uninstall) if the app is misbehaving or taking excessive space. This clears its cache without removing the app.
  6. Clear user-specific temp folders (optional, advanced): - Press Win + R, type %temp%, and hit Enter. - Select all files (Ctrl + A), press Shift + Delete to permanently delete them. Skip any files in use—click Yes to All when prompted. - Repeat for temp (type %temp% again), Prefetch (type prefetch), and Local emp (type local emp in Run).
  7. Enable automatic cleanup (recommended): - Back in Settings > System > Storage, ensure Storage sense is On. - Click Configure Storage sense or run it now. - Set it to run When my device is low on disk space or Daily, and check Run Storage sense daily under Free up space now.

Common Mistakes

  • Deleting backups or system images: Avoid selecting Previous Windows installations or Backup unless you’re sure you won’t need to roll back (e.g., after a problematic update). Once deleted, restoring requires re-downloading the OS.
  • Removing files while another program is using them: If you see errors in the temp folder step, restart your PC first—many temp files lock during active sessions.
  • Assuming cleanup = full disk space recovery: Storage cleanup targets only non-essential data. Large personal files (videos, photos, games) remain—use Settings > System > Storage > Storage sense > Manage storage to review them separately.
  • Ignoring drive-specific scans: If you have multiple drives (e.g., D: for games), Storage Sense may default to C:. In the Temporary files screen, click the dropdown at the top and verify the correct drive is selected before scanning.

Tips

  • Check OneDrive storage first: If you use OneDrive, files set to Files On-Demand may show as full-size on disk but only download when opened. Right-click a file > Free up space to remove local copies while keeping them in the cloud.
  • Use Disk Cleanup for legacy cleanup: Type disk cleanup in Start, run as administrator, and select drives. It includes Windows Update Cleanup and System error memory dump files—these can save 5–15 GB but require admin rights.
  • Sort installed apps by size: In Settings > Apps > Installed apps, click the Size column header. Uninstall apps over 1 GB you no longer use (e.g., old games, bloatware).
  • Disable hibernation (saves ~50% of RAM size): Open Command Prompt as admin, run powercfg /h off. Only do this if you don’t use hibernation (sleep is unaffected).
  • Move large folders to another drive: Cut/paste your Documents, Pictures, or Downloads folder to a secondary drive via Properties > Location.

Troubleshooting

  • Storage Sense won’t scan or show files: Restart your PC, then try Settings > System > Storage > Temporary files > Scan manually. If still stuck, run sfc /scannow in Command Prompt (admin) to repair system file corruption.
  • “Access denied” when deleting temp files: Close all open apps, restart, and retry the temp folder step. If errors persist, run chkdsk C: /f in Command Prompt (admin) to check disk errors—restart when prompted.
  • Space not freed after cleanup: Check for hidden system files like pagefile.sys or hiberfil.sys (they’re hidden by default). Use File Explorer > View > Hidden items and File Explorer > View > Options > Change folder and search options > View > Show hidden files.
  • Windows Update cleanup missing: In Windows 11, it may appear only after a major update. Go to Settings > Windows Update > Update history > Uninstall updates, then run cleanup again.
  • Third-party tools causing conflicts: Temporarily disable antivirus or disk-cleanup utilities (e.g., CCleaner) before running Windows’ native tools—some interfere with file locking.

Frequently Asked Questions

Does storage cleanup delete personal files like photos or documents?

No. Windows only removes temporary files, caches, system backups, and recycle bin contents. Your Documents, Photos, Downloads, and desktop files remain untouched unless you manually select them.

How often should I run storage cleanup?

Enable Storage Sense to run automatically weekly or when disk space drops below 20%. For manual cleanup, do it every 2–3 months or after major updates.

Can I recover files after cleanup?

Recycle Bin items can be restored until you empty the bin. Once permanently deleted (like temp files or update caches), they’re gone—make sure you don’t need them before confirming deletion.

Why is my disk still full after cleanup?

Storage cleanup doesn’t remove large personal files or installed games. Go to Settings > System > Storage > Manage storage, then review each category (e.g., Apps & features, Music, Video) to find and move or delete large files.

Does deleting previous Windows installations affect my current OS?

No—it only removes the old installation folder (e.g., Windows.old) from a recent upgrade. It’s safe to delete once you’ve verified your new OS works properly (ideally after 10 days, when Windows auto-deletes it anyway).

Is it safe to use third-party cleanup tools like BleachBit or Disk Cleanup Pro?

Windows’ built-in tools are safer and sufficient for most users. Third-party tools risk deleting critical files or introducing malware. Only use them if you’re experienced—and always back up first.