Disk Cleanup removes temporary and system files that are safe to delete, helping you reclaim hard‑drive space and keep Windows running smoothly.
Most people assume it erases personal documents, but it only targets files that Windows marks as expendable.
Quick answer: Disk Cleanup frees space by deleting temporary, system and recycle‑bin files.
| File type | What it contains | Typical size range |
|---|---|---|
| Temporary Internet Files | Cached web pages and images | 10 MB – 2 GB |
| System error memory dump | Crash dump data for troubleshooting | 100 MB – 1 GB |
| Recycle Bin | Deleted user files awaiting permanent removal | Varies, up to several GB |
| Windows Update cleanup | Old update files no longer needed | 200 MB – 2 GB |
| Temporary setup files | Leftover files from software installations | 50 MB – 500 MB |
Disk Cleanup: What It Actually Removes
The utility scans the drive for items that Windows categorises as nonessential. It looks for cached web data, old Windows Update packages, temporary setup files, error memory dumps, and files that sit in the Recycle Bin. Each category appears as a check‑box in the dialog, allowing you to decide which groups to delete.
Because the program only touches files flagged by the operating system, personal documents, photos, and installed programs remain untouched. The safety net is that any file shown in the list can be restored from the Recycle Bin if you change your mind before confirming the deletion.
How to Run Disk Cleanup Step by Step
Follow these steps to launch and use the tool:
- Open the Start menu and type Disk Cleanup. Select the result that reads “Disk Cleanup” (the label may vary slightly by Windows version).
- When prompted, choose the drive you want to clean, typically
C:, and click OK. - The utility calculates how much space each category occupies. This may take a minute for larger drives.
- Review the list of check‑boxes. Tick the boxes for the categories you wish to delete. Hover over each item for a brief description.
- Click Clean up system files if you also want to remove old Windows Update files and system‑level temporary data. You will be asked to select the drive again.
- After making your selections, press OK. Confirm the deletion when the confirmation dialog appears.
The process runs in the background; a progress bar shows completion. Once finished, the amount of free space is displayed in the dialog.
Why Disk Cleanup May Not Recover Expected Space
Several factors can limit the amount of space reclaimed:
- Hidden user files such as large video libraries, game installations, or duplicate downloads are not listed because they are not marked as temporary.
- System Restore points occupy space separate from Disk Cleanup. If you need more room, adjust the amount of storage allocated to restore points via System Properties.
- Reserved storage for future updates may hold a few hundred megabytes that Disk Cleanup does not touch.
When the freed space seems low, check these areas manually. Deleting or moving large personal files, reducing the size of the System Restore allocation, or using the “Storage Sense” feature can provide additional gains.
Files You Might Want to Preserve
Although Disk Cleanup is safe, a few categories deserve a second look before removal:
- Windows Update cleanup – removing old updates can free space, but if you rely on the ability to roll back a recent update, keep the files for at least a few weeks.
- Device driver packages – these are stored in the
DriverStorefolder. Deleting them may force Windows to reinstall drivers if a hardware change occurs. - Language packs – if you use multiple display languages, removing a pack will require a re‑download should you need it again.
Unchecking these boxes adds a small safety margin, especially on systems that are not frequently re‑imaged.
Scheduling Disk Cleanup for Ongoing Maintenance
To keep the drive tidy without manual effort, you can create a scheduled task:
- Open Task Scheduler from the Start menu.
- Select Create Basic Task… and give it a name such as “Weekly Disk Cleanup”.
- Choose a trigger (for example, weekly on Saturday at 2 AM).
- For the action, select Start a program and browse to
C:\Windows\System32\cleanmgr.exe. - Add the argument
/sagerun:1to run a preset configuration. - Before the schedule works, open Disk Cleanup, click Clean up system files, then click Configure and select the same number (1) to define which categories should be cleared automatically.
- Finish the wizard. The task will now run at the chosen interval, silently freeing space.
Remember that the scheduled run uses the preset you defined, so if you later change your preferences, update the /sagerun number accordingly.
When Disk Cleanup Doesn’t Appear or Fails to Launch
If the program fails to open, the most common cause is corrupted system files. Running sfc /scannow from an elevated Command Prompt can repair the issue. Another possibility is that the drive is encrypted with BitLocker and the system cannot calculate temporary file sizes; decrypting or unlocking the drive first resolves the problem.
In rare cases, third‑party cleaning utilities interfere with Disk Cleanup’s registry entries. Uninstalling the conflicting software or resetting the Disk Cleanup settings via the registry key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches restores normal operation.
How to Verify That Disk Cleanup Worked
After the process finishes, open Settings > System > Storage (labels may differ slightly). The “Free space” value should reflect the increase shown in the Disk Cleanup dialog. For a more detailed view, click “Show more categories” and compare the numbers before and after the cleanup.
If the free‑space figure does not change as expected, revisit the table above and ensure you selected the appropriate categories. Also check that no other program is immediately recreating large temporary files, such as a web browser set to store cache on the system drive.
Related
- Mississippi Roast Cook Time on High in Crock Pot
- Can You Marinate Eggs in Pickle Juice? How to Do It Safely
- How to Clean the Drain Filter on a Samsung Washing Machine
Spotted a mistake? Tell us and we will correct it. How we write and check articles.