How to fix
Disk Cleanup not deleting files
on Windows
Fix Disk Cleanup issues on Windows 10 and 11 effortlessly! Get your files deleted with expert-tested solutions and clear your disk space in minutes.
What causes How to fix Disk Cleanup not deleting files in Windows?
- File corruption
- Permission problems
- Conflicts with other programs or services
- Accumulation of unneeded files
- Improper configuration of Disk Cleanup
Repairs Windows system files, removes malware, and restores a clean OS state — without reinstalling.
Hello. When I try to use Disk Cleanup in Windows to get rid of junk files it does not work. Any way to fix this?
Users looking to free up priceless hard disk space and improve system efficiency may find it annoying when Disk Cleanup fails to erase files in Windows. System junk files, application cache files, temporary Internet files, download files, log files, and other accumulated items can all be found and eliminated using the built-in Windows software known as Disk Cleanup. If ignored, these files can gradually take up a sizable amount of disk space, which has an effect on the responsiveness and general effectiveness of the system.
Disk Cleanup's failure to perform as intended might have a variety of effects on users. The main issue is that it inhibits users from freeing up disk space, which can result in sluggish system performance and insufficient storage for crucial data and apps. Additionally, a file system that is cluttered and unorganized due to the accumulation of unneeded files might make it difficult to find and handle crucial documents and data.
Disk Cleanup not working properly might also be a sign of more serious problems with the Windows operating system. File corruption, permission problems, and conflicts with other programs or services are a few examples of these challenges. Users may become frustrated and perplexed if they depend on Disk Cleanup as a regular maintenance tool just to discover that it does not produce the outcomes they were hoping for.
Resolving the issue of Disk Cleanup not deleting files typically involves troubleshooting and addressing the underlying causes. Repairing damaged system files, checking that the utility has the right permissions configured, or looking into program incompatibilities are a few potential fixes. However, depending on the underlying cause, different measures may be required to solve the issue.
In this guide, you will find 5 steps that should help you fix Disk Cleanup not deleting files in Windows. You can also run a maintenance tool like [d1] that can fix most system errors, BSODs,[ref en-1] corrupted files, registry[ref en-2] issues, or clear cookies and cache[ref en-3] automatically. Otherwise, follow the step-by-step instructions below.

Method 1. Fix Corrupted System Files
Use Command Prompt commands to repair system file corruption:
- Open Command Prompt as administrator
- Use the following command and press Enter:
sfc /scannow

- Reboot your system
- If SFC returned an error, then use the following command lines, pressing Enter after each:
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
Method 2. Run Disk Cleanup as Administrator
- Type Disk Cleanup in the Windows search box.
- Right-click Disk Cleanup.
- Select Run as administrator from the context menu.
Method 3. Get Permission to Delete Files
- In File Explorer, right-click on the file that cannot be deleted and select Properties from the context menu.
- Move on to the Security tab, then select the current user account and check if it has Full control permission. If not, click the Edit button.

- In the pop-up window, select your account and make sure the Full control permission is set to Allow.
- Click Apply > OK. After that, run Disk Cleanup again and check if the target files can be deleted successfully.
Method 4. Delete Temporary Files Manually
- Right-click the Windows logo button to select Run.
- In the text box, type %temp% and press Enter.
- Press the Ctrl + A key combination to select all temporary files, then right-click on them to select Delete.

Method 5. Use Storage Sense
- To configure Storage Sense settings, navigate to Windows Settings > System > Storage.

- In the right panel, click Configure Storage Sense or run it now.
- On the next page, you can turn on Storage Sense and set which files to delete.
Bottom line
To resolve the issue of Disk Cleanup not deleting files, you can repair damaged system files, ensure the utility has the correct permissions, and check for program incompatibilities. If these steps do not resolve the problem, consider using a maintenance tool to fix system errors.
Frequently asked questions
Disk Cleanup may not delete files in Windows 10 due to insufficient permissions or a corrupted system file. Running the Disk Cleanup as an administrator or using the System File Checker can help resolve this issue.
To force Disk Cleanup to delete temporary files in Windows 11, ensure that you select the appropriate file categories and run the tool as an administrator. Additionally, check for any active processes that might be locking those files.
If Disk Cleanup is stuck on 'calculating' in Windows, try restarting your PC and running the tool again. If the problem persists, consider using the Disk Cleanup command via Command Prompt for a more direct approach.




Report an issue
What's wrong with this guide? We review every report and update or remove content.
Report received — thank you. We'll review and fix it.
You need a free account to submit a report.
Be the first to comment