Save lots of disk space with Microsoft’s new Windows Update Cleanup tool

The space a Windows operating system requires grows over time thanks to service packs and updates mostly, but also thanks to other system files and programs that users install on their PC.

There are only a few situations where the space requirements drop. This can be after you decide to uninstall a feature that you do not want to use anymore, of by running the Disk Cleanup tool after the installation of a service pack to remove backup files from the system that are created automatically as an option to restore the system to a pre-Service Pack level.

Microsoft released a new plugin yesterday for the Disk Cleanup tool on Windows 7 that adds another option to free up used disk space: and boy is it good.

Update: It is also integrated in Windows 8.1. Do not expect wonders right now here though. The way to launch it is the same as under Windows 7.-

The Windows Update Cleanup tool has been designed to remove Windows Updates from the system that are no longer needed on it.

You are probably wondering why this is happening. All Windows updates are stored in the WinSxS store regardless of whether they are superseeded by later updates or not. This is done to provide you with options to roll back to a superseded update.

This is usually not required if you have run tests to make sure that the latest update does not have any ill-effects on the system, or if you have worked with the updated PC for some time now and have not noticed any issues caused by the new update.

This in effect mimics the removal of older files after the installation of a service pack, and should be handled in the same way.



Windows Update Cleanup

windows update cleanup

The new plugin is currently only available on PCs running Windows 7 Service Pack 1. To run the tool, do the following:

  1. Tap on the Windows-key to bring up the start menu.
  2. Type cleanmgr and hit enter afterwards.
  3. This opens the Disk Cleanup Tool.
  4. Select the c: drive and continue (provided that Windows is installed on c:)
  5. First thing you need to do is click on "Clean up system files" in the window that opens up.
  6. This rescans the system and adds additional cleanup options to the tool that are not available on first run.
  7. Scroll down until you find Windows Update Cleanup.
  8. The option is selected by default. Next to it is the amount in Megabytes or Gigabytes that you will save on your system if you include it in the cleanup.
  9. On my Windows 7 Pro 64-bit system, it listed 4.02 Gigabytes of data for cleanup.
  10. Click Ok to start the process.
  11. Restart your computer to complete it.
Read also:  Windows 10 Creators Update: Unified Troubleshooting Page

You can automate the process by using command line parameters the Disk Cleanup tool supports.

  1. Tap on the Windows-key, type cmd, and hit return.
  2. Run cleanmgr /sageset:n to save the cleanup options you want future cleanups to use to the Registry.
  3. Run cleanmgr /sagerun:n to run the specified tasks using the configuration that you have saved when you ran the tool with the sageset command.

Note: Replace n with an integer value between 0 and 65535.

Additional information about running Disk Cleanup manually or automatically are provided by Microsoft.

Verdict

The new Windows Update Cleanup plugin for the Disk Cleanup tool is a great addition for Windows 7 users as they can free up lots of space when they use it.

A quick check of the Windows folder on my system revealed that it had a size of 28.7 Gigabytes prior to running the new plugin. After a restart, that value dropped to 24.5 Gigabytes for the Windows folder. (my thanks go to Ilev and Ank91 for providing me with the information)

Please share this article

Facebooktwittergoogle_plusredditlinkedinmail


Filed under:


