KemptDesk

C drive full on Windows: what is safe to delete?

For PCWindows 10 and Windows 11 (checked against version 26H2)Reviewed 23 November 202611 min read

Quick answer

When the C: drive is full, start with the tools built into Windows: Settings > System > Storage > Cleanup recommendations, Storage Sense and Disk Cleanup. Temporary files, old update downloads and the Recycle Bin are safe to delete. Never delete C:\Windows\WinSxS, pagefile.sys or hiberfil.sys by hand; shrink them with DISM, Disk Cleanup or powercfg instead.

On this page
  1. Check in this order
  2. Use Storage Sense and Disk Cleanup first
  3. The biggest space users on C:
  4. WinSxS, Windows.old and update files
  5. AppData and Temp folders
  6. WSL and Docker disks
  7. Local AI models
  8. Developer caches and node_modules
  9. The Downloads folder
  10. Hibernation file, page file and restore points
  11. The Recycle Bin, apps and games
  12. How KemptDesk handles this
  13. Questions
  14. Sources

Most of the space on a full C: drive comes from a few places. Some are safe to empty at any time, some hold your files, and some belong to Windows itself. This page shows the order to check them and links to a detailed guide for each part.

Check in this order

  1. See what uses the space. Select Start > Settings > System > Storage. The capacity bar turns red when the drive is low on space.
  2. Run Cleanup recommendations. In Storage, select Cleanup recommendations. Review Temporary files, Large or unused files, Files synced to the cloud and Unused apps, then select Clean up for each section. Files synced to the cloud can stay online only; see how OneDrive and iCloud free local space.
  3. Remove the previous Windows version if you upgraded and do not want to go back. It is listed as Previous Windows installation(s).
  4. Clean up update files. In Disk Cleanup, select the item that cleans up old Windows updates and Delivery Optimization Files.
  5. Empty the Recycle Bin and sort Downloads. Check first that nothing in them is still needed.
  6. Uninstall apps and games you do not use. Select Settings > Apps > Installed apps.
  7. Look at hidden data: AppData, WSL and Docker disks, and local AI models.
  8. Change system settings last: hibernation, the page file and System Restore. Each one has a cost, so read the section on them first.
KemptDesk Space Lens map of a home folder: Videos, Downloads, AppData and model folders drawn as boxes sized by space and coloured Safe to clean, Check first, Breaks an app, Your files or Protected.
Space Lens in KemptDesk

Use Storage Sense and Disk Cleanup first

Windows has three free tools for a full drive. They know which system files are safe to remove, so use them before you delete anything by hand.

Cleanup recommendations

Select Start > Settings > System > Storage > Cleanup recommendations. Windows groups what it can remove into Temporary files, Large or unused files, Files synced to the cloud and Unused apps. Look through each list, select what to remove, then select Clean up.

Storage Sense

Storage Sense removes temporary files and old Recycle Bin items for you. It works only on the system drive (C:).

  1. Select Start > Settings > System > Storage.
  2. Turn Storage Sense on.
  3. Select Storage Sense to set how often it runs and how long items stay in the Recycle Bin.
  4. Leave the Downloads setting off unless you want Windows to delete old downloads. Microsoft says Downloads is not managed unless you choose it.

Storage Sense can also make OneDrive files online-only when you have not opened them for a set time. The files stay in OneDrive and download again when you open them.

Disk Cleanup

Disk Cleanup is the older tool. Microsoft still documents it for Windows 10 and 11, and its update clean-up option also shrinks the component store.

  1. In the search box on the taskbar, type Disk Cleanup, then select it. You can also press Windows logo key + R, type cleanmgr.exe and select OK.
  2. Select drive C: and select OK.
  3. On the Disk Cleanup tab, select the items to remove, for example Delivery Optimization Files, Temporary files and the item that cleans up old Windows updates.
  4. Select OK, then Delete Files.

The biggest space users on C:

