Use it when writes fail, updates/applications stop, logs cannot grow, or a volume reports low/free space.
Disk Full
Disk Full covers capacity exhaustion on the actual Windows volume/path used by the workload, including free space, quotas, temporary growth and hidden/system consumers.
1. Get-Volume — free space.
2. Largest folders (TreeSize/WinDirStat or Get-ChildItem -Recurse | Sort Length).
3. Cleanup: cleanmgr, DISM /StartComponentCleanup, old logs/profiles.
4. Shadow storage size.
5. Monitor.
space consumers → cleaned/moved → free space
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Get-Volume | Sort-Object SizeRemainingPrimary Commands
Configuration and operational commands for this Topic.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Finding what uses space Verify boundary
Get-Volume
Get-ChildItem C:\ -Recurse -File -ErrorAction SilentlyContinue | Sort Length -Descending | Select -First 20 FullName,Length
DISM /Online /Cleanup-Image /AnalyzeComponentStore
cleanmgr /sageset:1 ; cleanmgr /sagerun:1
Documented example, not captured output. Usual culprits: C:\Windows\SoftwareDistribution, WinSxS, user temp folders, IIS logs, memory dumps (MEMORY.DMP), shadow copies, pagefile/hiberfil, application logs. Tools: WizTree/TreeSize. Fix the cause (log rotation), not just the symptom.
Step 2 Troubleshooting path Verify boundary
Path → mounted volume → free/allocated capacity → quota/reservation → largest consumers/growth → write attempt
Step 3 Common mistakes Narrow the fault
- Deleting files from
WinSxSmanually.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- A disk having free space does not prove the target volume/path has free space; deleting files does not prove the underlying growth source is fixed.
- Keep the symptom, observed state and inferred cause as separate statements.
- Prefer evidence from the first failed boundary over broad configuration changes.
- A successful local check does not automatically prove the next dependency or end-to-end workload.
Get-WinEvent -FilterHashtable @{LogName='System';Level=1,2;StartTime=(Get-Date).AddHours(-24)}— system errors last 24hGet-WinEvent -FilterHashtable @{LogName='Application';Level=1,2;StartTime=(Get-Date).AddHours(-24)}— application errorsGet-ComputerInfo -Property OsName,OsBuildNumber,CsDomain— system contextGet-HotFix | Sort InstalledOn -Desc | Select -First 5— recent updates
ReferenceWhy it matters1 section · depth on demand
Method
Disk full on C: — typical space consumers and safe cleanups:
| Location | Action |
|---|---|
C:\Windows\SoftwareDistribution\Download | Stop wuauserv, clear |
| WinSxS | Dism /Online /Cleanup-Image /StartComponentCleanup |
C:\Windows\Temp, user Temp | Delete old files |
| Shadow copies | vssadmin list shadowstorage, resize |
C:\Windows\Installer | Do NOT delete manually (breaks repairs/updates) |
Memory dumps (MEMORY.DMP, Minidump) | Archive/delete after analysis |
| IIS logs, app logs | Retention/compression |
| Hibernation file | powercfg /h off on servers |
Get-ChildItem C:\ -Directory -Force -ErrorAction SilentlyContinue | % { [pscustomobject]@{Folder=$_.FullName; GB=[math]::Round((Get-ChildItem $_.FullName -Recurse -File -Force -ErrorAction SilentlyContinue | Measure Length -Sum).Sum/1GB,2)} } | Sort GB -Desc
cleanmgr /sageset:1; cleanmgr /sagerun:1
ReferenceImportant terms & boundaries3 sections · depth on demand
What the evidence shows
A disk having free space does not show the target volume/path has free space; deleting files does not show the underlying growth source is fixed.
In depth
Find what fills the volume first
PS C:\> Get-PSDrive C | Select Used, Free
PS C:\> Get-ChildItem C:\ -Directory -Force -ErrorAction SilentlyContinue | ForEach-Object {
[pscustomobject]@{ Folder=$_.FullName; GB=[math]::Round((Get-ChildItem $_.FullName -Recurse -File -Force -ErrorAction SilentlyContinue | Measure Length -Sum).Sum/1GB,1) } } | Sort GB -Desc | Select -First 10
| Usual large consumers | Safe action |
|---|---|
C:\Windows\WinSxS (component store) | DISM component cleanup (below) — never delete files manually |
C:\Windows\SoftwareDistribution\Download | Stop wuauserv, clear the folder, start it |
C:\Windows\Temp, user %TEMP% | Delete old files |
C:\$Recycle.Bin | Empty per user |
| Page file / hibernation file | Resize page file; powercfg /h off on servers |
IIS logs C:\inetpub\logs\LogFiles | Retention script or move logs to another volume |
Memory dumps C:\Windows\MEMORY.DMP | Delete after analysis |
| Shadow copies | vssadmin list shadowstorage, limit with resize shadowstorage |
Component store cleanup
Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore
Dism.exe /Online /Cleanup-Image /StartComponentCleanup
Dism.exe /Online /Cleanup-Image /StartComponentCleanup /ResetBase
Microsoft's WinSxS guide explains that /StartComponentCleanup removes superseded component versions immediately (without the scheduled task's grace period) and that /ResetBase removes all superseded versions — after which installed updates can no longer be uninstalled. Use /ResetBase only on systems where rollback is not needed.
Why WinSxS looks bigger than it is
Many files in WinSxS are hard links to files in C:\Windows\System32; Explorer counts them twice. /AnalyzeComponentStore reports the actual size and whether cleanup is recommended.
Prevent recurrence
Monitor free space (alert at 15 %), move logs and data off C:, set retention on application logs, and size the system volume for at least two cumulative updates plus a feature update on clients.
*The directory-size and DISM cleanup commands are examples for inspecting a volume, not evidence of recovered disk space.*
Common space users
| Location | Cleanup |
|---|---|
C:\Windows\SoftwareDistribution\Download | Stop wuauserv, clear |
| WinSxS | Dism /Online /Cleanup-Image /StartComponentCleanup |
C:\Windows\Temp, user temp | Delete old files |
pagefile.sys, hiberfil.sys | Resize, powercfg /h off on servers |
| IIS logs, app logs | Retention script |
| Shadow copies | vssadmin resize shadowstorage |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Windows Troubleshooting → Disk Full. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/troubleshoot/windows/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Windows Troubleshooting → Disk Full reference map
Fast troubleshooting boundaries for Windows Troubleshooting → Disk Full.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Symptom | What the user/workload reports | Starting point, not root cause |
| Local state | What Windows reports at this boundary | Does not prove adjacent dependency |
| Correlated evidence | Multiple sources agree in one timeline | Strengthens hypothesis, not automatic causation |
| Verification | Original test succeeds after controlled change | Required to close the troubleshooting loop |