I've read that this component store size is excessive and should be fixed Code: F:\Downloads\22623.1095_amd64_en-us_professional_d817b5cd_convert>DISM.exe /online /cleanup-image /AnalyzeComponentStore Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.22623.1095 [===========================99.6%========================= ] Component Store (WinSxS) information: Windows Explorer Reported Size of Component Store : 15.10 GB Actual Size of Component Store : 13.86 GB Shared with Windows : 6.12 GB Backups and Disabled Features : 5.13 GB Cache and Temporary Data : 2.60 GB Date of Last Cleanup : 2022-12-29 10:09:46 Number of Reclaimable Packages : 4 Component Store Cleanup Recommended : Yes The operation completed successfully. F:\Downloads\22623.1095_amd64_en-us_professional_d817b5cd_convert> Any ideas on reducing the size other than reinstalling?
I don't think use DISM++ to cleanup SxS is safe because it have some bugs when cleaning SxS for Windows 11 images, and it's almost abandoned. (I am one of developers (not the author), but I have no interest for closed source projects at current and no chance to make it open source. I am trying to develop an open source alternative.) I think it's OK to use DISM.exe to cleanup SxS. Kenji Mouri
Tried something that may be seen as stupid but what the heck. Not advocating anyone else do this. This is just for informational purposes / discussion only. in regedit I set Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Configuration Set DisableResetBase to 0 Set SupersededActions to 1 Built UUPdump ISO from 22621.1192_amd64_en-us_professional_6966a29a_convert Ran Setup from the ISO This must have nuked my Samsung nvme drivers because I received an Inaccessble_Boot_Device error. Windows reverted. I dism the cab files from the UUP's folder. Windows came back up and.... Spoiler C:\windows\System32>f:\clean_windows.bat C:\windows\System32>sfc/scannow Beginning system scan. This process will take some time. Beginning verification phase of system scan. Verification 100% complete. Windows Resource Protection found corrupt files and successfully repaired them. For online repairs, details are included in the CBS log file located at windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline repairs, details are included in the log file provided by the /OFFLOGFILE flag. C:\windows\System32>Dism /Online /Cleanup-Image /CheckHealth Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.22623.1192 No component store corruption detected. The operation completed successfully. C:\windows\System32>Dism /Online /Cleanup-Image /ScanHealth Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.22623.1192 [==========================100.0%==========================] No component store corruption detected. The operation completed successfully. C:\windows\System32>DISM /online /cleanup-image /restorehealth /source:WIM:G:\sources\install.wim:1 /limitaccess Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.22623.1192 [==========================100.0%==========================] The restore operation completed successfully. The operation completed successfully. C:\windows\System32>DISM.exe /online /cleanup-image /AnalyzeComponentStore Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.22623.1192 [==========================100.0%==========================] Component Store (WinSxS) information: Windows Explorer Reported Size of Component Store : 9.50 GB Actual Size of Component Store : 8.78 GB Shared with Windows : 6.07 GB Backups and Disabled Features : 2.32 GB Cache and Temporary Data : 381.75 MB Date of Last Cleanup : 2023-01-13 16:09:02 Number of Reclaimable Packages : 0 Component Store Cleanup Recommended : No The operation completed successfully. C:\windows\System32>DISM.exe /online /cleanup-image /startcomponentcleanup Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.22623.1192 [===== 10.0% ] [==========================100.0%==========================] The operation completed successfully. C:\windows\System32>