WhatWhereTypical causeSafe to deleteGuide
Previous Windows versionC:\Windows.oldA Windows upgrade keeps the old system so you can go backCarefulWindows.old and WinSxS
Component storeC:\Windows\WinSxSOld versions of updated Windows componentsNoWindows.old and WinSxS
Windows Update downloadsC:\Windows\SoftwareDistribution\DownloadUpdate files that are already installedYesWindows.old and WinSxS
Delivery Optimization filesDisk Cleanup item "Delivery Optimization Files"Update files kept to share with other PCsYesWindows.old and WinSxS
Temporary files%TEMP% and C:\Windows\TempApps and installers leave files behindYesAppData and Temp
App and browser data%LOCALAPPDATA% and %APPDATA%Browser profiles, chat apps, Store appsCarefulAppData and Temp
Hibernation fileC:\hiberfil.sysAbout the same size as your RAMNoSystem files
Page fileC:\pagefile.sysVirtual memory that Windows sizes itselfNoSystem files
Restore pointsC:\System Volume InformationSystem Protection snapshotsCarefulSystem files
Recycle BinC:\$Recycle.BinDeleted files wait here until you empty itCarefulRecycle Bin, apps, games
Downloads%USERPROFILE%\DownloadsInstallers, disk images and archivesCarefulDownloads
WSL and Docker disksext4.vhdx files under %LOCALAPPDATA%Linux disks grow but do not shrinkNoWSL and Docker
Games and appsInstall folders and game librariesLarge installs you no longer play or useCarefulRecycle Bin, apps, games
Local AI models%USERPROFILE%\.ollama\models and similarDownloaded modelsCarefulLocal AI models
Developer cachesnode_modules, %LOCALAPPDATA%\npm-cachePackage downloads and build outputCarefulDeveloper caches

Yes means Windows or the app gets the files back on its own. Careful means you can lose something you need, so look first. No means do not delete the file or folder by hand; use the tool named in the guide.

WinSxS, Windows.old and update files

C:\Windows\WinSxS is the component store. File Explorer shows it larger than it is, because many of its files are hard links to files that Windows uses elsewhere. Microsoft warns that deleting files from it can stop Windows from booting, so shrink it only with DISM or Disk Cleanup. C:\Windows.old holds your previous Windows version after an upgrade. In most cases you have 10 days to go back, and Windows deletes it after that.

Read how to shrink WinSxS, Windows.old and SoftwareDistribution safely for the exact DISM commands, the rollback window and the safe way to clear old update downloads.

C:\Windows\Installer is another large hidden folder. Windows needs its files to repair, update and uninstall programs, so never delete them by hand. Read why the Windows Installer folder is large for the safe options.

AppData and Temp folders

%USERPROFILE%\AppData is hidden and holds the settings and data of every app you use, in three folders: Local, LocalLow and Roaming. Never delete AppData or one of those three folders as a whole. The Temp folder inside it, and C:\Windows\Temp, are safe to empty; Windows skips files that are in use.

Read which AppData and Temp files are safe to delete to clear browser and Teams caches the supported way. Two other large items often hide in your user folder: iPhone and iPad backups from iTunes or Apple Devices, and DirectX and graphics driver shader caches.

WSL and Docker disks

WSL 2 keeps each Linux distribution in one ext4.vhdx file. Microsoft says the file expands as you use it, with a default maximum of 1 TB, and that making it smaller is much more complicated. Deleting files inside Linux does not give the space back to Windows, and deleting the .vhdx file deletes the whole distribution. Docker Desktop keeps the data of its WSL 2 engine in C:\Users\[USERNAME]\AppData\Local\Docker\wsl by default.

Read how to shrink WSL and Docker disks safely before you touch these files.

Local AI models

Tools such as Ollama, LM Studio and Hugging Face download models that can each take many gigabytes. Ollama keeps its models in C:\Users\%username%\.ollama\models on Windows, and the OLLAMA_MODELS environment variable moves them to another drive.

Read where local AI models are stored and how to remove them to remove a model with its own tool.

Developer caches and node_modules

If you write code, package managers keep download caches, and every project can have its own node_modules folder. Caches download again when needed, but a deleted node_modules folder must be installed again before the project runs.

Read which developer caches and node_modules folders to delete for the official clean commands for npm, Cargo and Gradle.

The Downloads folder

Downloads often holds old installers, disk images and archives that you no longer need. Microsoft suggests the largest files are usually in Videos, Music, Pictures and Downloads. In File Explorer, select View > Details, right-click an empty area and choose Sort by > Size to see the biggest files first.

Read how to sort a messy Downloads folder to clean it by hand or automatically. To search the whole drive, see how to find the largest files, and for copies of the same file, how to delete duplicate files safely.

Hibernation file, page file and restore points

These three items belong to Windows. Do not delete the files. Change the setting that creates them, and only when you accept the cost.

hiberfil.sys

C:\hiberfil.sys stores a copy of memory when the PC hibernates. Microsoft says it is about the same size as the installed RAM. To remove it, turn off hibernation: open Command Prompt as administrator and run the command below. Without the file, hibernation and hybrid sleep stop working, and Microsoft warns that you can lose data if power fails while hybrid sleep is on.

cmd
powercfg.exe /hibernate off

To turn hibernation back on, run powercfg.exe /hibernate on. hiberfil.sys and pagefile.sys explained shows how to keep fast startup with a smaller file.

pagefile.sys

C:\pagefile.sys extends memory. Microsoft says a system-managed page file can grow to the larger of 3 times physical memory or 4 GB, but not more than one-eighth of the volume. Some apps need a page file, and Windows uses it for crash dumps and its memory limit. Leave it on system-managed size.

System Restore points

Restore points are snapshots of system files, installed apps, the registry and settings, stored in C:\System Volume Information. Press Windows logo key + R, type systempropertiesprotection.exe and press Enter. Select the drive, select Configure, and move the slider to set the most space System Protection can use. A smaller limit keeps fewer restore points.

The Recycle Bin, apps and games

Files you delete in File Explorer go to the Recycle Bin and still use space until you empty it. Emptying it is permanent, so look inside first. Storage Sense can empty items that have been there longer than the period you choose.

Apps and games can be the largest items on the drive. Select Start > Settings > Apps > Installed apps, find an app you do not use, then select More > Uninstall. Remove games with the launcher you installed them from, such as Steam or the Xbox app. Never delete folders in C:\Program Files by hand; use the app's uninstaller. How to uninstall apps completely covers the folders an app leaves behind.

How KemptDesk handles this

KemptDesk runs on Windows 10 and 11. Its System Junk list selects temporary files older than 24 hours, browser caches and app caches (Safe to clean). C:\Windows\Temp and Windows Update downloads need administrator, and update downloads are not ticked for you. The Recycle Bin is listed but off by default. Windows.old, WinSxS, pagefile.sys, hiberfil.sys and restore points are Protected: KemptDesk shows their size and the Windows tool to use, and never selects them. WSL and Docker disks are Breaks an app; KemptDesk offers a compact step instead. Programs are removed with their own uninstaller. The free version scans everything and cleans up to 500 MB. Windows shows a warning the first time it opens; install help explains it.

Questions

Why is my C drive suddenly full when I have not installed anything?

Windows updates, a feature upgrade that left Windows.old, temporary files, restore points and growing app caches all use space without a new install. WSL and Docker disks also grow on their own. Open Settings > System > Storage to see which category grew, then follow the order at the top of the page.

Can I delete the Windows.old folder?

Yes, if you do not want to go back to the previous version. Use Settings > System > Storage > Cleanup recommendations > Previous Windows installation(s). Windows deletes it by itself 10 days after the upgrade.

Is it safe to delete pagefile.sys and hiberfil.sys?

Not by hand. Turn off hibernation with powercfg.exe /hibernate off to remove hiberfil.sys, and leave pagefile.sys on system-managed size, because Windows and some apps need it.

Can I delete the WinSxS folder?

No. Microsoft warns that deleting it, or files in it, can stop Windows from booting or updating. Run Dism.exe /online /Cleanup-Image /StartComponentCleanup from an elevated Command Prompt instead.

Do I need a cleaner app to free up space?

Not for Windows' own files: Storage Sense, Cleanup recommendations, Disk Cleanup and DISM handle them for free. A cleaner app can help you find large folders and app caches; see CCleaner alternatives compared if you want one.

Sources

See what is safe to delete on your computer

KemptDesk scans your disk, explains every folder and selects only what apps can rebuild. The scan is free and cleans up to 500 MB. No account.

Then pay once from $59 or yearly from $9.99 for the first year until 31 December 2026, then $24.99. One license covers Macs and PCs. See plans