If your "cleanup" goal is to free up space on a rather than a client machine, Microsoft provides a specific tool for this. Remove sccm Client - after change to Intune
It is no longer officially supported by Microsoft but can sometimes be found in archived versions of the SMS 2003 Management Pack or third-party repositories like Softpedia . sccm client cleanup tool download
Because it is legacy software, it is not officially supported for modern Configuration Manager Current Branch clients, though many admins report it still works. 3. SCCM Content Library Cleanup Tool If your "cleanup" goal is to free up
Run the .exe as an administrator. It typically provides a GUI pop-up saying "Your system has been successfully cleaned" once finished. Monitor C:\Windows\ccmsetup\Logs\ccmsetup
Monitor C:\Windows\ccmsetup\Logs\ccmsetup.log . Look for "CcmSetup is exiting with return code 0" to confirm success. 2. Legacy Standalone Tool: CCMClean.exe