DISM.exe Cleanup-Image


I run this one after every Windows Update. It cleans all but the last folder, from the C:\Windows\servicing\LCU folder...

Dism.exe /online /Cleanup-Image /StartComponentCleanup
The LCU folder in my computer is 188MG Date Oct 7
 

Attachments

  • LCU folder.jpg
    LCU folder.jpg
    21.9 KB · Views: 6

My Computer My Computer

At a glance

windows 11 ,Ubuntu Cinnamon - for tinkering onlyIntel i51140016 GB0
OS
windows 11 ,Ubuntu Cinnamon - for tinkering only
Computer type
PC/Desktop
Manufacturer/Model
No Name - Assembled by a Compute shop in a Strip Mall.
CPU
Intel i511400
Motherboard
ASUS PRIME B560-PLUS motherboard
Memory
16 GB
Graphics Card(s)
0
Sound Card
0
Monitor(s) Displays
25 in BenQ
Screen Resolution
1920 x 1080
Hard Drives
9 SSDs 4 Nvme, 2 in M.2 slot and 2 in PCIE with adapter + 5 Sata. DVD drive
PSU
600w
Case
Antec- VSK4000E-U3 Mid Tower
Internet Speed
Bell pure fibre optic. 3 GB package. 6E Wireless adapter 750/500
Browser
Firefox, Microsoft Edge
Antivirus
Defender
The LCU folder in my computer is 188MG Date Oct 7


Component Cleanup only removes all BUT the last (newest) folder, in the LCU folder.
The 224MB is from one of the smallest updates. Generally they are about 1GB for each Microsoft Tuesday update.

I'm referring to the folder(s) inside the LCU folder. But I believe we did just have a very small one, on Windows 11.
I'm on 22000.348
 

My Computers My Computers

  • At a glance

    Win 11 Home ♦♦♦26200.8655 ♦♦♦♦♦♦♦25H2AMD Ryzen 7 3700XG.Skill (F4-3200C14D-16GTZKW)EVGA RTX 2070 (08G-P4-2171-KR)
    OS
    Win 11 Home ♦♦♦26200.8655 ♦♦♦♦♦♦♦25H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® [May 2020]
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    Asus Pro WS X570-ACE (BIOS 5302)
    Memory
    G.Skill (F4-3200C14D-16GTZKW)
    Graphics Card(s)
    EVGA RTX 2070 (08G-P4-2171-KR)
    Sound Card
    Realtek ALC1220P / ALC S1220A
    Monitor(s) Displays
    Dell U3011 30"
    Screen Resolution
    2560 x 1600
    Hard Drives
    2x Samsung 860 EVO 500GB,
    WD 4TB Black FZBX - SATA III,
    WD 8TB Black FZBX - SATA III,
    DRW-24B1ST CD/DVD Burner
    PSU
    PC Power & Cooling 750W Quad EPS12V
    Case
    Cooler Master ATCS 840 Tower
    Cooling
    CM Hyper 212 EVO (push/pull)
    Keyboard
    Ducky DK9008 Shine II Blue LED
    Mouse
    Logitech Optical M-100
    Internet Speed
    300/300
    Browser
    Firefox (latest)
    Antivirus
    Bitdefender Total Security
    Other Info
    Speakers: Klipsch Pro Media 2.1
  • At a glance

    Windows XP Pro 32bit w/SP3AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Operating System
    Windows XP Pro 32bit w/SP3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® (not in use)
    CPU
    AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)
    Motherboard
    ASUS M2N32-SLI Deluxe Wireless Edition
    Memory
    TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)
    Graphics card(s)
    EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Sound Card
    Onboard
    Monitor(s) Displays
    ViewSonic G90FB Black 19" Professional (CRT)
    Screen Resolution
    up to 2048 x 1536
    Hard Drives
    WD 36GB 10,000rpm Raptor SATA
    Seagate 80GB 7200rpm SATA
    Lite-On LTR-52246S CD/RW
    Lite-On LH-18A1P CD/DVD Burner
    PSU
    PC Power & Cooling Silencer 750 Quad EPS12V
    Case
    Generic Beige case, 80mm fans
    Cooling
    ZALMAN 9500A 92mm CPU Cooler
    Keyboard
    Logitech Classic Keybooard 200
    Mouse
    Logitech Optical M-BT96a
    Internet Speed
    300/300
    Browser
    Firefox 3.x ??
    Antivirus
    Symantec (Norton)
    Other Info
    Still assembled, still runs. Haven't turned it on for 15 years?
