Disk Cleanup says it can remove 44GB of old windows installations


  1. Posts : 1
    Windows 10 x64
       #1

    Disk Cleanup says it can remove 44GB of old windows installations


    Hey

    I decided today to cleanup my C:/ drive a bit, and I saw that I have a windows.old file. Its size is 4.52GB on disk. When I started Disk Cleanup, it said I can 44.6GB worth of old windows installations. does not seem right at all since windows.old is at 4.52GB only. Is this some bug? is it safe to clean it?
    Disk Cleanup says it can remove 44GB of old windows installations-windows-disk-cleanup.png
      My Computer


  2. Posts : 8,107
    windows 10
       #2

    Wecome to the forum have you run the clean system filesyou have to run it after the first scan see our tutor as it clears installation files as well Delete Windows.old Folder in Windows 10 | Windows 10 Tutorials
      My Computer


  3. Posts : 15,485
    Windows10
       #3

    Sommervold said:
    Hey

    I decided today to cleanup my C:/ drive a bit, and I saw that I have a windows.old file. Its size is 4.52GB on disk. When I started Disk Cleanup, it said I can 44.6GB worth of old windows installations. does not seem right at all since windows.old is at 4.52GB only. Is this some bug? is it safe to clean it?
    Disk Cleanup says it can remove 44GB of old windows installations-windows-disk-cleanup.png
    It is not just windows.old but various files downloaded to do upgrades/updates. They could easily accumulate over time.
      My Computer


  4. Posts : 4,224
    Windows 10
       #4

    This size as reported in Disk Cleanup is not always correct, and it sometimes strains credulity. Over a year ago, in fact, Disk Cleanup reported 3.99 TB of Windows Update Cleanup files to get rid of (on a 500 GB drive, in my case: read about it in my Windows Enterprise Desktop blog post Cleanup 3.99 TB from 500GB Drive!).

    Disk Cleanup says it can remove 44GB of old windows installations-bigclean.jpg

    It turns out that this size includes hard links to non-existent files whose sizes get included along with stuff that really takes up disk space. As the preceding example demonstrates with some drama, this can lead to massive over-reporting of on-disk size. It's just "one of those things" about Windows that we all learn to love and appreciate, right?

    HTH,
    --Ed--
    Last edited by EdTittel; 03 Jun 2018 at 09:57. Reason: clean up URL
      My Computers


  5. Posts : 27,183
    Win11 Pro, Win10 Pro N, Win10 Home, Windows 8.1 Pro, Ubuntu
       #5

    I agree with Ed above.

    One thing to add though:
    If you are already on version 1803(April 2018 update) and above, use Settings>system>storage>Free up disk space now, to do it.

    Disk cleanup can, in rare cases(it's happened to me) leave behind a zero byte folder in one of the windows.old subfolders, and that can be a real pain it the ASUS to remove using diskpart

    I haven't seen this problem yet with using the settings app.... yet.
      My Computers


  6. Posts : 31,651
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #6

    EdTittel said:
    This size as reported in Disk Cleanup is not always correct, and it sometimes strains credulity. ...It turns out that this size includes hard links to non-existent files whose sizes get included...
    Not quite non-existent, there's actually one copy of the file and lots of hard links pointing to it. This is common practice in the C:\Windows\WinSxS folder (a copy of which will be in your Windows.old folder).

    It's a non-trivial task to sort out which are hard links and which are separate files, so to save time File Explorer and Disk Clean up just add up all the file sizes, hard links or not. Mostly the total is reasonably accurate - occasionally it's ludicrous
      My Computers


  7. Posts : 1,524
    Windows 10 Pro (32-bit) 16299.15
       #7

    You could always take a backup image first (with Macrium Reflect Free or something like that), before letting Disk Cleanup do its thing.

    I find having a an extra backup image rarely does any harm.
      My Computer


  8. Posts : 3,453
       #8

    EdTittel said:
    This size as reported in Disk Cleanup is not always correct, and it sometimes strains credulity. Over a year ago, in fact, Disk Cleanup reported 3.99 TB of Windows Update Cleanup files to get rid of (on a 500 GB drive, in my case: read about it in my Windows Enterprise Desktop blog post Cleanup 3.99 TB from 500GB Drive!).

    Disk Cleanup says it can remove 44GB of old windows installations-bigclean.jpg

    It turns out that this size includes hard links to non-existent files whose sizes get included along with stuff that really takes up disk space. As the preceding example demonstrates with some drama, this can lead to massive over-reporting of on-disk size. It's just "one of those things" about Windows that we all learn to love and appreciate, right?

    HTH,
    --Ed--
    Warning: OT...
    Ed, your vocab is impeccable - had to google "credulity" (and yep, I barely scraped through English Lit ... LOL )
      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 07:03.
Find Us




Windows 10 Forums