Data Erasure
 
...

Disk Cleanup Not Deleting Files on Windows 10/11: 5 Quick Fixes

...

After using a Windows computer for a long period of time, the system automatically accumulates a large number of temporary files, update caches, log files, etc., which occupy disk space and slow down the computer's performance. Disk Cleanup is a built-in utility from Microsoft that helps users quickly free up disk space and optimize system performance.

However, many users have reported that after running Disk Cleanup, they found that files were not deleted and space was still being occupied. Why does this happen? And how can it be fixed? This article will provide a detailed analysis of the reasons behind the "Disk Cleanup not deleting files" issue and offer several step-by-step solutions.

disk cleanup not deleting files

 

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

Before diving into solutions, it's important to understand why Disk Cleanup not deleting files occurs. Here are the most common causes:

  • Insufficient Permissions: Some system files require administrator privileges to be deleted.
  • File in Use: If the target file is being used by a background program or system process, the cleanup tool cannot forcefully delete it.
  • Protected System Files: Windows automatically protects certain important files to prevent accidental deletion.
  • Disk Cleanup Tool Malfunction: If the program encounters an error or update issue, it may fail to clean up properly.
  • Corrupted Temporary File Locations: If the temporary or cache folder is corrupted, the cleanup may fail.

Part 2. How to Fix Disk Cleanup Not Deleting Files on Windows PC

Here are five proven methods to fix the problem of Disk Cleanup not deleting files. Follow each one carefully to restore your system's ability to clean up storage properly.

Fix 1. Log in as Administrator and Retry Disk Cleanup

Sometimes, Disk Cleanup can't delete certain files simply because it doesn't have enough permissions. Running it as an administrator gives the tool elevated privileges to remove system and protected files.

Here is how to fix Disk Cleanup not deleting temp files:

Step 1. Press "Windows + S" to open the search bar.

Step 2. Type "Disk Cleanup".

Step 3. Right-click on Disk Cleanup and choose "Run as administrator".

Step 4. Select the drive you want to clean, then click "Clean up system files" in the next window to access additional options for a more thorough cleanup.

log in as administractor to fix windows 10 disk cleanup not deleting windows update files

Fix 2. Gain Full Permissions to Delete Files

If the system displays the message "No permission to delete this file", it means the file's ownership or permission settings are incorrect. By manually changing the file's owner and permissions, you can regain full control and delete the file normally.

Here is how to fix Windows Disk Cleanup not deleting files:

Step 1. Right-click the file or folder you want to delete, then select "Properties" > "Security" > "Advanced".

Step 2. Next to "Owner", click "Change" and enter your username, then click "OK".

Step 3. Once you're the owner, you can adjust the permissions to allow for deletion.

gain full permissions to fix windows disk cleanup not deleting files

Fix 3. Close Programs That Are Using the Files

If the target file is being used by a program, Disk Cleanup won't be able to modify or delete it. You can use Task Manager to end these processes and then try the cleanup again.

Here is how to fix Windows 10/11 Disk Cleanup not deleting Windows update files:

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

close programs to fix disk cleanup not deleting temp files windows 11

Step 2. Under the "Processes" tab, look for applications that may be using your files (such as browsers, Windows Update, antivirus software, or video players).

Step 3. Select the process and click "End Task".

Step 4. Once done, try running Disk Cleanup again.

Fix 4. Manually Delete Specific Files

If Disk Cleanup fails to remove temporary files, you can manually clean them yourself. This direct approach often works when automatic cleanup tools get stuck.

Here is how to fix Disk Cleanup not deleting temp files on Windows 11:

Step 1. Press "Windows + E" to open File Explorer.

Step 2. Navigate to the following directories:

  • C:\Windows\Temp
  • C:\Users\<YourUsername>\AppData\Local\Temp

Step 3. Select all files (Ctrl + A).

Step 4. Press "Shift + Delete" to permanently remove them.

manually delete files to fix disk cleanup not deleting temp files

Fix 5. Use Storage Sense for Automatic Cleanup

Windows 10 and 11 come with a built-in feature called Storage Sense, which automatically removes temporary files, Recycle Bin contents, and system cache. You can use this method when Disk Cleanup fails to delete files on your Windows 11 or Windows 10 PC.

Here is how to fix Disk Cleanup not deleting files on Windows 10/11:

Step 1. Open "Settings" > "System" > "Storage".

Step 2. Toggle on "Storage Sense".

Step 3. Click "Configure Storage Sense or run it now".

Step 4. Choose how often you want cleanup to occur (daily, weekly, or monthly).

Step 5. Enable automatic removal of temporary files, downloads, and Recycle Bin items.

Step 6. Click "Run Storage Sense now" to start the cleanup immediately.

use storage sense to fix disk cleanup not deleting files

Part 3. How to Delete Files on Windows Without Disk Cleanup

If you still encounter issues with Disk Cleanup or need a safer way to permanently delete files, Coolmuster Data Erasure is an excellent alternative. This professional tool is designed to securely and permanently erase files, folders, and even entire hard drives without any chance of recovery. Moreover, it allows you to wipe only the free space to completely remove previously deleted data, ensuring your privacy is fully protected.

Main features of Coolmuster Data Erasure:

  • Permanently remove files from a Windows PC.
  • Erase data from USB drives, SD cards, hard drives, and other external storage devices.
  • Offer two erasure modes: Quick Erase and Deep Erase.
  • Overwrite data to ensure it cannot be recovered.
  • Completely erase all types of files from various storage devices, including photos, videos, audio files, documents, emails, and more.
  • Three different erasure modes are available: File Shredder, Drive Wiper, and Free Space Wiper.
  • A read-only, risk-free, and cost-effective Windows data erasure solution.

Here is how to permanently delete files on a Windows PC:

01 Download, install this software on your PC and then launch it.

02To erase all your data, select "Drive Wiper" from the side panel. Then, choose a drive and an erasure mode.

choose the desired erasure level

03Click "Erase Now" and confirm the action by clicking "OK" on the pop-up. The software will begin wiping all the data from your computer.

how to delete files on pc using data erasure

Video Tutorial:

Conclusion

When Disk Cleanup does not delete files, the five fixes above can help you resolve the issue and clean up your system successfully. If you want a faster, safer, and more powerful way to permanently remove unwanted files and protect your privacy, Coolmuster Data Erasure is the best choice.

With one click, it securely wipes data beyond recovery, freeing up storage space and giving your PC a fresh start.

Related Articles:

[Solved] How to Erase SD Card on Windows/Mac/Android/Camera?

How to Reset Hard Drive in Windows 11/10? Solved in 4 Secure Ways

How to Delete All Data from HP Laptop? Solved in 3 Safe Ways

[Step-by-Step Guide] How to Securely Wipe Free Space on SSD?

    Data Erasure     Disk Cleanup Not Deleting Files on Windows 10/11: 5 Quick Fixes
Data Erasure
Upload and permanently erase personal files or folders to prevent recovery.
Erase all data from hard drives or external devices, including existing and deleted files.
Permanently erase deleted data and free space from drives without affecting current files.
Fully erase various file types, like photos, videos, documents, emails, etc.
Choose from 3 modes: File Shredder, Drive Wiper, Free Space Wiper.
A read-only, risk-free, cost-effective Windows data erasure tool.
Terms & Conditions Privacy (UPDATED) License Agreement Uninstall Copyright © 2025 Coolmuster. All Rights Reserved.
feedbackFeedback