Windows 10 Disk Cleanup question


  1. Posts : 752
    Win10
       #1

    Windows 10 Disk Cleanup question


    I wanted to free up some disk space using the Disk Cleanup utility and I noticed that among the list is called Windows Update Cleanup. If I leave it selected, will this remove or uninstall all Windows security updates?

    I have an attached image to show what I am referring to.

    Thank you.
    Attached Thumbnails Attached Thumbnails Windows 10 Disk Cleanup question-capture.png  
      My Computer


  2. Posts : 18,158
    Win 10 Home 10.0.19044.1766 (x64) [21H2]
       #2

    win10freak said:
    I wanted to free up some disk space using the Disk Cleanup utility and I noticed that among the list is called Windows Update Cleanup. If I leave it selected, will this remove or uninstall all Windows security updates?

    I have an attached image to show what I am referring to.

    Thank you.


    It removes the WU leftovers. Iirc it no longer does even that since 20H2.

    It used to remove all but the last of these folder (which are large).

    Windows 10 Disk Cleanup question-image1.png




    Since Disk Cleanup stopped doing that, I personally have changed to using this, instead...
    Dism.exe /online /Cleanup-Image /StartComponentCleanup

    Again, this removes all but the last (most recent) folder in LCU.

    If you keep decent backups, you don't really need these folders. They allow you to uninstall or rollback, w/e update they correspond to. Backup software, ofc, does this as well.
      My Computer


  3. Posts : 39,994
    windows 10 professional version 1607 build 14393.969 64 bit
       #3

    To free up additional space see:

    Free Up Drive Space in Windows 10
      My Computer


  4. Posts : 7,122
    Windows 10 Pro 64 bit
       #4

    I also use Wise Disk Cleaner which finds more stuff to delete and delete the contents of the large update files in C:/Windows/Servicing/LCU - see LCU folder is LARGE-But what is it?

    I also use CCleaner to delete browser cache files and user temp files but not to fiddle with the registry. Use CCEnhancer to augment it.
      My Computers


  5. Posts : 16,143
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #5

    Hello @win10freak,

    win10freak said:
    I wanted to free up some disk space using the Disk Cleanup utility and I noticed that among the list is called Windows Update Cleanup. If I leave it selected, will this remove or uninstall all Windows security updates?

    It does NOT Remove or Uninstall ANY WU's. It just cleans up older versions of the system files.

    Windows Update Cleanup: When you install updates from Windows Update, Windows keeps older versions of the system files around. This allows you to uninstall the updates later. However, if you donít plan on ever uninstalling any Windows updates, this is a waste of space. This is safe to delete as long as your computer is working properly and you donít plan on uninstalling any updates.

    If you create regular System Images then you DON'T really need these as you can Mount the System Image and retrieve the folders if needed.

    I hope this helps.
      My Computer


  6. Posts : 17,350
    Windows 11 Pro
       #6

    Ghot said:
    Since Disk Cleanup stopped doing that, I personally have changed to using this, instead...
    Dism.exe /online /Cleanup-Image /StartComponentCleanup
    I like to add /resetbase to the end of that command. After every install of Windows 10 is fully updated, and periodically thereafter, I run:

    Code:
    dism /online /cleanup-image /restorehealth
    sfc /scannow  <-repeat until no errors found
    dism /online /cleanup-image /startcomponentcleanup /resetbase
      My Computer


  7. Posts : 5,200
    Windows 11 Home
       #7

    NavyLCDR said:
    I like to add /resetbase to the end of that command.
    ResetBase damages windows updates, but unless you enable it via a reg tweak, it is not running anyway.
      My Computer


  8. Posts : 17,350
    Windows 11 Pro
       #8

    TairikuOkami said:
    ResetBase damages windows updates, but unless you enable it via a reg tweak, it is not running anyway.
    It has never damaged Windows Updates on any of my computers.
      My Computer


  9. Posts : 5,200
    Windows 11 Home
       #9

    NavyLCDR said:
    It has never damaged Windows Updates on any of my computers.
    Have you enabled it? It caused a damage about 3 times on mine (0x800f081f), on 20H1/2 and 21H1, the fix is difficult, it is easier to restore a system image. MS fixed it, then it broke again, etc. I used to run it for years, but it is not worth the risk and a wasted time on restore just to install a single update.
      My Computer


  10. Posts : 17,350
    Windows 11 Pro
       #10

    TairikuOkami said:
    Have you enabled it? It caused a damage about 3 times on mine (0x800f081f), on 20H1/2 and 21H1, the fix is difficult, it is easier to restore a system image. MS fixed it, then it broke again, etc. I used to run it for years, but it is not worth the risk and a wasted time on restore just to install a single update.
    Windows Update has always been enabled on all of my computers.
      My Computer


 

  Related Discussions
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 16:43.
Find Us




Windows 10 Forums