Skip to main content

How to save data collector set in perfmon. How to import data collector template to another computer

 In the previous article, we have seen what is performance testing and performance testing using a performance monitor. We have already seen how to create a user-defined data collector in this article.

Here let us see how to export data collector template from one computer and import them to another computer. The template is nothing but the XML file that contains data about the data collector that is created in one computer. 

How to export data collector template

Step 1: Go to CTRL+R -> Perfmon
Step 2: Right-click on the collector you want to save. Then click Save Template

Step 3: Select location 

How to import saved template to another computer

Step 1: Go to CTRL+R -> Perfmon
Step 2: Right-click on the User Defined -> New -> Data Collector Set
Step 3: Select Create from a template(Recommended)

Step 4: Click Next
Step 5: Select Basic and click Next

Step 6: Click next and set location 
Step 7: Click Finish

Possible Issues While Importing Template

    Security ID mismatch in XML template. While creating a data collector set, a security ID will get displayed in the template. When we try to save them in another machine it will mismatch and you will not be able to import the template. 

    To solve this issue, create and save one template(Template 2) on the computer in which you are trying to import the template(Template 1 which is saved from another computer). 
    Open both templates(Template 1 and Template 2) in notepad. Search for security in both files. Copy the security tag line in Template 2 and replace it in Template 1.

Hope this will be helpful.

Comments