Disk Cleanup Not Deleting Files: Find Out Reasons and Fix It

Elowen Wilson
2025-09-10
Home > Resources > Data Wipe > Disk Cleanup Not Deleting Files: Find Out Reasons and Fix It

When your Windows PC starts running out of space, one of the first tools you may turn to is Disk Cleanup. This built-in utility helps remove unnecessary files, temporary data, and cached system files to free up storage. However, many users encounter an issue where Disk Cleanup runs but does not actually delete the selected files. If you've experienced this frustration, don't worry, read this guide to quickly fix Disk Cleanup not deleting files.

fix disk cleanup not deleting files

Part 1: Why Disk Cleanup Is Not Deleting Files on Windows PC

If you're trying to free up space on your Windows PC, but Disk Cleanup seems stuck or fails to remove specific files, there are a few common reasons for this. Understanding these causes is the first step to fixing the problem.

  1. Insufficient Permissions: Some system files require elevated privileges to be removed.
  2. Files in Use: Active processes may lock certain files, preventing Disk Cleanup from deleting them.
  3. Windows Update Issues: Temporary update files may not be cleared due to update service errors.
  4. Corrupted System Files: Damaged system components can interfere with normal cleanup operations.
  5. User Profile or Permission Restrictions: Your account may lack the required rights to delete specific files.

Part 2: How to Fix Disk Cleanup Not Deleting Files on Windows 11/10

Here are 8 effective methods to troubleshoot and fix Disk Cleanup not working as expected.

2.1 Run Disk Cleanup As Administrator

This is the most crucial step. To ensure Disk Cleanup has the necessary permissions to delete system files and old Windows Update files, you must run it with administrator rights.

Here are the steps:

  1. Press the Windows key, type "Disk Cleanup", and then right-click the app from the search results.

  2. Select "Run as administrator".

  3. Choose the drive you want to clean and then select "Clean up system files" in the next window. This gives you access to more options for deeper cleaning.

    run disk cleanup as administrator on the pc

2.2 Use Storage Sense for Automated Cleanup

Windows 10 and 11 have a built-in feature called Storage Sense that can automatically clean up temporary files and old downloads. When Disk Cleanup doesn't delete files on your Windows 11 or Windows 10 PC, you can use it.

Here's how:

  1. Click "Start", and choose "Settings" > "System" > "Storage".

  2. Turn on "Storage Sense".

  3. Click on "Configure Storage Sense or run it now" to customize what it deletes and how often it runs.

    use storage sense to delete files automatically

2.3 Manually Delete Specific Files

If you know which files are causing the issue, you can try deleting them yourself. Common culprits include files in the Temp folder.

To manually delete files on a PC:

  1. Press the "Windows" key + "R", type "temp", and press "Enter".

  2. This will open the user's temporary folder. Press "Ctrl" + "A" to select all files and press "Delete". Or select useless files and delete them.

    delete specific files manually

2.4 Check for Active Processes Using the Files

Files that are in use can't be deleted. Use Task Manager to check for any running programs that might be using the files you want to remove.

Here's how:

  1. Press "Ctrl" + "Shift" + "Esc" to open "Task Manager".

  2. Go to the "Details" tab to see all running processes. If you identify a process that's related to the files, you can try to end the task. Be careful with this, as ending the wrong process can cause system instability.

    go to task manager to end tasks if disk cleanup doesn't work

Read more: If you want to safely sell your SSD, you will need to erase all your data from the SSD disk.

2.5 Troubleshoot Windows Update Components

Sometimes, pending or failed Windows Updates can lock up temporary files. If Disk Cleanup doesn't delete files on your Windows 11 or Windows 10 computer, you can restart the Windows update.

To stop Windows updates and delete files manually:

  1. Press the "Windows" key and "R", type "services.msc", and press "Enter".

  2. Find "Windows Update", right-click it, and select "Stop".

  3. Manually deleting the files in the "SoftwareDistribution" folder (which stores temporary update files). You can find it at C:\Windows\SoftwareDistribution.

    stop windows update and delete files

2.6 Use Command Line Tools

For a more powerful cleanup, you can use Command Prompt with administrative privileges to delete your files.

Use the Command Line to delete files:

  1. Press the "Windows" key, type "cmd", right-click "Command Prompt", and select "Run as administrator".

  2. Type "cleanmgr /sageset:1" and press "Enter". This will open an advanced "Disk Cleanup" settings window. Select everything you want to clean and click "OK".

  3. Then, run the cleanup using "cleanmgr /sagerun:1" to execute the cleaning with the settings you just saved.

    use command line to delete files

