Log files are deleted when you use Performance Monitor in Windows Server

Applies to: Windows Server 2012 DatacenterWindows Server 2012 DatacenterWindows Server 2012 Standard More

Symptoms


Consider the following scenario:
  • You use Windows Performance Monitor to monitor system activity in Windows Server 2012, Windows Server 2008 R2, or Windows Server 2008.
  • You do one of the following:
    • You use a template to create a Data Collector Set.
    • You configure the new Data Collector Set on the Data Manager tab by using the default properties or the same properties that are configured in a different Data Collector Set.
  • The Performance Monitor log files that are generated are saved to the same folder as other Performance Monitor files.
In this scenario, all the Performance Monitor logs and all other files and folders that are in the same folder are deleted.

Cause


This issue occurs because Performance Monitor cannot determine which files should be saved or deleted.

Workaround


To work around this issue, do one of the following:
  • Save the Performance Monitor log files to a different folder.
  • Change the default settings when you configure a Data Collector Set on the Data Manager tab. For example, change the Minimum free disk space or Maximum folders setting.
  • Do not use a template to create Data Collector Sets.

References


For more information about Windows Performance Monitor, go to the following Microsoft TechNet website:


For information about how to manage data in Windows Performance Monitor, go to the following Microsoft TechNet website:


For information about the IDataCollectorSet::RootPath property, go to the following MSDN website: