Hi Adin,
What you’re looking for in the dism /online /cleanup-image /analyzecomponentstore output is the “Component Store Cleanup Recommended” flag and the size reported under “Cache and Temporary Data” and “Backup and Disabled Features”. If “Cleanup Recommended” shows Yes, that’s Microsoft’s own indicator that running /startcomponentcleanup will reclaim meaningful space.
In practice, the biggest reclaim comes when “Backup and Disabled Features” is several GB, since that represents superseded updates still retained for rollback. If that section is small (for example, a few hundred MB), the cleanup won’t give you much back even if recommended.
Also note that /startcomponentcleanup alone won’t remove all old payloads; adding /resetbase will significantly reduce size but permanently removes the ability to uninstall existing updates. This is safe for stable endpoints but should be avoided on machines where rollback is required.
For remote execution, focus on parsing that single “Cleanup Recommended” value plus the reported reclaimable sizes, and only trigger cleanup when you consistently see multi‑GB reclaim potential to avoid unnecessary disk churn on SSDs.
Harry.