FolderAtlas

What is safe to delete on Windows

Temporary files, the Recycle Bin and your own Downloads are safe to clear. Windows.old can be removed through Storage settings. Never delete WinSxS, hiberfil.sys or pagefile.sys by hand; each has a supported way to shrink or disable it.

This summary follows Microsoft's own documentation. Use the built-in tools where one exists, because they know what is in use.

ItemWhat it isWhat to do
Temporary filesLeftovers from apps and updatesSettings › System › Storage › Temporary files, then choose what to remove.
Recycle BinDeleted files awaiting removalEmpty it. Space is not freed until you do.
DownloadsFiles you downloadedYours to judge. Sort by size and delete what you don't need.
Windows.oldThe previous version of Windows, kept after an upgradeWindows removes it automatically after ten days. To remove it sooner: Settings › System › Storage › Temporary files › Previous version of Windows. You can no longer roll back afterwards.
WinSxSThe Windows component store, in C:\Windows\WinSxSDo not delete it or anything in it; the PC may fail to start or update. To shrink it, run Dism.exe /online /Cleanup-Image /StartComponentCleanup from an administrator prompt.
hiberfil.sysHibernation file, roughly the size of your memoryDo not delete it. To remove it, turn hibernation off with powercfg.exe /hibernate off from an administrator prompt. Hibernate and hybrid sleep stop working.
pagefile.sysVirtual memory, also used for crash dumpsLeave it. Windows manages its size.
Unused appsInstalled programsSettings › Apps › Installed apps, then Uninstall.

A note on WinSxS size

WinSxS often looks larger than it is, because many of its files are hard links to files stored elsewhere in Windows. A folder-size tool that counts each link separately will overstate it.

Files in OneDrive

Storage Sense can make OneDrive files online-only when you have not opened them for a while. They stay in OneDrive and download again when you open them, so this frees space without deleting anything.

Do not delete

See also: how to see what's taking up space on Windows.

Last updated: 19 November 2026