A nearly full hard drive affects everything — slower boot times, sluggish applications, failed Windows updates, and even system instability. The good news is that Windows includes several built-in tools for managing storage, and there are excellent third-party analyzers that make the process even faster.
This guide covers eight methods for reclaiming disk space, organized from simplest to most advanced. The first five steps require no technical background. The later sections cover PowerShell commands and specialized tools for users who want more control.
Step 1: Run Windows Disk Cleanup
Windows has included a Disk Cleanup utility for decades, and it remains one of the most effective first steps for reclaiming space.
How to run it
- Press
Win + Sand type Disk Cleanup - Select your system drive (usually C:)
- Check the categories you want to remove: Temporary files, Thumbnails, Recycle Bin, Delivery Optimization Files
- Click Clean up system files for additional options including Windows Update Cleanup and previous Windows installations
- Select additional categories and click OK
What gets cleaned
- Windows Update Cleanup — old update files that are no longer needed (often 1–10 GB)
- Previous Windows installations — the Windows.old folder from major updates (can be 10–30 GB)
- Temporary files — installer leftovers, crash dumps, and log files
- Thumbnails — cached preview images for folders (rebuilt automatically)
- Delivery Optimization Files — Windows Update peer-to-peer sharing cache
Step 2: Use Storage Sense (Windows 10/11)
Storage Sense is a modern replacement for Disk Cleanup that can run automatically on a schedule.
How to enable it
- Windows 11: Settings → System → Storage → Storage Sense → toggle On
- Windows 10: Settings → System → Storage → toggle Storage Sense On
Recommended configuration
- Run Storage Sense: Every month
- Delete temporary files: Enabled
- Delete files in Recycle Bin older than: 30 days
- Delete files in Downloads older than: 60 days (review first)
- Locally available cloud content: Make online-only if not opened for 30 days
Storage Sense handles the ongoing maintenance automatically once configured, so you do not need to remember to run Disk Cleanup manually.
Step 3: Remove Temporary Files Manually
While Disk Cleanup and Storage Sense handle most temporary files, some locations require manual attention.
Key temporary file locations
%TEMP%— user temporary files (pressWin + R, type%temp%, press Enter)C:\Windows\Temp— system temporary filesC:\Users\[Name]\AppData\Local\Temp— same as %TEMP% for most usersC:\Windows\SoftwareDistribution\Download— Windows Update download cache
Select all files in each folder (Ctrl + A) and delete. If Windows says a file is in use, skip it — that is normal. The files that cannot be deleted are currently needed by running processes.
Browser caches
Web browsers store cached pages, images, and scripts locally. Clearing browser caches can often recover 1–5 GB:
- Chrome: Settings → Privacy and Security → Clear Browsing Data → Cached images and files
- Firefox: Settings → Privacy and Security → Cached Web Content → Clear
- Edge: Settings → Privacy, search, and services → Clear browsing data
Step 4: Uninstall Unused Applications
Applications you no longer use are among the easiest storage wins.
Using Windows Settings
- Open Settings → Apps → Installed apps (Windows 11) or Apps and features (Windows 10)
- Sort by Size to see the largest applications first
- Click the three-dot menu (or the app name) and select Uninstall
Common space-consuming applications to review
- Games — modern games often require 30–100 GB each
- Microsoft Office — older versions alongside newer ones
- Development tools — Visual Studio can use 10–50 GB with workloads
- Trial software — evaluation versions that expired months ago
- Bundled bloatware — manufacturer-installed apps you never use
Step 5: Analyze Your Disk with a Dedicated Tool
Sometimes the built-in Windows tools do not provide enough detail. You know you are running low on space, but you cannot figure out exactly what is consuming it. This is where disk space analyzers become valuable.
These tools scan your entire drive and create a visual map of exactly where your storage is going — down to individual files and folders. They help you find large files, forgotten downloads, duplicate content, and bloated application data that Windows settings do not surface.
Recommended disk space analyzers
- WizTree — extremely fast disk space analyzer that reads the NTFS Master File Table (MFT) directly, making it significantly faster than tools that scan files individually. Displays results as a treemap and a sortable file list. Free for personal use. Supports Windows 7 through Windows 11.
- WinDirStat — the classic open-source disk usage visualizer for Windows. Uses a colorful treemap similar to WizTree but scans files individually, making it slower on large drives. Fully free and well-established since 2003.
- TreeSize Free — from JAM Software, shows disk usage in a tree structure similar to Windows Explorer. Available in free and professional editions. The free version covers most needs.
- SpaceSniffer — portable disk analyzer with a zoomable treemap. No installation required — runs directly from the downloaded file. Useful for quick scans on machines where you cannot install software.
How to use a disk analyzer effectively
- Run the analyzer as Administrator for full access to all directories
- Scan your entire C: drive first to get a complete picture
- Look for unexpectedly large folders — common culprits include AppData, Windows\Installer, and ProgramData
- Sort files by size to find the largest individual items
- Do not delete files in the Windows or System32 directories unless you know exactly what they are
Step 6: Manage Windows-Specific Storage Hogs
Several Windows features and system components can consume significant disk space without obvious indicators in Settings.
Windows Update cache
Windows stores downloaded updates in C:\Windows\SoftwareDistribution. If updates failed or you have not restarted in a while, this folder can grow substantially. The safest way to clear it:
- Open Command Prompt as Administrator
- Run
net stop wuauserv - Delete contents of
C:\Windows\SoftwareDistribution\Download - Run
net start wuauserv
Hibernation file
The hibernation file (hiberfil.sys) is typically 40–75% of your RAM size. On a PC with 16 GB RAM, that is 6–12 GB. If you never use hibernation or Sleep mode:
powercfg /hibernate off
This removes hiberfil.sys immediately and frees the space.
System Restore points
System Restore can reserve 5–10% of your drive. To manage it:
- Search for "Create a restore point" in the Start menu
- Select your system drive → Configure
- Adjust the maximum disk space usage slider
- Optionally click "Delete" to remove all existing restore points (only if your system is stable)
Windows Installer cache
The C:\Windows\Installer directory contains installation data for programs installed via MSI. Do not manually delete files from this folder — it can break the ability to uninstall or update those programs. Instead, use a tool like the ones we compare in our analyzer roundup to identify if this folder is unusually large, then uninstall the associated programs through Settings.
Step 7: PowerShell Commands for Advanced Users
PowerShell provides more granular control over storage management than the graphical tools.
Check disk space
Get-PSDrive C | Select-Object Used, Free, @{N='Total';E={$_.Used+$_.Free}} | Format-List
Find the 20 largest files on C:
Get-ChildItem C:\ -Recurse -File -ErrorAction SilentlyContinue |
Sort-Object Length -Descending |
Select-Object -First 20 FullName, @{N='SizeMB';E={[math]::Round($_.Length/1MB,1)}}
Clear user temporary files
Remove-Item "$env:TEMP\*" -Recurse -Force -ErrorAction SilentlyContinue
Check folder sizes in a directory
Get-ChildItem "C:\Users\$env:USERNAME" -Directory |
ForEach-Object {
$size = (Get-ChildItem $_.FullName -Recurse -File -ErrorAction SilentlyContinue | Measure-Object Length -Sum).Sum
[PSCustomObject]@{ Folder=$_.Name; SizeMB=[math]::Round($size/1MB,1) }
} | Sort-Object SizeMB -Descending | Format-Table -AutoSize
Step 8: Prevent Storage Buildup Going Forward
After reclaiming disk space, these habits will help prevent the problem from returning:
- Enable Storage Sense — configure it to run monthly as described in Step 2
- Review Downloads regularly — check your Downloads folder weekly and delete installers and files you have already used
- Move large media to external storage — videos, photos, and game libraries can be stored on external drives or NAS
- Run a disk analyzer quarterly — scan your drive every few months to catch unexpected growth early
- Keep Windows updated — updates sometimes include storage optimizations, and staying current prevents the accumulation of patch-over-patch files
- Use cloud storage strategically — OneDrive Files On-Demand keeps files available without consuming local space
Summary
Freeing up disk space on Windows is a straightforward process when you approach it systematically. Start with Disk Cleanup and Storage Sense for quick wins, then use a disk analyzer to find the hidden storage consumers. Manage Windows-specific features like hibernation and System Restore if you need more space, and establish simple maintenance habits to prevent buildup.
Need personalized help managing disk space across multiple workstations? Our team offers consultation services for businesses and IT departments. Get in touch for guidance tailored to your environment.