Clean Up Component Store (WinSxS folder) in Windows 10  

Page 7 of 8 FirstFirst ... 5678 LastLast

  1. Posts : 61,587
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #60

      My Computers


  2. Posts : 21,424
    19044.1586 - 21H2 Pro x64
       #61

    Brink said:
    Hello,

    You can use the method in the tutorial below to analyze the component store to see its current size of items in it to help get an idea. In addition, you can use this method to compare before and after for an exact amount recovered.

    Analyze Component Store (WinSxS folder) in Windows 10
    Did this on a 19041.508 Windows 10 PC today and it went from Component Store size of about 11 GB to 7 GB.
      My Computer


  3. Posts : 61,587
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #62

    swDev3dbtf said:
    Did this on a 19041.508 Windows 10 PC today and it went from Component Store size of about 11 GB to 7 GB.
    Not bad.
      My Computers


  4. Posts : 177
    Windows 10 Pro
       #63

    I have the same issue as FrankW, it is, getting Error: 5 Access is denied after typing the command shown on Option Two. This is happening on a machine running 20H2 19042.685. From what I've searched, it seems to be a pretty common issue with DISM not having the necessary permissions. I checked the WinSxS folder, and its owner is TrustedInstaller, which has full control over it, I believe it's expected. I can't believe I will need to refresh Windows just to get proper permissions, what a joke.

    Nevermind, after doing an in-place upgrade, I got the permission and managed to execute the command on Option 2.
    Last edited by ksio89; 25 Dec 2020 at 18:06.
      My Computer


  5. Posts : 34
    win 10
       #64

    Then, the best series of commands, run in Safe Mode, is:

    fsutil resource setautoreset true c:\&fsutil usn deletejournal /d /n c: (cleans up NTFS file system)

    then:

    Dism.exe /online /Cleanup-Image /StartComponentCleanup

    Dism.exe /Online /Cleanup-Image /RestoreHealth

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

    When all done, reboot back to Normal Mode.

    NOTE: Optionally, a SFC /SCANNOW run first before anything ensures the component store system files are correct.



    Is all this still applicable today 2021 for windows 10?? Including that first command? (fsutil?)
      My Computer


  6. Posts : 61,587
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #65

    Napkins333 said:
    Is all this still applicable today 2021 for windows 10?? Including that first command? (fsutil?)
    Hello,

    Yes, it's all still valid in Windows 10.
      My Computers


  7. Posts : 5,183
    Windows 11 Home
       #66

    Napkins333 said:
    Is all this still applicable today 2021 for windows 10??
    Except ResetBase, which is disabled by registry and ignored, because using it breaks stuff, like updates.
      My Computer


  8. NMI
    Posts : 947
    Windows 10 Pro, Version 20H2
       #67

    TairikuOkami said:
    Except ResetBase, which is disabled by registry and ignored, because using it breaks stuff, like updates.
    ResetBase appears to work still:

    Clean Up Component Store (WinSxS folder) in Windows 10-resetbase.png
      My Computer


  9. Posts : 5,183
    Windows 11 Home
       #68

    abbodi1406 said:
    ResetBase was disabled for offline images since build 16299 (even if you changed the registry DisableResetbase)
    but was working for online system after changing the registry

    apparently in 18362 it's disabled for both
    even regular behavior is disabled (delta-compress old components)
    Windows 10 Hotfix Repository | Page 420 | My Digital Life Forums

    I can cofirm, that it breaks updates with certain CUs, I had to restore a system image to fix it.

    WIndows 10 Hotfix Repository | Page 514 | My Digital Life Forums
      My Computer


  10. Posts : 123,680
    Windows 11 Pro (x64) 21H2 Build 22000.708
       #69

    TairikuOkami said:
    Windows 10 Hotfix Repository | Page 420 | My Digital Life Forums

    I can cofirm, that it breaks updates with certain CUs, I had to restore a system image to fix it.

    WIndows 10 Hotfix Repository | Page 514 | My Digital Life Forums
    I have 2 custom made PS's running Windows 10 Pro and I've used ResetBase command many times without any issues. Might just be your Windows version....
      My Computers


 

Tutorial Categories

Clean Up Component Store (WinSxS folder) in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  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 23:32.
Find Us




Windows 10 Forums