Disk Cleanup is Broken.. How Do I Fix It?

  1.    #1

    Disk Cleanup is Broken.. How Do I Fix It?


    Whenever I use disk cleanup, the process takes forever to clean up my drive. How can I fix this?
    Last edited by essenbe; 31 Jan 2019 at 22:29. Reason: Fix title
      My ComputerSystem Spec

  2. Bree's Avatar
    Posts : 10,477
    10 Home x64 (1809) (10 Pro on 2nd pc)
       #2

    yahanna said: View Post
    Whenever I use disk cleanup, the process takes forever to clean up my drive. How can I fix this?
    If you are cleaning up system files then the analysis and the clean up of the Windows Update backups is by far the most time consuming task. Running Disk Clean up after a cumulative update is inevitably going to take some time.

    There's no short cut I'm afraid. The windows update analysis and/or clean up takes a long time however you run it. For example, the analysis using Dism from a command prompt (Admin) will take just as long as it does in Disk Clean up.

    Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore

    Analyze Component Store (WinSxS folder) in Windows 10 | Tutorials
      My ComputersSystem Spec


  3. Posts : 24,417
    windows 10 professional version 1607 build 14393.969 64 bit
       #3

    There are default settings for silent cleanup which cleans
    downloaded program files
    temporary internet files
    thumbnails

    Task scheduler is regularly performing the silent cleanup.

    If you perform a manual clean there are additional boxes that can be checked for cleaning:
    system created windows error reporting
    directX shader cache
    delivery optimization files
    downloads
    recycle bin
    temporary files

    The duration of time may depend upon the contents of the other files.

    If disk cleanup is not working properly you can see if an in place upgrade repair provides improvement.
      My ComputerSystem Spec

  4.    #4

    Cleaning up after the monthly Windows updates does take a while even when using a SSD
      My ComputersSystem Spec

  5. Callender's Avatar
    Posts : 1,159
    Windows 10 Home 1809 32-bit
       #5

    Disc cleanup will likely be retired in favor of Storage Sense sometime in the future.
    Download Cleanmgr+ - MajorGeeks
    I've just run this software and cleanup took less than 30 seconds. I didn't include Windows Disc Cleanup though.

    Click image for larger version. 

Name:	Cleanmgr+ beta (Administrator).jpg 
Views:	1 
Size:	80.8 KB 
ID:	223080

    Click image for larger version. 

Name:	Cleanmgr+ beta 1.jpg 
Views:	61 
Size:	56.1 KB 
ID:	223081

    Use "Detect" to add any of the built in scripts or edit them or import your own scripts.

    Click image for larger version. 

Name:	Cleanmgr+ beta 2.jpg 
Views:	1 
Size:	64.5 KB 
ID:	223082

    Click image for larger version. 

Name:	Cleanmgr+ beta 3.jpg 
Views:	1 
Size:	59.5 KB 
ID:	223083

    Uncheck "Windows Downloads" if you don't want your default downloads folder cleared.

    Also see Posts #4 & #5 here:

    downloads folder windows 10 1809 - Windows 10 Forums


    Click image for larger version. 

Name:	Cleanmgr+ beta 4.jpg 
Views:	61 
Size:	36.0 KB 
ID:	223086

    Use "Preview" to see what will be removed.

    Click image for larger version. 

Name:	Cleanmgr+ beta 5.jpg 
Views:	1 
Size:	127.2 KB 
ID:	223087
    If happy with the results go ahead and clean.


    Click image for larger version. 

Name:	Cleanmgr+ beta 6.jpg 
Views:	1 
Size:	179.5 KB 
ID:	223089
      My ComputerSystem Spec

  6.    #6

    Removing Windows Updates leftovers takes time no matter the hardware. It's like issuing a dism /online /cleanup-image /startcomponentcleanup

    It just takes some time to complete.
      My ComputerSystem Spec

  7.    #7

    @Callendar: thanks for sharing the link to Cleanmgr+. Very cool program. Much-appreciated. Need to spend some time with it, but may finally have a found a worthy replacment for UnCleaner, which doesn't seem to be maintained any more.
    Thanks again,
    --Ed--
      My ComputersSystem Spec

  8. storageman's Avatar
    Posts : 566
    Windows 10 Pro 1809 17763.379
       #8

    yahanna said: View Post
    Whenever I use disk cleanup, the process takes forever to clean up my drive. How can I fix this?
    The only way to fix the performance problem is don't do it. The reason is takes so long, each line of code + Module has to be updated in the WinSxS files. This is a huge directory within the windows directory maintained to document what was changed since the last Feature update. Take a look at it, its HUGE and gets bigger after each CU, Defender Update. etc just about everything. Windows will eventually run the process to update WinSxS and clear out the Win update directory, in the background and will control its CPU/IO usage. This is another reason that I believe why they need to perform regular scheduled Feature updates. During a feature update, that directory gets wiped clean and starts over again with this features base line code. Also the longer updates are applied to WinSxS, the longer they take to complete. I really don't know why MS does it, but to me its a poor implementation.

    Maybe somebody here with more knowledge can further explain it ?
      My ComputersSystem Spec

  9. Ztruker's Avatar
    Posts : 7,438
    Windows 10 Pro X64 1809 17763.348
       #9

    I still use CCleaner. Have not found a better program yet, despite all the hype.
      My ComputersSystem Spec

  10. Callender's Avatar
    Posts : 1,159
    Windows 10 Home 1809 32-bit
       #10

    EdTittel said: View Post
    Need to spend some time with it, but may finally have a found a worthy replacment for UnCleaner, which doesn't seem to be maintained any more.
    Maybe take a look at this:

    DiskMax * Disk Cleanup and Windows Performance Optimization - Software - Koshy John

    System+ scan gives the option to clear all event logs which is unusual.

    Click image for larger version. 

Name:	System+.jpg 
Views:	23 
Size:	9.7 KB 
ID:	223411
      My ComputerSystem Spec


 

Related Threads
Update Cleanup missing in Disk Cleanup in Performance & Maintenance
Yesterday I reset my PC. No apparent issues there, but after I installed the update today (KB4093112) I noticed that update cleanup was missing in the disk cleanup. Yes, I clicked "clean up system files". "Update Cleanup" appears in the green...
Solved Disk Cleanup seems to be broken in Performance & Maintenance
When I try to run it, it seems to do the job just fine. After, let it scan for files again, and you'll see that the 'Files to delete' are the same as before: nothing got deleted. Is there any way to reset Disk Cleanup?
Hi, I am running low on space on my computer and I want to get rid of some stuff. However, the disk cleanup tools that I've tried will only get rid of 100Mb. Any suggestions?
I have a win10 machine here that is getting worse and worse. Now it is off the web permanently, I can't connect at all. It was intermittent and then progressively worse and now totally off. It is supposed to be connecting via wifi3 whatever...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 13:19.
Find Us