Windows.old — what it is and how to remove it safely
After a Windows feature update or reinstall, Windows keeps your previous installation in a folder called Windows.old — typically 15–30 GB. It exists so you can roll back if the new version misbehaves. Once you're happy, it's just wasted space.
Windows.old is owned by the system with locked permissions — a manual delete usually fails or leaves fragments. Use the built-in tools below, which remove it cleanly.The catch: you lose your rollback
Removing Windows.old means you can no longer go back to the previous Windows version. If your current build is stable and you don't need to revert, that's fine. Windows also deletes it automatically after 10 days, so if you can wait, you don't have to do anything.
How to remove it safely
Storage Sense (Windows 10/11) — easiest
- Settings → System → Storage.
- Click Temporary files.
- Tick "Previous Windows installation(s)" and select Remove files.
Disk Cleanup — classic
- Press Win + R, run
cleanmgr, choose your C: drive. - Click Clean up system files.
- Tick "Previous Windows installation(s)" → OK.
DISM — command line
# run in an elevated (Administrator) prompt
DISM /Online /Cleanup-Image /StartComponentCleanup
This clears superseded component data (and helps with the related WinSxS bloat), though Storage Sense is the direct route for Windows.old itself.
SweepDisk flags Windows.old and other OS folders as protected — it points you to the right built-in tool instead of ever trying to delete system files.
What else is usually large next to it
- WinSxS — the component store; managed by DISM, not manual deletion.
- Windows Update cache (
SoftwareDistribution\Download) — safe to clear. - Hibernation file (
hiberfil.sys) — several GB; disable withpowercfg /h offif you don't use hibernate. - The Recycle Bin — empty it; deleted files still occupy space until you do.
Free categorized scan for Windows 10 & 11. System files are clearly marked protected; caches are separated from your real files.