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.
| Item | What it is | What to do |
|---|---|---|
| Temporary files | Leftovers from apps and updates | Settings › System › Storage › Temporary files, then choose what to remove. |
| Recycle Bin | Deleted files awaiting removal | Empty it. Space is not freed until you do. |
| Downloads | Files you downloaded | Yours to judge. Sort by size and delete what you don't need. |
| Windows.old | The previous version of Windows, kept after an upgrade | Windows 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. |
| WinSxS | The Windows component store, in C:\Windows\WinSxS | Do 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.sys | Hibernation file, roughly the size of your memory | Do 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.sys | Virtual memory, also used for crash dumps | Leave it. Windows manages its size. |
| Unused apps | Installed programs | Settings › 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
- Anything in
C:\WindowsorC:\Program Filesby hand. Uninstall apps properly. System Volume Information, which holds restore points. Manage those in System Protection settings.- Folders in
AppDatafor apps you still use.
See also: how to see what's taking up space on Windows.
Last updated: 19 November 2026