Solved Why does Disk Cleanup take so long?


wiganken

Well-known member
Power User
VIP
Local time
7:21 AM
Posts
1,312
Location
UK
OS
Windows 11 Pro
This Windows niggle has been annoying me for years so not just Windows 11. For a while now I have had SSD storage so there should be no slowness that HDDs can suffer from.
Example -
Today using File Explorer I deleted numerous files totalling 3.47GB file in 2 seconds but Disk Cleanup took about 5 min 30 seconds to delete 2.33GB.

I know Microsoft are deprecating 'Disk Cleanup' in favour of 'Storage / Cleanup recommendations' and maybe it is a long standing, well-known Windows Disk Cleanup gripe that Microsoft never fixed but I'd be interested to hear if others find the same.
 

My Computers My Computers

  • At a glance

    Windows 11 ProAMD Ryzen 9 8945HS32GB DDR5 SO-DIMMIntegrated AMD Radeon 780M (4.00 GHz)
    OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    GMKtec K11
    CPU
    AMD Ryzen 9 8945HS
    Memory
    32GB DDR5 SO-DIMM
    Graphics Card(s)
    Integrated AMD Radeon 780M (4.00 GHz)
    Monitor(s) Displays
    Benq 2250HM
    Screen Resolution
    1920 x 1080
    Hard Drives
    1 TB PCIe 4.0 NVMe M.2 SSD
  • At a glance

    Windows 11 HomeIntel® Core™ Ultra 7 - 255H processor16 GB LPDDR5 SDRAMIntel Arc 140T onboard graphics
    Operating System
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Zenbook 14 OLED 14" Laptop - UX3405CA-QL192W
    CPU
    Intel® Core™ Ultra 7 - 255H processor
    Memory
    16 GB LPDDR5 SDRAM
    Graphics card(s)
    Intel Arc 140T onboard graphics
    Screen Resolution
    1920 x 1200 (16:10 WUXGA resolution) OLED Touchscreen
    Hard Drives
    1TB SSD
I know Microsoft are deprecating 'Disk Cleanup' in favour of 'Storage / Cleanup recommendations' and maybe it is a long standing, well-known Windows Disk Cleanup gripe that Microsoft never fixed but I'd be interested to hear if others find the same.
There is one function in Disk Clean up that is necessarily very slow, that is the Windows Update Clean up. And it doesn't matter how you start it, in Disk Clean up, through Storage, or using DISM from the command line - they all end up calling the same process to do the actual work: the Windows Modules Installer: TIWorker.exe.

Cleaning up windows updates is slow because it's not just a matter of deleting files. The Windows component store contains a lot of hard links that need to be resolved.
 

My Computers My Computers

  • At a glance

    Windows 11 HomeAMD Athlon Silver 3050U8GBRadeon Graphics
    OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23-R9VY
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB Samsung EVO 870 SSD (from April 2026: 250GB EVO 850)
    Internet Speed
    150 Mbps
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    UPDATE - 11 April 2026: due to lid hinges starting to break up this laptop has been retired from active duty. The OS with all software and files has been migrated to my System Seven in 'Other systems' to carry on as my general purpose 'main machine'.

    I've now clean installed 25H2 and used Garlin's scripts to update Secure Boot to CA 2023 and revoke the PCA 2011 certificates. It's new role is to test secure boot issues.

    Info for 2021-2026:
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October 2021 it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October. Windows Update offered the 22H2 Feature Update on 20th September 2022. It got the 23H2 Feature Update on 4th November 2023 through Windows Update, 24H2 on 3rd October 2024 through Windows Update by setting the Target Release Version for 24H2, and 25H2 on 30th September 2025 through Windows Update by setting the Target Release Version for 25H2.
  • At a glance

    Windows 11 ProIntel® Core™ i5-520M8GB(integrated graphics) Intel HD Graphics
    Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E4310
    CPU
    Intel® Core™ i5-520M
    Motherboard
    0T6M8G
    Memory
    8GB
    Graphics card(s)
    (integrated graphics) Intel HD Graphics
    Screen Resolution
    1366x768
    Hard Drives
    500GB Crucial MX500 SSD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround.

    In-place upgrade to 22H2 using ISO and a workaround.
    Feature Update to 23H2 by manually installing the Enablement Package.
    In-place upgrade to 24H2 using hybrid 23H2/24H2 install media.
    Upgraded to 25H2 by Enablement Package.

    Also running Insider Experimental 263xx and 29xxx builds and Windows 10 as native boot .vhdx.
  • My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro.

    My SYSTEM FOUR was a 2-in-1 convertible Lenovo Yoga 11e (1st gen) type 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device. This has now been sold. It has been replaced by my System Eight.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 8GB RAM, 1TB NVMe ssd, supported device running Windows 11 Pro, plus Insider Beta, Experimental 263xx and 29xxx builds (and a few others) as a native boot .vhdx.

    My SYSTEM SIX is a Dell Latitude 5550, Core Ultra 7 165H, 64GB RAM, 1TB NVMe SSD, supported device, Windows 11 Pro, Hyper-V host machine. Updated to 25H2 on 30th September 2025.

    My SYSTEM SEVEN is a Lenovo Thinkpad T580, 1920x1080 touchscreen, Intel Core i7-8650U, 16GB RAM, 512GB NVMe SSD + 2nd 512GB NVMe SSD, a supported device for Windows 11. This is my current general purpose 'main machine'. The installed Windows 11 Home from my System One has been migrated to this machine. As its new home has an existing digital licence for Pro I've been able to upgrade the migrated OS from Home to Pro.

    My SYSTEM EIGHT is a 2-in-1 convertible Lenovo Yoga 11e (5th gen) type 20LN, Celeron N4120, 8GB RAM, 512GB NVMe ssd, a supported device for Windows 11. Currently running Windows 11 Pro, plus Insider Beta, Experimental 263xx and 29xxx builds as native boot vhdx.
