Disk Cleanup not doing its work


JohnnyGui

Member
Local time
11:51 AM
Posts
82
OS
Windows 11 21H2
For some reason, cleaning the disk through Windows settings doesn't delete the checked "Temporary files" (770mb) nor Windows Defender files. All the other checked files do get cleaned up normally. It completes as if it successfully deleted everything but it doesn't seem like it when I click Refresh.

Trying to delete these files via the Disk Cleanup tool (cleanmgr.exe) as Administrator or in Safe mode also doesn't work. I am the only user and Administrator on the PC.

I am aware I could try to go to the temp folder and delete the files manually, but why doesn't it work this way? Is this reproducible at anyone's end?
 
Windows Build/Version
Windows 11 21H2 build 22000.708

My Computer

System One

  • OS
    Windows 11 21H2
    Computer type
    PC/Desktop
    CPU
    i5-8600K
    Motherboard
    Gigabyte Z370 HD3
    Memory
    16GB
    Graphics Card(s)
    Geforce GTX 1070 Windforce OC
    Sound Card
    Internal: Realtek® ALC892 codec
    Monitor(s) Displays
    Acer
    Screen Resolution
    1080p
    Hard Drives
    Neoforza SSD 256GB
    Case
    Azza Taurus 5000W
    Cooling
    Coolermaster Hyper 412R
    Browser
    Edge Chromium

Bree

Well-known member
Pro User
VIP
Local time
10:51 AM
Posts
2,839
Location
S/E England, UK
OS
Windows 11 Home
For some reason, cleaning the disk through Windows settings doesn't delete the checked "Temporary files" (770mb)....
Failing to clean 'temporary internet files' has been a long standing bug in Windows 10 for more years than I can remember. Basically, there are no files to clean up, Disk clean up is in error reporting that there are any. There is a workaround that can reset the apparent 'phantom files' to zero, but they start to come back after a while.

I can't say I've seen this bug in Windows 11 (yet) but the same workaround should fix it - or you could just ignore it, knowing that there's nothing really there.

For more, see this thread from post #8 on....

 
Last edited:

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    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 HDD
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    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 it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    i5 M 520
    Motherboard
    0T6M8G
    Memory
    4GB
    Screen Resolution
    1366x768
    Hard Drives
    500GB HDD
    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.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.

JMedlock83

Former NWS Storm Spotter
Member
VIP
Local time
4:51 AM
Posts
637
Location
Van Buren, AR
OS
Windows 11 Pro x64 v22621.1
It works on my end.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro x64 v22621.1
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 1800X
    Motherboard
    Asus Crosshair VI Hero
    Memory
    16GB
    Graphics Card(s)
    AMD Radeon R290
    Sound Card
    On Board
    Monitor(s) Displays
    Pavilion 27xi
    Screen Resolution
    1920X1080
    Hard Drives
    WD 500GB SSD
    3TB WD Red HDD (extra storage)
    PSU
    Apevia 1100 Watt Worlock
    Case
    NZXT
    Cooling
    Air Cooling
    Keyboard
    Logitech K860
    Mouse
    Logitech MX
    Internet Speed
    150Mbps/25Mbps
    Browser
    Edge/Chrome
    Antivirus
    Pfizer + Booster
  • Operating System
    Windows 10 Pro x64
    Computer type
    PC/Desktop
    CPU
    AMD FX 8350
    Motherboard
    Asus Crosshair V Formula Z
    Memory
    16GB
    Graphics card(s)
    AMD Radeon R290
    Sound Card
    On Board
    Monitor(s) Displays
    AOC 27"
    Screen Resolution
    1920X1080
    Hard Drives
    250GB Intel SSD
    500GB Seagate
    PSU
    Cougar CMX 1000w
    Cooling
    Air Cooling
    Mouse
    MX Master
    Keyboard
    Microsoft Ergonomic 4000
    Internet Speed
    150Mbps/5Mbps
    Browser
    Edge/Chrome
    Antivirus
    Malwarebytes

JohnnyGui

Member
Thread Starter
Local time
11:51 AM
Posts
82
OS
Windows 11 21H2
That has been a long standing bug in Windows 10 for more years than I can remember. Basically, there are no files to clean up, Disk clean up is in error reporting that there are any. There is a workaround that can reset the apparent 'phantom files' to zero, but they start to come back after a while.

I can't say I've seen this bug in Windows 11 (yet) but the same workaround should fix it - or you could just ignore it, knowing that there's nothing really there.

For more, see this thread from post #8 on....


Thanks for the info. Mind you, in my case it's about Temporary files and Windows Defender, not Temporary Internet FIles (since the fix in the thread you linked is about moving IE's cache location.

As for them being phantom files, I checked the size of the Temp folder in Appdata-> Local and it shows 649mb hence me doubting this is merely a wrong calculation.

I found another thread in which you're stating that Disk Cleanup (or the clean up via Settings) can not delete files that are less than 7 days old. Is this still true for Windows 11?
 

My Computer

System One

  • OS
    Windows 11 21H2
    Computer type
    PC/Desktop
    CPU
    i5-8600K
    Motherboard
    Gigabyte Z370 HD3
    Memory
    16GB
    Graphics Card(s)
    Geforce GTX 1070 Windforce OC
    Sound Card
    Internal: Realtek® ALC892 codec
    Monitor(s) Displays
    Acer
    Screen Resolution
    1080p
    Hard Drives
    Neoforza SSD 256GB
    Case
    Azza Taurus 5000W
    Cooling
    Coolermaster Hyper 412R
    Browser
    Edge Chromium

Bree

Well-known member
Pro User
VIP
Local time
10:51 AM
Posts
2,839
Location
S/E England, UK
OS
Windows 11 Home
in my case it's about Temporary files and Windows Defender, not Temporary Internet FIles

You need to be aware that for 'Temporary Files' Windows will only clean up files older than 7 days. There is a registry fix that can change that. This article explains that with screenshots from Windows 7, but exactly the same registry settings exists in Windows 11.

 

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    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 HDD
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    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 it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    i5 M 520
    Motherboard
    0T6M8G
    Memory
    4GB
    Screen Resolution
    1366x768
    Hard Drives
    500GB HDD
    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.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.
Top Bottom