New SCCM Maintenance Task "Clean up Deployment Status Messages older than x days"
Install Status Messages of TaskSequences or Applications still exist how long as the associated deployment exists.
In a big SCCM environment (>150.000) with a static deployment construct. (one catalog object, one software, one collection, one deployment) Status Messages are the cause for a strong increase of the database size.
In spite of using Status Filter Rules in the SCCM hierarchy.
For the order workflow, or for troubleshooting only status message were required up to 30 days.
So a hopefully simple Maintenance Task can save a lot of Hard disc space.
Scott Gilvin commented
Please create a feature to clean up Deployment Status history from the database by date. We need the ability to manipulate the data set when we desire. If I want to remove old records from the DB, I should have a supported method to do it. The attached screenshot is an example of "In Progress" records I don't want to see. I would even use an "All or Nothing" tool. Just reset this deployment data by erasing all related records to start again from that moment. Something is better than nothing. Having to delete and rebuild the deployment is not the answer. Creating this feature is.
Heiko Fehling commented
We talk about the Table "TaskExecutionStatus"! There ist no Maintenance Task which handles this Table.