As you have mentioned, it is an outdated tool. Yesterday I terminated it after 2 hours. :yawn:
 

My Computer My Computer

At a glance

Home2FH2CanAMD Ryzen 5 8600G (07/24)2x32GB Kingston FURY DDR5 5600 MHz CL36 @5200...ASROCK Radeon RX 6600 Challenger D 8G @48FPS ...
OS
Home2FH2Can
Computer type
PC/Desktop
CPU
AMD Ryzen 5 8600G (07/24)
Motherboard
ASROCK B650M-HDV/M.2 (07/24) BIOS 4.43 AGESA ComboAM5 1.3.0.1b Patch A (07/26)
Memory
2x32GB Kingston FURY DDR5 5600 MHz CL36 @5200 CL40 (07/24)
Graphics Card(s)
ASROCK Radeon RX 6600 Challenger D 8G @48FPS (08/24)
Sound Card
Creative Sound BlasterX AE-5 Plus (05/24)
Monitor(s) Displays
24" Philips 24M1N3200ZS/00 (05/24)
Screen Resolution
1920×1080@165Hz via DP1.4
Hard Drives
Kingston KC3000 NVMe 2TB (05/24)
ADATA XPG GAMMIX S11 Pro 512GB (07/19)
PSU
Seasonic Core GM 550 Gold (04/24)
Case
Fractal Design Define 7 Mini with 3x Noctua NF-P14s/12@555rpm (04/24)
Cooling
Noctua NH-U12S with Noctua NF-P12 (04/24)
Keyboard
HP Pavilion Wired Keyboard 300 (07/24) + Rabalux 76017 Parker (01/24)
Mouse
Logitech M330 Silent Plus (07/26)
Internet Speed
500/100 Mbps via RouterOS (05/21) & TCP Optimizer
Browser
Edge, Brave for YouTube, LibreWolf for FB
Antivirus
NextDNS blocking 1/3 Traffic
Other Info
Phone: Motorola Moto G86 (02/26)
Backup: Hasleo Backup Suite (PreOS)
Headphones: Sennheiser RS170 (09/10)
Chair: Huzaro Force 4.4 Grey Mesh (05/24)
Notifier: Xiaomi Mi Band 9 Milanese (10/24)
FlexCore USB-C 3.2 Gen 1 (M) to LAN (F) (08/25)
Also there are normally a lot of compressed files in the component store, Windows doesn't just delete them, it has to first decompress, selectively delete, then re compress any remaining files. This I believe is what takes the longest time to perform.
 

My Computer My Computer

At a glance

