20

I'm trying to get rid of the excessive files inside the winsxs folder. However, there is no "Windows Update Cleanup" option in my Disk Cleanup dialog. I am told that installing this hotfix enables the option.

After installing the hotfix, there is still no option for "Windows Update Cleanup".

1

4 Answers 4

7

Run disk cleanup as admin to get the option shown. When you run it as normal user it only shows data for your local account but no system settings.

2
  • Still no "Windows Update Cleanup" with this, Windows 10
    – sdbbs
    Feb 9 at 8:20
  • @sdbbs which windows version? from time to time Windows does this on its own during normal install you see a message calling "cleanup". Feb 9 at 8:30
6

For some reasons I wasn't able to see "Windows Update Cleanup" either with a Local Admin and Domain Admin.

I ended up loading DiskCleanup with this preset:

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

3
  • 3
    That didn't do it for me either. It opened an empty cleanup dialog quickly, but when I clicked OK it just started scanning again and ended with the regular one without that option. Nov 12, 2015 at 16:25
  • 2
    For me too, neither Local nor Domain Admin worked. When opened with given preset, it gave me the option for Windows Update Cleanup. On clicking OK, it started scanning and disappeared (auto closed) after scanning. Not sure how many different behaviours one operating system can have... Any advices to get around? Jun 13, 2017 at 4:31
  • Running this command in Administrator Command Prompt does show a "Windows Update Cleanup" entry, though it says "deletes or compresses", and "you might need to restart your computer"
    – sdbbs
    Feb 9 at 8:22
6

As neither of the proposed answers worked for me directly, I put here the steps I have to do in order to get "Windows update cleanup" option:

1) Make sure that KB2852386 is installed. You can check in Programs and features -> Installed updates. If it is missing, you can install x64 version from here. It requires a restart and some patience before it is fully configured (at startup).

2) You can either run Disk Cleanup as Administrator OR run it normally + press Clean up system files and the option will show.

3

There is another workaround

From an elevated command prompt, type the following:

Dism.exe /online /Cleanup-Image /StartComponentCleanup

Then

Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase

A full explanation can be found at https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/clean-up-the-winsxs-folder

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .