What's the story with Win10's WINSXS directory?


  1. Posts : 340
    Win10 Ver. 1809 Build 17763.`
       #1

    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.
      My Computer


  2. Posts : 1,222
    Windows 10 Pro
       #2

    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.
      My Computer

  3. Mystere's Avatar
    Posts : 3,256
    Windows 10 Pro
       #3

    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.
      My Computer

  4. TairikuOkami's Avatar
    Posts : 4,852
    Windows Home Dev 21xxx x64
       #4

    Just run: Dism.exe /Online /Cleanup-Image /StartComponentCleanup /ResetBase

    WinSxS Folder (Component Store) - Clean Up in Windows 8.1
      My Computer


  5. Posts : 340
    Win10 Ver. 1809 Build 17763.`
    Thread Starter
       #5

    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/
      My Computer


  6. Posts : 101
    Win10Pro 64bit 1909 build 18363.628
       #6
      My Computer

  7. Brink's Avatar
    Posts : 57,723
    64-bit Windows 10 Pro for Workstations build 21390
       #7

    Hello bbinnard,

    You should post at our sister site www.sevenforums.com for Windows 7 issues. :)
    Last edited by Brink; 27 Jul 2016 at 12:25.
      My Computers


  8. Posts : 101
    Win10Pro 64bit 1909 build 18363.628
       #8

    Brink said:
    You should post at our sister site www.sevenforums.com for Windows 7 issues. :)
    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
    What's the story with Win10's WINSXS directory?-screenshot_19.png
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 14:08.
Find Us




Windows 10 Forums