TroubleshootingWindows problems, diagnosed
Find what is filling your C: drive on Windows
See what is using space on a Windows drive and which large items are safe to reduce, using Settings and two read-only PowerShell commands.

Quick answer
Look before you delete. Settings > System > Storage shows the big categories in seconds.
- The usual culprits are personal files (videos, phone backups, downloads), apps and games, and a few large Windows files.
- Never delete WinSxS, pagefile.sys or hiberfil.sys by hand. Each has a supported way to shrink or switch it off.
- Synced cloud folders can make a drive look full; making files online-only frees space without deleting them.
Step by step
Read the Storage page
Open Settings > System > Storage. Wait for the bars to finish, then choose Show more categories. Note the two or three largest categories; that is where to look.
Take the easy, reversible wins
In the same page, open Cleanup recommendations. Review temporary files, large or unused files and unused apps, tick only what you recognise, and choose Clean up.
List your largest folders
If Settings points at your own files, run this read-only command in PowerShell. It only measures; it changes nothing. It can take a few minutes on a large drive.
Get-ChildItem $HOME -Directory -Force -ErrorAction SilentlyContinue | ForEach-Object { [pscustomobject]@{ Folder = $_.Name; GB = [math]::Round(((Get-ChildItem $_.FullName -Recurse -File -Force -ErrorAction SilentlyContinue | Measure-Object Length -Sum).Sum) / 1GB, 2) } } | Sort-Object GB -Descending | Select-Object -First 15List your largest files
Find individual files over the top of the list: forgotten videos, disk images and old installers usually show up here.
Get-ChildItem $HOME -Recurse -File -Force -ErrorAction SilentlyContinue | Sort-Object Length -Descending | Select-Object -First 25 @{ n = 'GB'; e = { [math]::Round($_.Length / 1GB, 2) } }, FullNameMove or remove what you recognise
Move files you want to keep to another drive, delete what you are sure about, then empty the Recycle Bin. Space is not returned until the Recycle Bin is emptied.
When Windows says a drive is full, the useful question is not “what can I delete?” but “what is using the space?” Answer that first and the fix is usually obvious. Delete first and you risk removing something you needed while the real cause stays put.
Everything in this guide is read-only until you decide to remove something.
Start with Settings: the five-minute view
Open Settings > System > Storage. Windows groups usage into categories such as Apps & features, Temporary files, Documents, Pictures, Videos and System & reserved. Choose Show more categories to see them all, and select any category to see what is inside it.
Read it like a map:
| Largest category | What it usually means | Where to look next |
|---|---|---|
| Apps & features | Games and large creative apps | Sort the list by size; uninstall what you no longer use |
| Videos, Pictures, Documents, Other | Your own files | The PowerShell commands below |
| Temporary files | Update leftovers, caches, the Recycle Bin, Downloads | Cleanup recommendations; review Downloads before ticking it |
| System & reserved | Windows itself, the page file, the hibernation file, restore points | The section on Windows’ own large files below |
Cleanup recommendations, on the same page, collects the safest options in one place: temporary files, large or unused files, files synced to the cloud and unused apps. Each item is listed before anything is removed.
Find your largest folders and files
Settings tells you a category, not a culprit. Two PowerShell commands do. Open Terminal (or Windows PowerShell) from the Start menu; you do not need administrator rights for your own folders.
The first command (step 3 above) measures each folder in your user profile and lists the fifteen largest. The second (step 4) lists the twenty-five largest individual files. Both only read file sizes. Expect them to take a while on a big drive.
Two things to know when you read the results:
- Cloud folders can look larger than they are. Files that OneDrive keeps online-only may be counted at their full size even though they take up almost no space on the drive. Check a large OneDrive result in File Explorer: a cloud icon means it is online-only.
- Some folders are hidden for a reason.
AppDataholds app settings and caches. Large caches inside it (for example a browser’s) are best cleared from the app’s own settings, not by deleting folders.
To look at another drive or folder, replace $HOME with a path such as D:\.
Windows’ own large files: what is safe
A few system items can be large. None should be deleted by hand.
| Item | What it is | Supported way to reduce it |
|---|---|---|
pagefile.sys |
Virtual memory | Leave it under Windows’ management unless you have a specific reason to change it |
hiberfil.sys |
Memory saved for hibernation and fast startup | If you never hibernate, an administrator can run powercfg /hibernate off. Hibernation and fast startup stop working; powercfg /hibernate on brings them back |
C:\Windows\WinSxS |
Windows components and updates | Never delete it. Windows cleans it up automatically; Dism.exe /online /Cleanup-Image /StartComponentCleanup in an administrator terminal does the same immediately |
| Restore points | System Protection snapshots | Search the Start menu for Create a restore point, select the drive, choose Configure, and lower the maximum usage |
Windows.old |
The previous Windows version after an upgrade | Appears in Cleanup recommendations or Temporary files as a previous Windows installation. Removing it ends your ability to roll back the upgrade |
Microsoft warns that deleting files from WinSxS can leave a PC unable to start or update. Adding /ResetBase to the DISM command saves more space, but existing updates can then no longer be uninstalled, so it is not worth it on most home PCs.
Synced folders and phone backups
Two common surprises:
- OneDrive. With Files On-Demand, right-click a large folder inside OneDrive and choose Free up space. The files stay in your OneDrive and download again when you open them.
- Phone backups and photo imports. iPhone backups made with Apple’s software and photo imports can each be many gigabytes. Find them with the largest-folders command, then decide whether you still need older backups.
If space disappears again
If the drive fills again soon after cleaning, something is still writing to it: a sync client downloading a large library, a game installing updates, or an app with a runaway log or cache. Run the largest-folders command again a day later and compare. The folder that grew is your answer.
Storage Sense, in the same Storage page, can remove temporary files and Recycle Bin contents automatically on a schedule. It is a good safety net once you know where the space went.
A very full system drive is also a common reason a PC is slow to start. Ratherform’s free Checkup reads free space, drive health and old temporary files in about a minute and changes nothing. It is part of the Ratherform app, which is in development with its public download pending.
Sources and further reading
- support.microsoft.comWindows 11 shows usage under Settings > System > Storage and offers Cleanup recommendations (temporary files, large or unused files, files synced to the cloud, unused apps).
- learn.microsoft.comDo not delete the WinSxS folder; Dism.exe /online /Cleanup-Image /StartComponentCleanup reduces it, and /ResetBase prevents uninstalling existing updates.
- learn.microsoft.compowercfg /hibernate off disables the hibernate feature.
- learn.microsoft.comGet-ChildItem lists files recursively, including hidden and system items with -Force.
Published . Last updated . Next review by .


