Running low on disk space is one of the most common — and most frustrating — issues Windows users face. Whether you are managing your own workstation or supporting a fleet of company laptops, the fix is rarely as simple as emptying the Recycle Bin. In this guide we walk through every practical method for reclaiming disk space on Windows 10 and Windows 11, starting with built-in tools and progressing to more advanced techniques.
Step 1: Check Where Space Is Going
Before deleting anything, you need to understand what is consuming storage. Windows offers a built-in breakdown:
- Open Settings → System → Storage
- Wait for the scan to complete (this can take 30–60 seconds)
- Review the category breakdown: Apps & features, Temporary files, System & reserved, etc.
This overview is a good starting point, but it does not show individual file sizes or deeply nested folders. For that level of detail, a dedicated disk space analyzer like WizTree or TreeSize is essential. See our tool comparison article for a detailed benchmark of the leading options.
Step 2: Enable Storage Sense
Storage Sense is a built-in Windows feature that automatically cleans up temporary files, Recycle Bin contents, and Downloads folder items on a schedule. To enable it:
- Go to Settings → System → Storage
- Toggle Storage Sense on
- Click Configure Storage Sense or run it now
- Set your preferences:
- Run Storage Sense: "Every month" or "During low disk space"
- Delete temporary files: recommended to keep enabled
- Recycle Bin: "Delete files older than 30 days"
- Downloads: "Delete files older than 60 days" (use with caution)
Storage Sense is a set-and-forget feature that prevents gradual accumulation. It will not recover massive amounts of space overnight, but it keeps things tidy over time.
Step 3: Run Disk Cleanup
The classic Disk Cleanup utility (cleanmgr.exe) has been part of Windows since the 1990s and remains one of the most effective built-in tools:
- Search for "Disk Cleanup" in the Start menu
- Select the drive to clean (usually C:)
- Check the categories you want to remove: Temporary files, Thumbnails, Delivery Optimization Files, etc.
- Click Clean up system files for additional options: Windows Update Cleanup, Previous Windows installations, Device driver packages
The "Windows Update Cleanup" and "Previous Windows installations" categories alone can free up 10–30 GB on machines that have received multiple feature updates. Note that removing previous Windows installations eliminates the ability to roll back to the prior version.
Step 4: Manage Installed Applications
Applications — especially games and development tools — are often the largest consumers of disk space:
- Open Settings → Apps → Installed apps
- Sort by Size (largest first)
- Identify applications you no longer use
- Uninstall them using the built-in uninstaller or the publisher's removal tool
Pay special attention to:
- Games: A single modern game can consume 50–150 GB
- Visual Studio / JetBrains IDEs: Development environments can accumulate 20+ GB in caches and SDK downloads
- Adobe Creative Cloud: Each app plus its cache can total 5–15 GB
- Unused trial software: Often forgotten but still consuming space
Step 5: Clear Temporary Files Manually
Windows and applications scatter temporary files across multiple locations. The most common directories to check:
%TEMP% C:\Windows\Temp C:\Users\<username>\AppData\Local\Temp
You can clean these via the command line:
del /q/f/s %TEMP%\* del /q/f/s C:\Windows\Temp\*
Be aware that some files in these directories may be locked by running processes. The del command will skip locked files automatically — this is normal and expected.
Step 6: Analyze with a Dedicated Disk Space Tool
After handling the obvious targets, the remaining space hogs are usually buried in unexpected locations: build caches, log files, forgotten database dumps, or orphaned backup files. This is where a visual disk analyzer becomes invaluable.
We recommend running a tool like WizTree (which scans a 1 TB NTFS volume in under 5 seconds) to get a complete picture. The treemap visualization makes it easy to spot anomalies — a 15 GB log file or a forgotten virtual machine image hiding three folders deep.
Once you identify the large items, you can decide whether to delete, archive, or move them to external storage. For detailed guidance on choosing the right analyzer for your needs, see our comparison of WizTree, TreeSize, and WinDirStat.
Step 7: Manage Windows Features
Windows includes optional features that may be consuming space unnecessarily:
- Open Settings → System → Optional features
- Review installed features and remove any you do not need (e.g., legacy media codecs, unused language packs)
- Also check Control Panel → Programs → Turn Windows features on or off
- Disable features like Hyper-V, Windows Sandbox, or WSL if you do not use them (each can consume 1–5 GB)
Step 8: Reduce Hibernation File Size
The hibernation file (hiberfil.sys) is typically 40–75% of your total RAM. On a machine with 32 GB of RAM, that is 12–24 GB consumed by a single hidden system file.
If you do not use hibernation or hybrid sleep:
powercfg /hibernate off
This immediately deletes hiberfil.sys and recovers the space. If you need hibernation but want to reduce the file size:
powercfg /hibernate /size 50
This sets the hibernation file to 50% of RAM instead of the default 75%.
Step 9: Compact the Operating System (Advanced)
Windows 10 and 11 support a "CompactOS" mode that compresses system files in place, saving 2–6 GB depending on the installation:
compact /compactos:always
This adds a slight CPU overhead during file access but is barely noticeable on modern SSDs. To check the current status:
compact /compactos:query
To revert: compact /compactos:never
Step 10: Establish an Ongoing Maintenance Routine
One-time cleanups are valuable, but storage problems recur unless you establish a routine:
- Monthly: Run Storage Sense or Disk Cleanup
- Quarterly: Review installed applications and uninstall unused software
- Quarterly: Run a disk space analyzer to check for unexpected growth
- After major updates: Check for "Previous Windows installations" cleanup opportunity
- Policy: Set disk space alert thresholds in your monitoring tool (warn at 85%, critical at 95%)
For organizations managing multiple machines, consider scheduling disk audits as part of your regular IT maintenance cycle. Our disk space audit service can help establish baselines and identify systemic issues across your fleet.
Need help implementing a storage optimization strategy for your organization? Contact our team for a tailored consultation.