You can import or export Windows System Resource Manager configuration information between computers. Configuration information includes process matching criteria, resource allocation policies, calendar events and schedules, conditional policies, user priorities, and computer groups. In this way, you can create management scenarios and then deploy them on other computers without performing the configuration multiple times.

Files created and imported

The files created by or imported by Windows System Resource Manager are:

File name Description

allocationpol.xml

Contains information about resource allocation policies.

Calendar.xml

Contains information about calendar events and schedules.

ConditionalPolicy.xml

Contains information about conditional policies.

selectionpol.xml

Contains information about process matching criteria.

MachineGroup.xml

Contains information about computer groups.

UserCategories.xml

Contains information about priorities associated with users.

Exporting and importing configuration information

Membership in the local Administrators group, or equivalent, is the minimum required to complete this procedure.

The following procedure describes how to export configuration information from a computer where you have successfully configured Windows System Resource Manager so that you can import it onto another computer.

Exporting and importing configuration information may lead to duplicate objects that already exist in the configuration. To handle conflicts, Windows System Resource Manager supports five export and import options:

  • Overwrite existing objects: All existing objects will be replaced with the set being imported or exported. All data in the target server or file will be lost.

  • Do not export or import duplicate objects: Existing objects that are duplicates will be ignored and only new objects will be created. Objects that were not exported or imported will continue to reference the existing objects.

  • Replace duplicate objects with exported or imported objects: Existing objects that are duplicates will be replaced and new objects will be created. Existing objects that are not conflicts will be left as they are.

  • Rename existing objects for duplicate items: In the event of conflicting objects, the existing objects will be renamed to resolve the issue.

  • Rename exported or imported objects for duplicate items: In the event of conflicting objects, the exported or imported objects will be renamed to resolve the issue.

To export configuration information to files
  1. Open Windows System Resource Manager. To open Windows System Resource Manager, click Start, point to Administrative Tools, and then click Windows System Resource Manager.

  2. In the Connect to Computer dialog box, select This computer, and then click Connect.

  3. In the console tree, right-click Windows System Resource Manager (Local), and then click Export Configuration Settings.

  4. In the Export Settings Wizard, on the Before You Begin page, click Next.

  5. On the Select Export Path page, select the Export to file check box.

  6. In the Select export path box, type a directory path where you want to save the configuration information, or browse to find the directory that you want to use. On the Browse for Folder page, select the path to export the files, and then click OK.

  7. Click Next.

  8. On the Export Options page:

    1. Under Export options, select the export option that you want to use.

    2. Under Additional overwrite objects, select Computer groups, Conditional policies, and User priorities if you want to export this information, and then click Next.

  9. On the Select Calendar Events page, select the calendar events to be exported, and then click Next.

    Note

    Selecting a calendar event will automatically select dependent schedules, resource allocation policies, and process matching criteria on upcoming pages in the Export Settings Wizard. You will not be able to remove these dependent objects from the export.

  10. On the Select Schedules page, select the schedule objects to be exported, and then click Next.

  11. On the Select Resource Allocation Policies page, select the policies to be exported, and then click Next.

  12. On the Select Process Matching Criteria page, select the process matching criteria to be exported, and then click Next.

  13. On the Export Summary page, verify the export options, and then click Export.

    Note

    To display a conflicts report prior to performing the export, click Check Conflicts.

  14. On the Export Completed page, verify the export log, and then click Finish.

To export configuration information to computers or computer groups
  1. Open Windows System Resource Manager. To open Windows System Resource Manager, click Start, point to Administrative Tools, and then click Windows System Resource Manager.

  2. In the Connect to Computer dialog box, select This computer, and then click Connect.

  3. In the console tree, right-click Windows System Resource Manager (Local), and then click Export Configuration Settings.

  4. In the Export Settings Wizard, on the Before You Begin page, click Next.

  5. On the Select Export Path page, select the Export to computer or computer groups check box.

  6. Select the computer or computer group to export to, and then click Next.

  7. On the Export Options page:

    1. Under Export options, select the export option that you want to use.

    2. Under Additional overwrite objects, select Computer groups, Conditional policies, and User priorities if you want to export this information, and then click Next.

  8. On the Select Calendar Events page, select the calendar events to be exported, and then click Next.

    Note

    Selecting a calendar event will automatically select dependent schedules, resource allocation policies, and process matching criteria on upcoming pages in the Export Settings Wizard. You will not be able to remove these dependent objects from the export.

  9. On the Select Schedules page, select the schedule objects to be exported, and then click Next.

  10. On the Select Resource Allocation Policies page, select the policies to be exported, and then click Next.

  11. On the Select Process Matching Criteria page, select the process matching criteria to be exported, and then click Next.

  12. On the Export Summary page, verify the export options, and then click Export.

    Note

    To display a conflicts report prior to performing the export, click Check Conflicts.

  13. On the Export Completed page, verify the export log, and then click Finish.

The following procedure describes how to import configuration information that will replace the existing configuration on the computer to which you are importing.

Caution

When you import configuration information, depending on your settings, your previous settings can be overwritten and cannot be recovered. If you are unsure whether you want to use the imported configuration, you should export your current settings as a backup before importing.

To import configuration information
  1. Open Windows System Resource Manager. To open Windows System Resource Manager, click Start, point to Administrative Tools, and then click Windows System Resource Manager.

  2. In the Connect to Computer dialog box, select This computer, and then click Connect.

  3. In the console tree, right-click Windows System Resource Manager (Local), and then click Import Configuration Settings.

  4. In the Import Settings Wizard, on the Before You Begin page, click Next.

  5. On the Select Import Path page, select the Import from file check box.

  6. In the Select import path box, type a directory path of the imported configuration files, or browse to find the directory that you want to use. On the Browse for Folder page, select the path to import the files, and then click OK.

  7. Click Next.

  8. On the Import Options page, select an import option, select how the import will handle objects to overwrite, and then click Next.

  9. On the Select Calendar Events page, select the calendar events to be imported, and then click Next.

    Note

    Selecting a calendar event will automatically select dependent schedules, resource allocation policies, and process matching criteria on upcoming pages in the Import Settings Wizard. You will not be able to remove these dependent objects from the import.

  10. On the Select Schedules page, select the schedule objects to be imported, and then click Next.

  11. On the Select Resource Allocation Policies page, select the policies to be imported, and then click Next.

  12. On the Select Process Matching Criteria page, select the process matching criteria to be imported, and then click Next.

  13. On the Import Summary page, verify the import options, and then click Import.

    Note

    To display a conflicts report prior to performing the import, click Check Conflicts.

  14. On the Import Completed page, verify the import log, and then click Finish.

Additional considerations

  • When you create process matching criteria by using the Windows System Resource Manager snap-in, specified user and group names are validated during creation. However, imported process matching criteria are not validated. Verify that all user or group names in imported process matching criteria exist on the computer where the criteria were imported before you include the process matching criteria in a resource allocation policy.

Additional references