Responses to Save lots of disk space with Microsoft’s new Windows Update Cleanup tool

  1. Solidstate89 October 9, 2013 at 1:24 pm #

    I'm curious, is this actually already handled in Windows 8 with its automatic "optimizations" that it runs on a weekly basis?

    Microsoft is very vague about just what those "optimizations" do, but I have to wonder if this is a part of that routine. Any insight either way, Martin?

    • Martin Brinkmann October 9, 2013 at 1:28 pm #

      I was not able to find any information in regards to support for other operating systems. I just checked on Windows 8.1 and it is integrated here as well. Will update the article.

  2. Aanda October 9, 2013 at 1:31 pm #

    How come I do not see any such "Windows Update Cleanup" listed on my Windows 7 SP1?
    I see all other options, but not this one... :-(

    • Martin Brinkmann October 9, 2013 at 1:48 pm #

      Have you clicked on the "clean up system files" link?

      • Ananda October 10, 2013 at 10:26 am #

        Sorry to tell you I do not see any such link.
        It was mentioned on http://www.neowin.net/news/microsoft-releases-windows-7-patch-made-to-help-delete-old-windows-updates. There's an image that shows it.
        But no such link on my computers.
        My desktop has Windows 7 Ultimate.
        My laptop has Windows 7 Professional. It showed I could remove 2.5 MB of updates. But that option was one among all the other options of files to delete. Not a special link, as you can see at Neowin's. And once I had removed things, that option was no longer visible.
        At http://support.microsoft.com/kb/2852386 they say: "The Windows Update Cleanup option is available only when you log on by using administrator permissions." I was running it with AP. But as said, nothing, nada, zilch.

        And yes, I have rebooted the computer after having installed all the updates of Patch Tuesday.

        Now what?

        Thanks in advance for your feedback.

  3. EuroSceptiC.GRE October 9, 2013 at 1:46 pm #

    Meanwhile, on Windows 8/8.1 when you have redundant update files for cleaning, the utility stucks before it finish and uses a lot of CPU resources. MS still hasn't fixed it... The weird is, the cleaning is being done, it just stucks for some reason...

    The good thing is, MS finally decided to offer such tool which cleans some of the garbage the OS stores. The list should be extended to offer cleaning options for some other junk, too.

    • John Bryant October 18, 2013 at 5:17 am #

      It sure does give the appearance of being stuck, but the first time I ran it, it had to run for about an hour. Maybe more, I lost track. While it's cleaning files, those changes can cause the latest restore point to grow by that amount, so at times you won't see any reduction in the space used. Sometimes it'll increase a little. Also, it seems that 100% usage of 1 or 2 cores is normal.

      The best thing to do once it's finished is to restart the PC, then delete your restore points and manually create a new one, provided you're sure you don't want to roll back any changes.

  4. Lindsay October 9, 2013 at 2:12 pm #

    I cannot find the phrase "clean up system files" anywhere in Disk Cleanup, or any of the dialogs or windows that open while it is loading. I am using Windows 7 x64 SP1.

    • Lindsay October 9, 2013 at 2:19 pm #

      Today I learned that I should reboot to allow Patch Tuesday's updates to install before complaining about new functionality not working...

      This is rather helpful for SSD owners, cheers.

  5. Eh October 9, 2013 at 2:40 pm #

    I dont have "Windows Update Cleanup" or "clean up system files" link either, on windows 7 SP1

    • Martin Brinkmann October 9, 2013 at 2:54 pm #

      Have you restarted the PC after installing the latest Windows Updates?

  6. nonqu October 9, 2013 at 2:47 pm #

    Thank you very much for posting this article. You're one of only few websites that are this useful.

  7. tinwheeler October 9, 2013 at 3:00 pm #

    Martin, it's interesting to see this pop up on ghacks. I found a similar configuration on the net that i have been using for quite some time. I don't recall where I got it from but it's 'Cleanmgr /sageset:65535 & /sagerun:65535'.

  8. Ficho October 9, 2013 at 3:25 pm #

    I don't have Windows Update Cleanup.
    What is the number of that update so I can check if it is installed?

  9. ank91 October 9, 2013 at 3:29 pm #

    thanks! Martin, for neat and clean explanation.

  10. Ficho October 9, 2013 at 3:43 pm #

    This is mystery.I have kb2852386 installed,but I don't see
    Windows Update Cleanup plugin.I've followed all the steps from
    your instructions.

    • Martin Brinkmann October 9, 2013 at 3:45 pm #

      Have you restarted the PC?

      • Ficho October 9, 2013 at 3:51 pm #

        I restarted PC several times since yesterday.I installed Windows Updates yesterday.

      • Martin Brinkmann October 9, 2013 at 3:55 pm #

        And you did click on the Clean up system files link after start?

      • Ficho October 9, 2013 at 4:02 pm #

        Yes,I did.When I click on Clean up system files,during rescan I can see Windows Update is
        scanned,but there is no Windows Update Cleanup after scan is finished.

      • Martin Brinkmann October 9, 2013 at 4:08 pm #

        So, you see Windows Update Cleanup in the listing? You need to restart your PC in the end to finalize the cleanup.

      • Ficho October 9, 2013 at 4:24 pm #

        No,I don't see Windows Update Cleanup in the listing.That is the problem.
        I can see it is scanned like other items in the listing before window with all the listing
        is opened.

      • Martin Brinkmann October 9, 2013 at 4:26 pm #

        Ficho, the Windows Update Cleanup tool is only listed on the second screen, not the first.

      • Ficho October 9, 2013 at 4:35 pm #

        Yes,I know that.On the second screen there is no Windows Update Cleanup.
        That is the problem.I'll try to restart the PC one more time.Maybe I should reinstall
        kb2852386 ?

      • Ficho October 9, 2013 at 5:25 pm #

        I give up.I've reinstalled kb2852386 and there is no Windows Update Cleanup.
        Anyway my winsxs folder has only 6 GB.

      • Ficho October 9, 2013 at 6:09 pm #

        I've found the following :
        The Windows Update Cleanup option is available only when the Disk Cleanup wizard detects Windows updates that you do not need on the computer.

        http://www.sevenforums.com/tutorials/307546-windows-updates-remove-outdated-updates-windows-7-a.html

      • Martin Brinkmann October 9, 2013 at 6:12 pm #

        I see, strange that nothing is found on your system.

  11. ilev October 9, 2013 at 4:36 pm #

    The new feature showed 3.5GB of Windows updates to be removed but free space remained unchanged after the run (Windows 7 x64 sp1)

    p.s Advanced Disk Cleanup uses the same new feature.

    %SystemRoot%\System32\Cmd.exe /c Cleanmgr /sageset:65535 & Cleanmgr /sagerun:65535

    • Martin Brinkmann October 9, 2013 at 4:49 pm #

      You need to restart the PC.

      • ilev October 9, 2013 at 5:12 pm #

        You are right :-)
        winsxs down to 7.3GB from 10.8GB

    • ilev October 9, 2013 at 7:54 pm #

      We are 10 years this month into Windows Update and Windows is still the only OS requiring Boot/restart after updates or when in need to delete some system files.

      My Windows 7 restarted 3 times after the updates and 2 times after the disk cleanup.

      • RG October 9, 2013 at 8:41 pm #

        MS get 10cents each time every user restarts ;)

  12. Scott October 9, 2013 at 9:50 pm #

    Hi, can anyone help. I tied this on my home win 7 and now my work win 7.

    I go to the MS link, it says I need to enter a MS genuine validation code, I download the MS tool, run it, then it tells me "This version of the Genuine Advantage validation tool is no longer supported. Please download the newest version and ensure that your system clock is accurate" any clue where a newer one is. System clock, Im in NZ, dont suppose they took the time difference into consideration ?

    Anywhere else I can get this KB ?

  13. Scott October 9, 2013 at 10:55 pm #

    Apparently it servers the wrong validation exe if you browse to MS via chrome. Nice one MS.

  14. GodHatesFigs October 10, 2013 at 7:15 am #

    After running the Windows update clean up I ran Belarc Advisor which states I now have 8 missing security updates(3 Critical,4 Important & 1 Unrated).

    • Martin Brinkmann October 10, 2013 at 8:07 am #

      If you run Windows Update, what does it state?

      • GodHatesFigs October 10, 2013 at 9:30 am #

        It states No updates available,but Belarc is such a well respected tool that I've restored my system to prior to clean up until I can find more info.
        Belarc now flags 'Up-to-date' Security Updates since restoring.

      • Martin Brinkmann October 10, 2013 at 9:32 am #

        It is probably just using a list of all updates released and compares it with the ones installed on the system. It is likely that Belarc will update their tool soon. That's just an assumption on my part though, but I cannot believe that Microsoft would indeed let you remove updates from the system that are still needed in any way or form.

  15. Karl J. Gephart October 10, 2013 at 7:17 am #

    Thank you sooooo much for telling me about this post-update disk cleaning tool, Martin! I noticed an improvement in my reboot time! I would not have believed an MS update tool would actually have improved my restart time! LOL! I'm letting my friends on Facebook know about this post! :)

    • Martin Brinkmann October 10, 2013 at 8:10 am #

      I'm pretty excited about it too, considering that I freed up 4 Gigabytes of space on my 128 GB primary SSD.

  16. GodHatesFigs October 10, 2013 at 1:34 pm #

    Yes,true enough.Sometimes Belarc take a little longer to update their profiles.I can always run the clean up again & check if that is the case.Cheers.

  17. Anonymous Coward October 10, 2013 at 2:06 pm #

    Yay! More free space and all traces of gubmint backdoor installations removed. Seriously though, thanks for the tip! :)

  18. A&L October 10, 2013 at 5:36 pm #

    Good find Martin, thanks

  19. Shawn October 10, 2013 at 7:01 pm #

    @Martin.

    A good format is the best cleaner but seriously after a wipe pass with privazer a good part of the junk is gone.. I also turn the folder "System Volume Information" to shared all users it will give an error but you can wipe the folder and I've never had any issues doing so.

    I'm getting my new Windows 8 machine this week-end and I can promise you this. I;ll have Windows 8 Lite before monday's holiday is over..

    Best tip I can give XP users for cleaning tons of crap is make a new user with admin rights login with it then go to the C:\Documents and Settings\\local settings\"

    And you'll be able to trash the "Temp" , "Temporary Internet Files" and "History" without having that pesky index.dat file causing issues all the time.

    I'll do the same tests in Windows 8 to see what seriously can be removed

    My favorite is backup the whole system then go to the root in dos and type del *.* /s what's going to be left just do a dir /s >datafile.txt and copy it somewhere this will contain all the active in use files the ones you really cant mess with then I just restore my system from the backup and work from there..
    * DO NOT DO THIS UNLESS YOU KNOW WHAT YOU ARE DOING*
    But let me say it's not for the faint of heart.

    Shawn

  20. Lazyboyz October 10, 2013 at 9:05 pm #

    I used this tool and it found just over 3 gigs so I deleted but was not asked to reboot. I rebooted the computer myself but was forced to repair the computer with the last restore point, anyone else have this issue?

  21. ódio October 11, 2013 at 3:12 am #

    Cool, 4.07 GB Free!

  22. Martin Brinkmann October 11, 2013 at 7:59 am #

    Shawn, done.

  23. Robert November 15, 2013 at 9:53 pm #

    I have a bunch of Hyper-V Win 7 machines and was happy to see this utility but I am not sure it is working, at least in my configuration:

    Before: Explorer says 4.21 GB free of 29.8 GB
    I run the utility, check all the options, it says it will saving me 3.67 GB
    Utility completes.
    I refresh explorer: 4.14 GB free of 29.8 GB.
    ???
    I run the utility again - now nothing to save.

    So I am confused where all this "saving" went.

    • Robert November 15, 2013 at 10:00 pm #

      You can delete - thought it would prompt me to reboot. Rebooting completes the operations - case solved.

  24. Sardoc December 18, 2013 at 11:02 pm #

    Any chance it's gonna be available for Vista? It has 1/3 more users than Windows 8.1, please don't neglect it.

Leave a Reply