If you receive a message – An error occurred while attempting to generate this report, The Data Collector Set or one of its dependencies is already in use, when you run perfmon /report to generate a report using the Resource and Performance Monitor, then this post explains what you can do about it.
The Resource Monitor is a good built-in tool that lets you monitor and study how applications you run, affect your computer’s performance, both in real-time and by collecting log data for later analysis. You can also use it to generate aSystem Health Report.
To generate a performance report of your system, open Run, type the following and hit Enter:
But at times instead of the report being generated, you may see an error message.
The Data Collector Set or one of its dependencies is already in use
This issue involves “NT Kernel Logger”, which is a kernel event provider. This provider can not be accessed at the same time by multiple consumers (e.g., multiple data collector sets). To resolve this issue, see whether your DCS is collecting kernel logger information. Stop the resource monitor before running your DCS. If running multiple DCSs that collect kernel logger info, run one DCS at a time.
If you are facing this issue, here are a few things you could try:
1] Restart your computer and run perfmon /report and see if it works this time. Else, perform Clean Boot and try to run perfmon /report and see it generates a report.
2] Download and use Process Manager from Microsoft and see if you are able to identify the process that may be using the Data Collector Set. This is an advanced monitoring tool for Windows that shows real-time file system, Registry and process/thread activity.
3] Open Services Manager and ensure that the following Windows Services are set on Manual:
- Performance Logs and Alerts.
- Problem Reports and Solutions Control Panel Support.
You may Start these services manually here and then run perfmon /report and see.
4] From the Start Menu, open Event Manager and navigate to the following logs:
Event Viewer > Application and services log > Microsoft > Windows > Diagnosis-PLA
Note down the Event ID, Error details and try to search online on Microsoft sites for help.
Hope this helps.