How many updates can be uninstalled after running Windows Update Cleanup?

WU cleanup.jpg
 

My Computer My Computer

At a glance

Windows 11 - Release Preview channelIntel 13900KCorsair Dominator Platinum RGB 32GB DDR5 6000MHzGigabyte 4090 Gaming OC
OS
Windows 11 - Release Preview channel
Computer type
PC/Desktop
Manufacturer/Model
Kol's custom ROG
CPU
Intel 13900K
Motherboard
Asus ROG Maximus Hero Z790
Memory
Corsair Dominator Platinum RGB 32GB DDR5 6000MHz
Graphics Card(s)
Gigabyte 4090 Gaming OC
Sound Card
SoundBlaster X-AE5
Monitor(s) Displays
Dell Alienware AW3821DW
Screen Resolution
3840x1600 144hz
Hard Drives
Samsung 980 Pro 500GB
860 EVO's
Samsung 990 Pro 2TB
External RAID enclosure - 2x Seagate 3TB HDD
PSU
Seasonic Prime Ultra 1300W Platinum
Case
Phanteks Eclipse P600S
Cooling
Custom water cooling. EK Velocity (CPU), EK Quantum Vector2 (GPU), EK Quantum D5 Pump, 360mm radiator in case + 560mm external radiator
Keyboard
Corsair K100
Mouse
Logitech G502X
Antivirus
Windows Defender, VBS
How many updates can be uninstalled after running Windows Update Cleanup?

View attachment 15408


There's no one size fits all answer.
As zbook and I both mentioned, even without cleaning up after Windows updates, there will still be some updates that can't be removed.

The object of running Disk Cleanup and Dism.exe /online /Cleanup-Image /StartComponentCleanup, is to remove "junk files" from the Windows drive.

The sfc /scannow and the restore health commands, are for troubleshooting and repair.




As MANY have mentioned, the answer to just about everything is... use backup software.
Restoring from a backup completely overwrites the Windows install, with the saved backup.
It's like a time machine.
With backup software you can undo anything that you did or that has just happened, to your computer. :)
 
Last edited:

My Computers My Computers

  • At a glance

    Win 11 Home ♦♦♦26200.8655 ♦♦♦♦♦♦♦25H2AMD Ryzen 7 3700XG.Skill (F4-3200C14D-16GTZKW)EVGA RTX 2070 (08G-P4-2171-KR)
    OS
    Win 11 Home ♦♦♦26200.8655 ♦♦♦♦♦♦♦25H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® [May 2020]
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    Asus Pro WS X570-ACE (BIOS 5302)
    Memory
    G.Skill (F4-3200C14D-16GTZKW)
    Graphics Card(s)
    EVGA RTX 2070 (08G-P4-2171-KR)
    Sound Card
    Realtek ALC1220P / ALC S1220A
    Monitor(s) Displays
    Dell U3011 30"
    Screen Resolution
    2560 x 1600
    Hard Drives
    2x Samsung 860 EVO 500GB,
    WD 4TB Black FZBX - SATA III,
    WD 8TB Black FZBX - SATA III,
    DRW-24B1ST CD/DVD Burner
    PSU
    PC Power & Cooling 750W Quad EPS12V
    Case
    Cooler Master ATCS 840 Tower
    Cooling
    CM Hyper 212 EVO (push/pull)
    Keyboard
    Ducky DK9008 Shine II Blue LED
    Mouse
    Logitech Optical M-100
    Internet Speed
    300/300
    Browser
    Firefox (latest)
    Antivirus
    Bitdefender Total Security
    Other Info
    Speakers: Klipsch Pro Media 2.1
  • At a glance

    Windows XP Pro 32bit w/SP3AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Operating System
    Windows XP Pro 32bit w/SP3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® (not in use)
    CPU
    AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)
    Motherboard
    ASUS M2N32-SLI Deluxe Wireless Edition
    Memory
    TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)
    Graphics card(s)
    EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Sound Card
    Onboard
    Monitor(s) Displays
    ViewSonic G90FB Black 19" Professional (CRT)
    Screen Resolution
    up to 2048 x 1536
    Hard Drives
    WD 36GB 10,000rpm Raptor SATA
    Seagate 80GB 7200rpm SATA
    Lite-On LTR-52246S CD/RW
    Lite-On LH-18A1P CD/DVD Burner
    PSU
    PC Power & Cooling Silencer 750 Quad EPS12V
    Case
    Generic Beige case, 80mm fans
    Cooling
    ZALMAN 9500A 92mm CPU Cooler
    Keyboard
    Logitech Classic Keybooard 200
    Mouse
    Logitech Optical M-BT96a
    Internet Speed
    300/300
    Browser
    Firefox 3.x ??
    Antivirus
    Symantec (Norton)
    Other Info
    Still assembled, still runs. Haven't turned it on for 15 years?
