Adding hierarchical items to a template

The type of hierarchical item that you can add to a template depends on the type of template that you are editing. For example, if you are editing a template for the File Attributes module, this dialog lets you add a directory to the template. But, if you are editing a template for the Registry module, this dialog lets you add registry keys and subkeys to the template. After you add a hierarchical item to the template, new policy runs of the module using the template check the item against its template entry and report any discrepancies.

To add a hierarchical item to a template

  1. Double-click the template to open the Template Editor.

  2. Click Add Folder.

    Click Add Key/Subkeys if it is the template for the Registry module.

  3. In the Agent Name box, type the name of the agent system where the hierarchical item is located.

  4. In the Item Name box, type the name of the hierarchical item that you want to add to the template. Use the fully qualified path name; for example: C:\ temp.

  5. Under Items to include, do one of the following:

    • Click This item and all subordinates to add the hierarchical item and any subordinates.

    • Click This item only (no subordinates) to add only the indicated hierarchical item.

    • Click Include and then enter a level in the Subordinate level box.

      A level of 2 adds the hierarchical items from level 1 plus any subordinates under those items. Each higher number adds an additional subordinate level to the template. For example, a level of 3 adds the hierarchical items from level 2 plus any subordinates under those items.