Zach Cabading | October 15, 2026

Complete Guide to Disk Cleanup in Windows 11 and 10

How to Use Disk Cleanup in Windows 10

To use Disk Cleanup in Windows 11, search for Disk Cleanup in the Start menu, select your C: drive, check the file types you want to remove and select OK. For more space, select Clean up system files. Windows 11 also offers a newer option: go to Settings > System > Storage to remove temporary files, review cleanup recommendations and turn on Storage Sense.

Key Takeaways

  • Disk Cleanup safely removes temporary and system files you don't need
  • Windows 11's Storage settings and Storage Sense can clean up files automatically
  • Deleting previous Windows installations or update files removes your ability to roll back

Running low on storage? This guide walks you through both Disk Cleanup and the Windows 11 Storage settings, and explains which files are safe to remove.

What Is Disk Cleanup?

Disk Cleanup is a tool built into Windows that frees up space by removing files you no longer need. Microsoft now treats it as a legacy tool and points users to Storage settings instead, but it's still available in Windows 11.

Disk Cleanup can remove:

  • Temporary files
  • Temporary internet files
  • Thumbnails
  • Delivery Optimization files
  • Windows error reports and memory dump files
  • Old Windows Update files
  • Previous Windows installations
  • Recycle Bin contents

Benefits of Running Disk Cleanup

  • Frees up storage space: Removes files that can add up to several gigabytes over time
  • Prevents low-space warnings: Keeps room free for updates and new files
  • Helps a full drive run better: A nearly full drive can slow Windows down, so freeing space can help
  • Reduces clutter: Clears out leftover files from updates and apps

How to Open Disk Cleanup

  • From Start: Press the Windows key, type Disk Cleanup and select the app.
  • From Run: Press Windows key + R, type cleanmgr and press Enter.
  • From File Explorer: Right-click your C: drive, select Properties and look for Disk Cleanup. In some Windows 11 versions, this button opens Storage settings instead.

How to Run Disk Cleanup

Step 1: Choose a drive

Open Disk Cleanup, select your main drive (usually C:) and select OK. Disk Cleanup takes a moment to calculate how much space it can free.

Step 2: Choose files to remove

Check the boxes for the file types you want to delete. Select a category to see a description and how much space it will free. These are generally safe to remove:

  • Temporary files
  • Temporary internet files
  • Thumbnails
  • Delivery Optimization files
  • DirectX Shader Cache
  • Windows error reports

Before checking Recycle Bin, make sure there's nothing in it you want to keep, since those files will be permanently deleted.

Step 3: Clean up system files (optional)

For more space, select Clean up system files. After Disk Cleanup recalculates, you'll see more options, including Windows Update Cleanup and Previous Windows installation(s).

  • Windows Update Cleanup: Removes old update files. Afterward, you won't be able to uninstall recent updates.
  • Previous Windows installation(s): Removes your earlier version of Windows after a major upgrade. Afterward, you won't be able to roll back, so only remove it once you're sure the new version is working well.

Step 4: Confirm

Select OK, then Delete Files. How long cleanup takes depends on how much you're removing and how fast your drive is. Cleaning up system files can take longer.

The Windows 11 Alternative: Storage Settings

Windows 11 puts most cleanup tools in Settings, and they're easier to use than Disk Cleanup:

  1. Open Settings > System > Storage.
  2. Select Temporary files, choose what to remove and select Remove files.
  3. Select Cleanup recommendations to find large or unused files, files synced to the cloud and apps you don't use.
  4. Turn on Storage Sense to delete temporary files and empty the Recycle Bin automatically on a schedule you choose.

If your laptop still runs Windows 10, Disk Cleanup works the same way, but Windows 10 no longer receives support or security updates, so consider upgrading to Windows 11.

Best Practices for Cleaning Up Your Drive

  • Let Storage Sense handle routine cleanup. Set it to run automatically, and you'll rarely need to run Disk Cleanup by hand.
  • Run Disk Cleanup when space runs low. Clean up system files after a major Windows update, once you're sure everything works.
  • Review before you delete. Check the Recycle Bin and any Downloads option before selecting them.
  • Don't interrupt a cleanup. Let it finish, especially when removing system files.

Troubleshooting Disk Cleanup

Disk Cleanup won't open

Try another method, like typing cleanmgr in the Run box. If it still won't open, use Settings > System > Storage instead, or check for Windows updates.

Disk Cleanup takes a long time to calculate

Large drives and many files take longer to scan. Close other apps and give it a few minutes.

Some files won't delete

Close all apps, restart your laptop and run Disk Cleanup again. Some files can only be removed after a restart.

Advanced Tips for Power Users

  • Save cleanup presets: Run cleanmgr /sageset:1 to choose which categories to clean, then run cleanmgr /sagerun:1 to clean them in one step. You can schedule this with Task Scheduler.
  • Repair system files: If Windows behaves oddly after a cleanup, open Command Prompt as administrator and run sfc /scannow to check for and repair damaged system files.
  • Optimize drives: Windows automatically optimizes your drives on a schedule. Hard drives benefit from defragmenting, while SSDs don't need it.

HP Support Resources

These HP support guides cover recovery options if you need to restore your PC:

For drivers and updates, visit HP Software and Driver Downloads.

Frequently Asked Questions

Is it safe to use Disk Cleanup?

Yes. Disk Cleanup is a built-in Windows tool that removes temporary and system files Windows doesn't need. Review each category before deleting, especially Recycle Bin, Windows Update Cleanup and Previous Windows installation(s).

Is Disk Cleanup still available in Windows 11?

Yes. Disk Cleanup is still available in Windows 11, but Microsoft now recommends using Settings > System > Storage, which includes Temporary files, Cleanup recommendations and Storage Sense.

How often should I run Disk Cleanup?

Run Disk Cleanup when your drive is getting full or after a major Windows update. If Storage Sense is turned on, Windows cleans up many temporary files for you automatically.

Will Disk Cleanup delete my personal files?

Disk Cleanup doesn't touch your documents, photos or installed apps. But if you select Recycle Bin, any files in it are permanently deleted. Some Windows versions also include a Downloads option that deletes everything in your Downloads folder.

Should I delete Windows Update Cleanup files?

It's safe to delete Windows Update Cleanup files once your laptop has been running well after recent updates. After you delete them, you won't be able to uninstall those updates.

Is it safe to delete previous Windows installations?

Yes, once you're sure your current version of Windows works well. Deleting previous Windows installations frees up a lot of space, but you won't be able to roll back to your earlier version afterward.

Conclusion

Disk Cleanup is still a handy way to free up space in Windows 11, and the Storage settings make routine cleanup even easier. Turn on Storage Sense for automatic maintenance, use Disk Cleanup when you need to clear system files, and review each category before you delete.

About the Author

Zach Cabading is a contributing writer for HP® Tech Takes. Zach is a content creation specialist based in Southern California, and creates a variety of content for the tech industry.

Disclosure: