Windows 10: What's the story with Win10's WINSXS directory?
What's the story with Win10's WINSXS directory?
There's been a lot written about Win7's ever-expanding WINSXS subdirectory. In my Win7 install (which started out as a clean install) WINSXS is now 9.5GB in size. Granted, my system is several years old, but I know at some point the size or complexity of WINSXS is going to force me to reinstall my OS.
Does Win10 handle this issue any better? Are there any utilities available to clean up WINSXS? MS provides cleanup utilities for the major Win7 updates, but there is no way to clean up WINSXS after de-installing 3rd party software. It would be nice is Win10 provided a way to do this.
The large size of the winsxs folder is more apparent than real. The NTFS file system has long had the feature whereby a single copy of a file can appear in 2 or more folders and this feature is used in the winsxs folder. This saves considerable disk space. Even if the folder were deleted (NOT recommended) you would find the space savings much less than anticipated. This feature has been in place since Vista.
The "problem" was largely fixed in Windows 8. The issue was that Windows Explorer was not aware of hard linked files and would count them multiple times, over-inflating the size of the folder than it really was. In Windows 8, Explorer was fixed so it counted the disk space correctly.
That's not to say that there wasn't cleanup that could be done as well. dism in Windows 8 was also improved to provide a cleanup function for WinSXS to remove old Windows update files. A patch was released for Windows 7 that added the same feature to Disk Cleanup.
Be nice to all, please?!
Just run: Dism.exe /Online /Cleanup-Image /StartComponentCleanup /ResetBase
WinSxS Folder (Component Store) - Clean Up in Windows 8.1
My system is Win7, not Win8, so the methods described in that article don't work for me. However, I did try this:
Dism.exe /online /Cleanup-Image /spsuperseded
but it found no service pack backup files.
Nice try though/
You should post at our sister site www.sevenforums.com for Windows 7 issues.
Last edited by Brink; 27 Jul 2016 at 12:25.
I found that while searching for a Win10 fix ... the article states :
Using the /StartComponentCleanup
parameter of Dism.exe on a running version of Windows 10 gives you similar results
I just noticed some change in the Get Windows 10 app..
I have installed build 10049 today. Why have I got a Windows.old directory dated 1st April 2015? :confused:
The Windows directory is dated 31st March 2015 which makes sense.
Win7 works A-OK for me and I see no compelling reason (yet) to go to Win10. However, my Win7 system is old and by now my Registry & WINSXS directory are full of junk. I know that at some point, if I don't do a clean install of something, some bad...
I upgraded from (retail) 8.1 Pro to 10 and this new directory appeared in root of C:/ containing Install.wim and a file saying
Upgrade will not replace the on-disk recovery image if this file is present. Do not delete or modify this file.