{"id":5156,"date":"2017-01-15T13:34:43","date_gmt":"2017-01-15T08:04:43","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=5156"},"modified":"2024-04-10T11:35:08","modified_gmt":"2024-04-10T06:05:08","slug":"disk-cleanup-3-99-tb-bug-windows-update-cleanup","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/disk-cleanup-3-99-tb-bug-windows-update-cleanup\/","title":{"rendered":"Disk Cleanup Bug : 3.99 TB Used by Windows Updates [Fixed]"},"content":{"rendered":"<p>After installing a Cumulative Update, when you run Disk Cleanup (cleanmgr.exe) as administrator to cleanup system files, it may incorrectly show 3.99 TB as being occupied by older versions of Windows Updates.<!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4358\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/10\/wu-cleanup-399tb-1.png\" alt=\"kb3194798 3.99 tb disk cleanup\" width=\"375\" height=\"470\" \/><\/p>\n<p>This incorrect reporting happens because Disk Cleanup miscalculates the size of WinSxs folder, not taking the hard links into consideration. Here is an excerpt from Microsoft Technet article <a href=\"https:\/\/technet.microsoft.com\/en-in\/library\/dn251566.aspx?f=255&amp;MSPPError=-2147217396\" target=\"_blank\" rel=\"noopener noreferrer\">Determine the Actual Size of the WinSxS Folder<\/a>, to understand why this issue happens.<\/p>\n<p><em>Why is the WinSxS folder so big? The short answer to this commonly asked question is that the component store (WinSxS folder) contains all the components that make-up Windows to allow you operate your system. These components are kept to rollback any problematic change or to repair a file that becomes corrupted.<\/em><\/p>\n<p><em>For operating system files, it can appear that more than one copy of the same version of a file is stored in more than one place on the operating system, but <strong>there\u2019s usually only one real copy of the file<\/strong>. The rest of the copies are just \u201cprojected\u201d by hard linking from the component store. A hard link is a file system object that lets two files refer to the same location on disk. Some tools, such as the File Explorer, determine the size of directories without taking into account that the contained files might be hard linked. This might lead you to think that the WinSxS folder takes up more disk space than it really does.<\/em><\/p>\n<h2>Cleanup &#8220;Windows Update Cleanup&#8221; files Using DISM<\/h2>\n<p>Unlike the previous Cleanmgr bug reported in article <a href=\"https:\/\/www.winhelponline.com\/blog\/serious-disk-cleanup-problem-caused-by-broken-registration\/\">Serious Disk Cleanup Problem in Windows caused by Broken Registration<\/a> seen in Windows Vista\/7 systems especially, the incorrect reporting of &#8220;Windows Update Cleanup&#8221; size is rather a minor bug which can be ignored. And, whatever space occupied by those older updates will be cleared by Windows automatically (using DISM) after 30 days. So, no user action is required.<\/p>\n<p>If you want to manually clear it up without waiting for the Task Scheduler job to trigger, run Disk Cleanup as administrator, select the &#8220;Windows Update Cleanup&#8221; checkbox and click OK. This would clear the entry by freeing up the actual disk space used by those superseded updates.<\/p>\n<p>Another option is to run the DISM tool manually, and perform a component cleanup to free up disk space occupied by previous updates.<\/p>\n<h4>Analyze and Cleanup the Component Store using DISM<\/h4>\n<p>Here is the command-line to analyze and report if a component cleanup is required or not. It has to be run from <a href=\"https:\/\/www.winhelponline.com\/blog\/open-elevated-command-prompt-windows\/\">elevated Command Prompt<\/a>.<\/p>\n<pre>dism \/online \/Cleanup-Image \/AnalyzeComponentStore<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4360\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/10\/wu-cleanupo-399tb-3.png\" alt=\"kb3194798 3.99 tb disk cleanup\" width=\"650\" height=\"459\" \/><\/p>\n<h4>Cleanup the Component Store<\/h4>\n<p>Here is the command to do a component store cleanup.<\/p>\n<pre>dism \/online \/Cleanup-Image \/StartComponentCleanup<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4361\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/10\/wu-cleanupo-399tb-4.png\" alt=\"kb3194798 3.99 tb disk cleanup\" width=\"650\" height=\"235\" \/><\/p>\n<p><code>\/StartComponentCleanup<\/code> cleans up the superseded components and reduces the size of the component store. Note that you can\u2019t uninstall updates after using DISM with this command-line parameter.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4359\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/10\/wu-cleanupo-399tb-2.png\" alt=\"kb3194798 3.99 tb disk cleanup\" width=\"375\" height=\"470\" \/><\/p>\n<p>Microsoft has announced that this bug will be fixed in the Creators Update and the fix has already been implemented in the <a href=\"https:\/\/blogs.windows.com\/windowsexperience\/2017\/01\/09\/announcing-windows-10-insider-preview-build-15002-pc\/\" target=\"_blank\" rel=\"noopener noreferrer\">insider preview build 15002<\/a>.<\/p>\n<p><em>&#8220;We fixed an issue where Disk Cleanup would sometimes unexpectedly show 3.99TB worth of Windows Update Cleanup files.&#8221;<\/em><\/p>\n<p>Final release of the upcoming Windows 10 feature update would be in March or April this year.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After installing a Cumulative Update, when you run Disk Cleanup (cleanmgr.exe) as administrator to cleanup system files, it may incorrectly show 3.99 TB as being occupied by older versions of Windows Updates.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[8],"tags":[155,160],"class_list":["post-5156","post","type-post","status-publish","format-standard","hentry","category-windows-10","tag-disk-cleanup","tag-dism"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":49804,"url":"https:\/\/www.winhelponline.com\/blog\/cleanup-component-store-winsxs\/","url_meta":{"origin":5156,"position":0},"title":"How to Clean Up the Component Store (WinSxS folder)","author":"Ramesh","date":"May 28, 2023","format":false,"excerpt":"The Component Store or the WinSxS folder, located under the Windows folder, is used to support the functions needed to customize and update Windows. Whenever a new update or a FOD package is installed, it adds hundreds or thousands of files into the component store. The superseded components will be\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"winsxs folder contents","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/05\/winsxs-folder-contents.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/05\/winsxs-folder-contents.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/05\/winsxs-folder-contents.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/05\/winsxs-folder-contents.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":10740,"url":"https:\/\/www.winhelponline.com\/blog\/free-up-hard-disk-space-windows\/","url_meta":{"origin":5156,"position":1},"title":"How to Free Up Gigabytes of Disk Space in Windows","author":"Ramesh","date":"August 18, 2019","format":false,"excerpt":"Windows 10 updates, especially the feature updates, consume enormous disk space as Windows stores the older copies in case you want to roll back to the previous version. Hard disk drives have become cheaper and affordable nowadays. A 1 TB SATA HDD costs less than $50. But, if you're using\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"chrome cache localstorage service worker cache","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/08\/chrome-storage-dev-tools.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/08\/chrome-storage-dev-tools.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/08\/chrome-storage-dev-tools.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/08\/chrome-storage-dev-tools.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":80286,"url":"https:\/\/www.winhelponline.com\/blog\/dism-error-1726-component-store-cleanup\/","url_meta":{"origin":5156,"position":2},"title":"DISM Error 1726 during Component Store Cleanup","author":"Ramesh","date":"February 20, 2026","format":false,"excerpt":"When you attempt to clean up the component store using the following DISM command on a Windows 11 24H2 or 25H2 system, the error code 1726 may occur. DISM \/Online \/Cleanup-Image \/StartComponentCleanup Deployment Image Servicing and Management tool Version: 10.0.26100.5074 Image Version: 10.0.26200.7462 [== 5.8% ] Error: 1726 The remote\u2026","rel":"","context":"In &quot;Windows 11&quot;","block_context":{"text":"Windows 11","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-11\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":38,"url":"https:\/\/www.winhelponline.com\/blog\/serious-disk-cleanup-problem-caused-by-broken-registration\/","url_meta":{"origin":5156,"position":3},"title":"Serious Disk Cleanup Problem in Windows caused by Broken Registration","author":"Ramesh","date":"February 29, 2008","format":false,"excerpt":"Reader's Query:\u00a0\u00a0\u00a0I have a 160GB Western Digital Hard Drive partitioned into a 40GB Operating System partition and the other 120GB for my files. However, when I run Disk Cleanup utility from within Vista Ultimate, it shows multiple 131GB options for me to clean up. After I clicked OK to clean\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/02\/cleanmgr_risk.gif?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":8555,"url":"https:\/\/www.winhelponline.com\/blog\/prevent-disk-cleanup-storage-sense-from-deleting-downloads\/","url_meta":{"origin":5156,"position":4},"title":"Stop Disk Cleanup and Storage Sense from Emptying your Downloads folder","author":"Ramesh","date":"April 8, 2019","format":false,"excerpt":"If you use Disk Cleanup, you will want to be aware of a change to its options since the October 2018 feature update (v1809). Disk Cleanup, now also has the option to delete the contents of your Downloads folder. However, many users like to use the Downloads folder as permanent\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"disk cleanup remove downloads option","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/disk-cleanup-downloads-folder-2.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":4491,"url":"https:\/\/www.winhelponline.com\/blog\/disk-cleanup-wipe-out-temp-folder-contents-completely-lastaccess\/","url_meta":{"origin":5156,"position":5},"title":"Why doesn&#8217;t Disk Cleanup Clear the Temp Folder Contents Completely","author":"Ramesh","date":"November 1, 2016","format":false,"excerpt":"Disk Cleanup (Cleanmgr.exe) is a built-in tool in Windows that offers some useful cleanup options not available in other 3rd party cleanup tools. It can remove superseded device drivers, Temporary Files, Internet Explorer cache, obsolete Windows Updates, Previous Windows Installation (Windows.old) folder, and much more. But you may be wondering\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"dism servicing files in temp folder","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/dism-servicing-files-in-temp.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/dism-servicing-files-in-temp.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/dism-servicing-files-in-temp.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/5156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=5156"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/5156\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=5156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=5156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=5156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}