Originally published at: http://www.howtogeek.com/174705/how-to-reduce-the-size-of-your-winsxs-folder-on-windows-7-or-8/
The WinSXS folder at C:\Windows\WinSXS is massive and continues to grow the longer you have Windows installed. This folder builds up unnecessary files over time, such as old versions of system components.
I'm on the latest Windows updates, and the option to clean up Windows Update is not available to me.
Defiant, I have W7x64. When I first heard about this I ran it and recovered 6.6 GB. However, I just opened Disk Cleanup and the Windows Update Cleanup option isn't there anymore! I'm really confused.
In spite of this I noticed while Disk Cleanup is "Calculating how much space you can save" it does check Windows Update Cleanup. I'm not sure but I'm guessing that once there's nothing for that option it won't show up?
I also have all Win 7 updates and feature is not available in my Disk Cleanup. Is it possible that only 64-bit versions were updated with this feature (Mine is 32-bit)?
Harry did you select cleanup system files , That is a necessary step
Regarding Windows 7 - this feature becomes available after KB2852386 update installation - which is marked as optional.
You can find more information here - http://support.microsoft.com/kb/2852386/en-us
I just opened Disk Cleanup on my Windows 8.1 system and "Windows Update Cleanup" frees only 29 MB but the "Device driver packages" option will free 5.03 GB.
It appears just like the WinSXS folder grows with updates the "System32\DriverStore" folder grows with driver updates.
I had saw with WinDirStat that the DriverStore folder was big but wasn't sure why or how to change that.
It seems this article indirectly helped me.
Ahah! Thanks for that link radari. Although I had already seen that Microsoft KB I missed the following which was under Introduction-->Notes...
The Windows Update Cleanup option is available only when the Disk Cleanup wizard detects Windows updates that you do not need on the computer.
And I agree with ian2 - you do have to select Cleanup system files. That was missing from the article. I hope you are reading this ChrisHoffman.
Thanks...I missed that! Found it and was able to delete Update files.
I am trying to remove some features on Win7 x64 but I get an error.
I am running
C:\Windows\System32>DISM.exe /Online /Disable-Feature /featurename:TabletPCOC /Remove
And I get in response this
Deployment Image Servicing and Management tool
Image Version: 6.1.7600.16385
The remove option is not recognized in this context.
For more information, refer to the help.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
Here is the dism log http://pastebin.com/XE81ppcc
Those parameters won't work on Win7 DISM, run
dism.exe /? to see for yourself
My Windows 7 (64bit) system behaved as if it had installed a 'restart required' update when I powered it on after having done the 'Windows Update' disk cleanup of 2.9 GB. It took long enough that I checked the logs to figure out what had caused that, since there were no new updates since my last shutdown. Might be worthwhile letting people know that their next startup could take quite awhile if they choose to take your advice, Chris.
For windows 7, in order for the disk cleanup to do the action as mentioned, the Disk Cleanup program needs to be RUN AS ADMINISTRATOR. Otherwise, very helpful article.
I have a 64bit win8 system, in the winsxs folder there are many folders like amd-64 can i delete those folders without causing any problems?
The AMD64 folders have 64-bit system files and like other things in WinSXS should not be deleted.
Only those with "small" hard disk for the OS or small partition for OS need worry about this. Freeing 6 to 25 GB on a 500GB or 1 TB disk is for all intents and purposes meaningless.