1. Open Performance Monitor, and navigate to the Data Collector Sets node in the tree on the left.
2. Right-click User Defined, and navigate the menu to create a new data collector set.
3. Give the new set a name, select the Create Manually option button, and click Next.
4. Choose the Create Data Logs radio button, select the Performance Counter check box, and then click Next.
5. Click Next again. It’s not the time yet to select the performance counters, but you can customize the sampling time interval for the performance counter log.
6. Specify a directory where you want the logs to be saved, and then click Next.
7. Click Finish.