Windows 11 Pro 22H2, build: 22621.521Intel i7-12700K 3.6GHz Base (5.0GHz Turbo)64GB DDR 3600MhzAsus Tuff RTX 3080 10GB OC
OS
Windows 11 Pro 22H2, build: 22621.521
Computer type
PC/Desktop
Manufacturer/Model
Scan 3XS Custom 1700
CPU
Intel i7-12700K 3.6GHz Base (5.0GHz Turbo)
Motherboard
Asus ProArt Creator B660 D4
Memory
64GB DDR 3600Mhz
Graphics Card(s)
Asus Tuff RTX 3080 10GB OC
Sound Card
Onboard Realtek
Monitor(s) Displays
Gigabyte G32QC 32inch 16:9 curved @2560 x 1440p 165Hz Freesync Premium Pro/ Dell SE2422H 24inch 16:9 1920 x 1080p 75Hz Freesync
Screen Resolution
2560 x 1440p & 1920 x 1080p
Hard Drives
WD SN570 1TB NVME (Boot), Samsung 870QVO 1TB (SSD), SanDisk 3D Ultra 500Gb (SSD) x2, Seagate 3Tb Expansion Desk (Ext HDD), 2x Toshiba 1Tb P300 (Ext HDD)
PSU
Corsair RM1000X Modular
Case
Corsair 4000D Airflow Desktop
Cooling
Corsair Hydro H150i RGB Pro XT 360mm Liquid Cooler, 3 x 120mm fans, 1x Exhaust
Keyboard
Microsoft Ergonomic
Mouse
Logitech G402
Internet Speed
800Mbs
Browser
Edge Chromium
Antivirus
Defender, Malwarebytes
Thanks for the explanations. They go a long way towards removing my frustration now that I know just how much Disk Cleanup is doing when it runs.
 

My Computers My Computers

  • At a glance

    Windows 11 ProAMD Ryzen 9 8945HS32GB DDR5 SO-DIMMIntegrated AMD Radeon 780M (4.00 GHz)
    OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    GMKtec K11
    CPU
    AMD Ryzen 9 8945HS
    Memory
    32GB DDR5 SO-DIMM
    Graphics Card(s)
    Integrated AMD Radeon 780M (4.00 GHz)
    Monitor(s) Displays
    Benq 2250HM
    Screen Resolution
    1920 x 1080
    Hard Drives
    1 TB PCIe 4.0 NVMe M.2 SSD
  • At a glance

    Windows 11 HomeIntel® Core™ Ultra 7 - 255H processor16 GB LPDDR5 SDRAMIntel Arc 140T onboard graphics
    Operating System
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Zenbook 14 OLED 14" Laptop - UX3405CA-QL192W
    CPU
    Intel® Core™ Ultra 7 - 255H processor
    Memory
    16 GB LPDDR5 SDRAM
    Graphics card(s)
    Intel Arc 140T onboard graphics
    Screen Resolution
    1920 x 1200 (16:10 WUXGA resolution) OLED Touchscreen
    Hard Drives
    1TB SSD
I noticed that as said earlier it is a slow process, but after changing from HDD to SDD it is so much quicker, even then it is still slow
 

My Computers My Computers

  • At a glance

    Windows 11 Pro13th Gen Core i9 13900HX32GB DDR5 @4800MHz 2x16GBGeforce RTX 4090HX 16GB
    OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Alienware M18 R1
    CPU
    13th Gen Core i9 13900HX
    Memory
    32GB DDR5 @4800MHz 2x16GB
    Graphics Card(s)
    Geforce RTX 4090HX 16GB
    Sound Card
    Nvidia HD / Realtek ALC3254
    Monitor(s) Displays
    18" QHD+
    Screen Resolution
    25660 X 1600
    Hard Drives
    C: KIOXIA (Toshiba) 2TB KXG80ZNV2T04 NVMe PCIe M.2 SSD
    D: KIOXIA (Toshiba) 2TB KXG80ZNV2T04 NVMe PCIe M.2 SSD
    Case
    Dark Metallic Moon
    Keyboard
    Alienware M Series per-key AlienFX RGB
    Mouse
    Alienware AW610M
    Browser
    Chrome and Firefox
    Antivirus
    Norton
    Other Info
    Killer E3000 Ethernet Controller
    Killer Killer AX1690 Wi-Fi Network Adaptor Wi-Fi 6E
    Bluetooth 5.2
    Alienware Z01G Graphic Amplifier
  • At a glance

    Windows 11 Pro10th Gen i-9 10900 K32Gb Dual Channel DDR4 @ 8843MHzNvidia RTX 2080 Super
    Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Alienware Area 51m R2
    CPU
    10th Gen i-9 10900 K
    Memory
    32Gb Dual Channel DDR4 @ 8843MHz
    Graphics card(s)
    Nvidia RTX 2080 Super
    Sound Card
    Nvidia
    Screen Resolution
    1920 x 1080
    Hard Drives
    Hard Drive C: Samsung 2TB SSD PM981a NVMe
    Hard Drive D:Samsung 2TB SSD 970 EVO Plus
    Mouse
    Alienware 610M
    Browser
    Chrome
    Antivirus
    Norton

Latest Support Threads

Back
Top Bottom