Clean Up Component Store (WinSxS folder) in Windows 10  

Page 4 of 9 FirstFirst ... 23456 ... LastLast

  1. Posts : 13
    Win 8.1 Pro 64-bit Embedded Industry
       #30

    I would simply say Hello! to TairikuOkami... and many thanks for giving me the solution: DISM++. More than 1 GB useless files removed from WinSxS. Furthermore, a cleaning tool with a lot of interesting features. Mny thks again!
    For those who are interested in having a look, here is the link: Dism++ | New Windows Utility
    B.B.
      My Computer


  2. Posts : 7,898
    Windows 11 Pro 64 bit
       #31

    Note DISM++ hails from Hong Kong
      My Computers


  3. Posts : 13
    Win 8.1 Pro 64-bit Embedded Industry
       #32

    I noticed asian characters, from where? Thks for the info. A little pity, however, that the text files aren't in english. Nevertheless not disturbing at all
      My Computer


  4. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #33

    Hello @Brink,

    Is OPTION FOUR, Clean Up Component Store (WinSxS folder) using /SPSuperseded still valid when using Win 10 please?

    Thanks in advance.
      My Computer


  5. Posts : 68,880
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #34

    Paul Black said:
    Hello @Brink,

    Is OPTION FOUR, Clean Up Component Store (WinSxS folder) using /SPSuperseded still valid when using Win 10 please?

    Thanks in advance.
    Hello Paul,

    The command is still valid to cleanup backup components of a service pack if any are found.

    However, Windows 10 has yet to have a service pack, and doesn't seem it ever will considering how Windows 10 is updated now.

    Option four will most likely never be needed for Windows 10. I added a note under option 4 for this.
      My Computers


  6. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #35

    Hello @Brink,

    Brink said:
    The command is still valid to cleanup backup components of a service pack if any are found.

    However, Windows 10 has yet to have a service pack, and doesn't seem it ever will considering how Windows 10 is updated now.

    Option four will most likely never be needed for Windows 10. I added a note under option 4 for this.
    Thank you for the reply, it is appreciated!

    I might add the option to a script that I am writing and put a note that it is not currently valid although it might be at some stage in the future.

    Thanks again.
      My Computer


  7. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #36

    Am I right in saying that Dism.exe /Online /Cleanup-Image /RevertPendingActions will ONLY work if the changes made were changes using DISM to an Offline image?

    By this I mean if . . .

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

    . . . were run, then Dism.exe /Online /Cleanup-Image /RevertPendingActions will have NO affect because it is run using the Online image?

    Thanks in advance.
      My Computer


  8. Posts : 68,880
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #37

    Paul Black said:
    Am I right in saying that Dism.exe /Online /Cleanup-Image /RevertPendingActions will ONLY work if the changes made were changes using DISM to an Offline image?

    By this I mean if . . .

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

    . . . were run, then Dism.exe /Online /Cleanup-Image /RevertPendingActions will have NO affect because it is run using the Online image?

    Thanks in advance.
    I've never used the /RevertPendingActions option, but you should use the /RevertPendingActions option only in a system-recovery scenario to perform recovery operations on a Windows image that did not boot.

    Example: DISM.exe /Image:C:testoffline /Cleanup-Image /RevertPendingActions

    Use DISM to cleanup WinSxS after Windows Update
      My Computers


  9. Posts : 211
    Windows10 21H2 x64 Home, Single language, build 19044.1706
       #38

    Hi @Brink

    I cannot run Dism /Online /Cleanup-Image /StartComponentCleanup, tried PowerShell, Safe Mode, as administrator but always get Access Denied.
    I can analyze the ComponentStore:

    Microsoft Windows [Version 10.0.18363.959]
    (c) 2019 Microsoft Corporation. All rights reserved.
    C:\WINDOWS\system32>Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.900
    Image Version: 10.0.18363.959
    [==========================100.0%==========================]
    Component Store (WinSxS) information:
    Windows Explorer Reported Size of Component Store : 8.88 GB
    Actual Size of Component Store : 7.49 GB
    Shared with Windows : 5.60 GB
    Backups and Disabled Features : 1.89 GB
    Cache and Temporary Data : 0 bytes
    Date of Last Cleanup :
    Number of Reclaimable Packages : 2
    Component Store Cleanup Recommended : Yes
    The operation completed successfully.

    C:\WINDOWS\system32>Dism /Online /Cleanup-Image /StartComponentCleanup
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.900
    Image Version: 10.0.18363.959
    [=========== 20.0% ]
    Error: 5
    Access is denied.
    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

    Any ideas?
    Frank
      My Computer


  10. Posts : 68,880
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #39

    Hello @FrankW,

    If I remember correctly, there was a bug with the DISM command in older builds. Do you have the latest build installed?
      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 18:55.
Find Us




Windows 10 Forums