19.2 Importing a Policy

When you import a policy from an XML policy file, you can specify the name for the policy and the folder in which to place it.

  1. At a ZENworks Server command prompt, run the following command:

    zman epi (policy name) (policy encryption key filepath) (XML policy file path) [parent folder]

    (policy name) - The name to assign to the policy object.

    (policy encryption key filepath) - The full path (including the filename) of the security policy encryption key (KMK) file for the Management Zone from which the policy was exported. This file is required to decrypt the encrypted XML file. If the key file is in the current directory, specify only the filename.

    (XML policy filepath) - The full path (including the filename) of the encrypted XML policy file. If the file is in the current directory, specify only the filename.

    [parent folder] - The Policies folder in which to create the policy object. If you want to create the object in the root folder, ignore this option.

    Examples:

    zman epi FWPolicy c:\key.txt c:\FWpolicy.xml

    zman epi DEPolicy key.txt encryptionpolicy.xml esmpolicies/encryption