Included with Microsoft Updates on the last Patch Tuesday was KB 2852386, an optional update. This update changes the Disk Cleanup wizard to provide the ability to delete superseded Windows updates in Windows 7 SP1, reducing the space used by the WinSxS ("Windows Side by Side") folder.
Normally, superseded Windows updates can be removed with the installation of a Service Pack. However, since Windows 7 SP1 was released over two years ago, the size of the C:\Windows\Winsxs folder has grown significantly since SP1.
As seen in the image copy of WinSxS Properties on my Windows 7 computer, before running Disk Cleanup, it is a very large folder at over 17 GB with over 73,000 files and 18,000 folders.
|Before Disk Cleanup|
- Disk Cleanup needs to be run as Administrator.
- Windows Update Cleanup is checked by default under Clean up system files. If you have had problems with Windows Updates in the past, you may not want to include the Windows Update Cleanup option when running Disk Cleanup.
- If you do not see the option for Windows Update Cleanup under Clean up system files, either the wizard did not detect Windows updates that are not needed on the computer or KB 285238 has not been installed yet.
- After running the Disk Cleanup wizard, you may not be able to roll back to a superseded update. In that situation, it will be necessary to manually install the superseded update.
- The superseded update files will not be removed until the computer is restarted. Windows will configure Windows updates on shutdown and Cleanup on startup. Do not turn off your computer during that process.
ResultsResults will vary depending on the Microsoft programs installed on your computer. In my case, with a lot of Microsoft programs installed and fully updated, there is a significant difference. Comparing the before image of WinSxS Properties from my computer with the results after running Disk Cleanup: 14,684 files and 3,507 folders have been superseded since installing SP1. Net gain: 6.9 GB!
|After Disk Cleanup|
Illustrated screen images of the step-by-step process are available in the TechNet article referenced below.
- TechNet: Breaking News! Reduce the size of the WinSxS Directory and Free up Disk Space with a New Update for Windows 7 SP1 Clients
- KB 2852386: Update is available that enables you to delete outdated Windows updates by using a new option in the Disk Cleanup wizard in Windows 7 SP1