Drive Sweeper
Windows 10 & 11 Buy license · $29.95
Reference

What Files Can I Safely Delete From My C Drive?

What files can I delete from C drive in Windows 10 and 11? A safe list, what to shrink with settings instead, and system folders to never touch.

Updated 5 minute read The Drive Sweeper team

You can safely delete temporary files, Windows Update leftovers, the contents of your temp folders, thumbnail caches, old crash dumps, installers you no longer need and duplicate copies of your own files from your C drive. Some large system items, such as the hibernation file, restore points and Windows.old, can be shrunk or removed, but only through Windows settings, never by deleting them in File Explorer. And some folders should never be touched at all: Windows, System32, WinSxS, Program Files, ProgramData, the Installer folder and System Volume Information.

Use the lists below as a reference. When in doubt, leave a file alone and look it up first.

Safe to delete

These items are created by Windows or apps as working files and are not needed once the work is done. Clearing them does not harm Windows or your programs.

ItemLocationBest way to remove
Your temp files%temp% (AppData\Local\Temp)Settings > Storage > Temporary files, or delete the contents by hand
Windows temp filesC:\Windows\TempSettings or Disk Cleanup; delete contents only, not the folder
Windows Update CleanupInside the component storeSettings > Temporary files or Disk Cleanup
Delivery Optimization FilesWindows update cacheSettings > Temporary files
Thumbnail cacheAppData\Local\Microsoft\Windows\ExplorerSettings > Temporary files (Thumbnails)
Windows error reportsProgramData\Microsoft\Windows\WERSettings > Temporary files
Crash dumpsC:\Windows\MEMORY.DMP, C:\Windows\Minidump, AppData\Local\CrashDumpsDisk Cleanup or delete once troubleshooting is done
Browser cacheInside each browser's profileClear cached images and files from the browser's settings

For step-by-step instructions, see our guide to deleting temporary files in Windows 11.

These items come back over time, because Windows and apps keep creating them. That is normal and not a sign that anything is wrong. Turning on Storage Sense under Settings > System > Storage clears most of them automatically.

Safe to delete after you check

These are your own files, so only you can say whether they are needed. They are often where the most space is.

  • Downloads folder: old installers (.exe, .msi), archives you have already extracted, disk images (.iso) and duplicate downloads. Check documents and photos before deleting.
  • Recycle Bin: empty it once you are sure nothing in it is needed.
  • Duplicate files: second and third copies of photos, videos, music and documents in your user folders.
  • Huge forgotten files: old videos, screen recordings, virtual machines and game installers you no longer use.
  • Empty folders left behind by uninstalled programs in your own folders. They take almost no space but make drives harder to browse.
  • Unused apps and games: uninstall through Settings > Apps > Installed apps, never by deleting the program folder.

Shrink through settings, never delete by hand

These system items can be large, and Windows gives you a proper way to reduce them. Deleting them directly either fails or causes problems.

ItemWhat it doesHow to reduce it
hiberfil.sysHibernation and Fast Startuppowercfg /h off in an administrator terminal, if you never hibernate
Restore pointsRoll back system changesLower Max Usage in System Protection settings
Windows.oldRollback after a Windows upgradeSettings > Temporary files > Previous Windows installation(s)
WinSxSWindows components and update historyWindows Update Cleanup or DISM component cleanup
Reserved storageSpace kept for updatesLeave it on unless you understand the trade-off

Each of these has a trade-off. Turning off hibernation also turns off Fast Startup. Removing Windows.old removes the option to roll back an upgrade. Our guides to hiberfil.sys and a WinSxS folder that looks too large explain the safe commands.

Never delete these

  • C:\Windows, including System32, SysWOW64 and WinSxS. These are Windows itself.
  • C:\Windows\Installer. It holds cached installer data that Windows needs to repair, update and uninstall programs. It can be several gigabytes, but deleting from it can leave programs you cannot update or remove.
  • C:\Program Files and C:\Program Files (x86). Uninstall programs instead.
  • C:\ProgramData. Shared settings and data for installed programs.
  • AppData as a whole. Your app settings, profiles and saved data. Only the Temp folder inside it is fair game.
  • pagefile.sys and swapfile.sys. Virtual memory. Leave them system managed.
  • System Volume Information, $Recycle.Bin, Boot and Recovery folders. Manage restore points and the Recycle Bin through their own settings.
  • Other users' profiles in C:\Users, unless you have removed the account properly and copied anything worth keeping.

Be wary of any guide or tool that tells you to take ownership of a system folder so you can delete it. If Windows will not let you delete something, there is usually a good reason.

A safer way to decide

The hard part of cleaning C is not deleting, it is deciding. A tool that sorts files for you removes most of the guesswork. Drive Sweeper scans your drives and labels every item safe, review or keep. Temporary files, update leftovers and old downloads are typically marked safe. Huge files and similar photos are shown for review. Windows and program files are never touched, and empty folder cleanup skips system folders.

The safe picks are already ticked, nothing is removed until you approve it, and everything removed sits in a restore area for 30 days. If you later realize you needed something, Drive Sweeper puts it back in one click.

If you still need more space

Sometimes there is simply not enough to delete. If you have cleared the safe items and your C drive is still nearly full, free up space without deleting anything:

  • Move library folders to another drive. Right-click Documents, Pictures, Videos or Downloads, choose Properties > Location > Move and pick a folder on a second drive. Windows moves the files and updates the path.
  • Make OneDrive files online-only. Right-click a OneDrive folder and choose Free up space. The files stay in the cloud and download when you open them.
  • Move games and large apps. Many game launchers can move an installed game to another drive from their own settings.
  • Archive old media to an external drive, and keep a second backup copy elsewhere.

On a small laptop SSD these steps matter even more. Our guide to freeing up space on a 256GB SSD walks through a full plan.

Quick checklist

  1. Clear temporary files and update leftovers in Settings.
  2. Empty the Recycle Bin after checking it.
  3. Sort Downloads by type and remove old installers and archives.
  4. Find and remove duplicate copies of your own files.
  5. Review huge files and move or delete the ones you do not need.
  6. Only then consider hibernation, restore points and Windows.old.
  7. Never delete Windows, program or system folders by hand.

Frequently asked questions

Can I delete the Windows Installer folder?

No. C:\Windows\Installer holds files Windows needs to repair, update and uninstall programs. Deleting files from it by hand can stop programs from updating or uninstalling.

Is it safe to delete files in AppData?

Not as a whole. AppData holds your app settings, profiles and saved data. The Temp folder inside AppData\Local is safe to clear, and some apps let you clear their cache from their own settings.

Can I delete the ProgramData folder?

No. ProgramData holds settings and data shared by installed programs. Removing it can break apps, so uninstall programs you do not need instead.

Get three guides like this every month, plus software update notices.Subscribe →