2.7 Gain Permission to Delete Files on PC

If a file is locked, you might need to take ownership of it. This is a more advanced process and should be done with caution.

To delete locked files:

  1. Right-click the file or folder you want to delete. Then go to "Properties" > "Security" > "Advanced".

  2. Next to "Owner", click "Change" and enter your user name. Click "OK".

  3. Once you're the owner, you can modify the permissions to allow deletion.

    change ownership to delete files

2.8 Run System File Checker and DISM

Corrupted system files can sometimes interfere with cleanup tools. System File Checker (SFC) and Deployment Image Servicing and Management (DISM) can help fix this.

  1. Click "Windows" and input "cmd" to open "Command Prompt", and run it as administrator.

  2. First, run the DISM command: DISM.exe /Online /Cleanup-image /Restorehealth. Wait for it to complete.

  3. Then, run the SFC command: sfc /scannow. This will scan and repair corrupted system files.

    run system file checker and dism

Part 3: Delete Your Files on PC via iReaShare Data Wipe Without Disk Cleanup

If you continue to have trouble with Disk Cleanup or need a more secure method for permanent deletion, a professional data erasure tool, iReaShare Data Wipe, can be a great alternative. It is designed to securely and permanently erase files, folders, and entire partitions. Besides, it can wipe the free space only to remove deleted files thoroughly.

Main features of iReaShare Data Wipe:

* Permanently delete files from a Windows PC.

* Erase hard drives, SD cards, USB drives, and other external storage devices.

* Provide two erasing modes: Quick Erase and Deep Erase.

* Overwrite data to effectively prevent data from recovery.

* Allow you to shred specific files and folders.

* Support Windows 11/10/18/7.

Download iReaShare Data Wipe.

Download for Win

Here's how to use this data wipe to delete files completely:

  1. Install iReaShare Data Wipe on your PC after downloading it. Then launch the software on the computer.

    launch the data wipe software on your pc
  2. To wipe all your data from your PC, you can choose "Drive Wiper" on the side panel. Then select a drive and an erasing mode.

    choose a drive that you want to remove all the files entirely
  3. Click "Erase Now", and then confirm the operation by tapping "OK" on the popup. The software will begin to delete all your data from your computer.

    delete all the files at once without disk cleanup

Here's the video guide to delete files from a PC:

Tips: Please back up your important files before deleting your files.

Part 4: FAQs About Disk Cleanup Deleting Files

Q1: Will Disk Cleanup remove all files on my PC?

No, Disk Cleanup does not remove all files on your PC. It is designed to safely delete temporary files, system files, and other non-essential files that are no longer needed by your operating system or applications, such as temporary internet files, system error memory dump files, temporary files, recycle bin, old system restore points, downloaded program files, etc.

Q2: How do I force delete a file that won't delete?

If a file on your Windows PC won't delete (because it's locked, in use, or protected), you can force delete it using several methods. Here are 2 effective solutions:

  1. Close Programs Using the File: Press Ctrl + Shift + Esc to open Task Manager. Look for any program that might be using the file (Word, Photoshop, etc.). Right-click > tap End task. Then try deleting the file again.
  2. Restart in Safe Mode: Press Win + I > Update & Security > Recovery. Under Advanced Startup, click Restart now. Then choose Troubleshoot > Advanced options > Startup Settings > Restart. Now, try deleting the file.

Conclusion

While Disk Cleanup is a handy tool, it has its limitations. By using the methods above, you can often fix the issues and get your PC running smoothly again. For the most stubborn or sensitive files, a dedicated data-wiping tool like iReaShare Data Wipe can provide the peace of mind that your data is truly gone.

Download for Win

Related Articles

Is It Safe to Sell Used Hard Drives? Comprehensive Answers and Methods

Wipe and Clean Seagate External Hard Drive on Windows and Mac

How to Factory Reset PC Windows 10 or 11 Easily (3 Ways)

7 Best DBAN Alternatives Available to Wipe Hard Drive Completely

Elowen Wilson Senior Editor
Elowen has been specializing in iOS devices and data transfer for over three years. She is very familiar with all generations of iPhones and iPads, so she is able to provide readers with all kinds of useful guides and tips about iOS backup, data recovery, unlocking, system repair, etc.