Disk space on Windows tends to fill up like a junk drawer: temporary files, cached installers, old updates, and “maybe useful later” downloads pile up until performance and updates start complaining.
Most space recovery comes from clearing safe-to-delete system data (temporary files, update leftovers, caches) and trimming user storage (large files, unused apps, the Recycle Bin). Windows 11 exposes these through Storage in Settings, while older utilities like Disk Cleanup (cleanmgr) still handle some deep cleanup categories.
Some cleanup choices are irreversible, especially removing previous installation files (rollback) or clearing the wrong user folders. Keep important files backed up, and prefer Temporary files and Disk Cleanup categories over manual deletion unless the contents are clearly disposable.
Categories like Temporary Internet Files, Temporary files, and Thumbnails are typically safe.
Removing Previous Windows installation(s) (Windows.old) can prevent rolling back to an earlier build.
Review selections that mention Downloads or personal folders before confirming removal.
Automatic cleanup helps prevent temporary files and update leftovers from quietly re-accumulating.
Large items often hide in /Downloads, /Videos, and old installer folders.
Uninstalling removes the app and may remove associated offline content.
Items in the Recycle Bin still consume disk space until emptied.
cleanmgr /sageset:1
This stores selected cleanup categories under profile 1.
cleanmgr /sagerun:1
DISM.exe /Online /Cleanup-Image /StartComponentCleanup Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.22631.0 [==========================100.0%==========================] The operation completed successfully.
Component cleanup can take time and should not be interrupted.