[..]

As MANY have mentioned, the answer to just about everything is... use backup software.
Restoring from a backup completely overwrites the Windows install, with the saved backup.
It's like a time machine.
:)
This has been my approach. If there are any new issues with my system I will make a Macrium Image and then restore with the one done previously. I do weekly backup.

After the restoration I will go into Macrium image to retrieve data that would have changed during the week. This includes Thuderbird folder in users Raoming folder. Since the days when I played with OS2 Warp I have all my important documents in a root folder called "Personal". I would copy this from the image back to my restored system. Pictures and videos are in a separate SSD in my desktop.
 

My Computer My Computer

At a glance

windows 11 ,Ubuntu Cinnamon - for tinkering onlyIntel i51140016 GB0
OS
windows 11 ,Ubuntu Cinnamon - for tinkering only
Computer type
PC/Desktop
Manufacturer/Model
No Name - Assembled by a Compute shop in a Strip Mall.
CPU
Intel i511400
Motherboard
ASUS PRIME B560-PLUS motherboard
Memory
16 GB
Graphics Card(s)
0
Sound Card
0
Monitor(s) Displays
25 in BenQ
Screen Resolution
1920 x 1080
Hard Drives
9 SSDs 4 Nvme, 2 in M.2 slot and 2 in PCIE with adapter + 5 Sata. DVD drive
PSU
600w
Case
Antec- VSK4000E-U3 Mid Tower
Internet Speed
Bell pure fibre optic. 3 GB package. 6E Wireless adapter 750/500
Browser
Firefox, Microsoft Edge
Antivirus
Defender
I read the 2 pages on this post, & did the analyze Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore & mine says ComponentStore cleanup recommendation: NO - the info is very Good. They go back to 2021..... any new comments, thanks for your time - cheers
 

Attachments

  • analyze.webp
    analyze.webp
    47.1 KB · Views: 5

My Computer My Computer

At a glance

Windows 11 25H2 (OS Build 26200.8655)Processor: 11th Gen Intel(R) Core(TM) i5-1135...12GBIntel R Iris R XE Graphics family
OS
Windows 11 25H2 (OS Build 26200.8655)
Computer type
Laptop
Manufacturer/Model
Dell
CPU
Processor: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40G
Motherboard
64-bit operating system Dell 0XMF7W
Memory
12GB
Graphics Card(s)
Intel R Iris R XE Graphics family
Sound Card
Cirrus Speakers High Definition Audio
Monitor(s) Displays
Generic PnP monitor
Screen Resolution
1920 x 1080
Hard Drives
NVMe 670p SSDPEKNU512GZ NVMe I NTEL 512GB
Case
cheap
Mouse
Logitech wireless mouse
Internet Speed
16 Mps download
Browser
Google Chrome
Antivirus
Security: Microsoft Defender & Malwarebytes Premium (with browser guard)
Other Info
Dell model: Inspiron 15 3511
Back
Top Bottom