Starting with ConfigMgr 2010, there is a new maintenance task called Delete Aged Collected Diagnostic Files. This task is for cleaning up collected diagnostic files.
Configuration Manager provides predefined maintenance tasks that you can use to maintain the health of the Configuration Manager database. Most of these maintenance tasks periodically remove the stale data from the Configuration Manager database. This improves the performance of the database and increases the efficiency of site and hierarchy.
Regular maintenance ensures that the hardware, software, and Configuration Manager database continue to function correctly and efficiently.
Configuration Manager classifies maintenance tasks into 3 types
- Daily Tasks – Tasks that you can plan to run on daily basis.
- Weekly Tasks – Tasks suitable to run on weekly basis.
- Periodic Tasks – Tasks that don’t require you to run daily or weekly. So you can plan to run such tasks on a schedule.
Configuration Manager 2010 comes with lots of new features and if you haven’t upgraded to version 2010, you should. You can use the following upgrade guide – SCCM 2010 Upgrade Guide.
One of the new features in SCCM 1906 is the new site server maintenance task. You can now quickly view and edit site server maintenance tasks. This saves a lot of time as admins can now quickly view the maintenance tasks.
To view all the SCCM maintenance tasks, navigate to Administration > Overview > Site Configuration > Sites. Look for the Maintenance tasks at bottom.
Refer the following article as Reference for maintenance tasks in Configuration Manager.
In a glance you can find out the below information about the ConfigMgr maintenance tasks.
- If the maintenance task is enabled and was it completed successfully.
- The maintenance task schedule, last start time and last completion time of the task.
- You can also right click a maintenance task and enable, edit or disable it.
Delete Aged Collected Diagnostic Files task in ConfigMgr
So what does this Delete Aged Collected Diagnostic files task do ?. This task deletes the aged diagnostic file information from the database and site server folder structure.
This improves the performance of the database and increases the efficiency of site and hierarchy. Furthermore keeping you database clean and tidy helps you retrieve the query results quickly.
The collected client logs are stored according to the software inventory file collection settings. The site server holds the log files in the Inboxes\sinv.box\FileCol directory.
In SCCM 2010, the Delete Aged Collected Diagnostic files task uses a default value of 14 days when it looks for diagnostic files to clean up.
The Delete Aged Collected Diagnostic files task (maintenance task) is enabled by default. However you may disable the task if you want to. You may also change how often this task runs and even the entire schedule.
When you select your site and go to Maintenance Tasks tab, you can fetch information such as :-
- If the task is enabled and was it completed successfully.
- The task schedule, last start time and last completion time of the task.
- You can also right click a task and enable, edit or disable it.
You can edit the task and view the default settings such as the schedule and the days on which the task runs. The task runs every Sunday from 12:00 AM to 5:00 PM. The delete inactive data is set as 14 days. You can alter this and change it to run as required. If you wish to run this task on other days, you can choose the days and save the task.
It is recommended that you run this task during the weekends. And that’s why it is set to run on every Sunday.
When you make changes to Delete Aged Collected Diagnostic files task, click Apply and OK to save the changes.
Still Need Help?
If you need further assistance on the above article or want to discuss other technical issues, check out some of these options.