Environment
Novell ZENworks 10 Configuration Management with Support Pack 1 - 10.1
Novell ZENworks 10 Configuration Management with Support Pack 2 - 10.2Novell ZENworks 10 Configuration Management with Support Pack 3 - 10.3
Novell ZENworks 11 Configuration Management
Novell ZENworks 11 Configuration Management Support Pack 1 - ZCM 11 SP1
Situation
Using zman petf and zman betf do not provide content file for policies with content, such as GPO policies. How can the content be obtained?
Resolution
This is fixed in version 11.2 - see KB 7010044 "ZENworks Configuration Management 11.2 - update information and list of fixes" which can be found at https://www.novell.com/support
In 11.2 and later, use betf with command line option:
-c, --export-content
as shown in the documentation https://www.novell.com/documentation/zenworks11/zen11_utils/data/b74pt40.html#b8an1xx
For prior releases:
as shown in the documentation https://www.novell.com/documentation/zenworks11/zen11_utils/data/b74pt40.html#b8an1xx
For prior releases:
Workaround
To export the policy:
-
Launch ZCC.
-
Navigate to the list of policies screen.
-
Select the policy to be exported and click the "details " tab .
-
Click the "configure" button in the "Windows Group Policy settings" panel to launch the Group Policy helper tool.
-
Close the helper tool.
-
Click "ok " on the "success " dialog window.
-
Click "upload " on the "confirm group policy settings " dialog window.
-
Note the "path to the zip file " that is displayed in the windows confirmation dialog window.
-
This zip file can be used along with the settings file and action file (XMLs) generated with the zman petf command to create a new group policy.
-
Run the zman petf command to export the policy to a xml file such as export.xml.
For example,
zman petf \policies c:\export.xml -
Edit the export_actioncontentinfo.xml file to update the path of the zip file created in step 8 above.
To import the policy in a new zone:
Run:
zman bc .
zman pc myPolicyName c:\export.xml --actioninfo=c:\export_ActionContentInfo.xml
If the original MSI is not available, assign the original zone bundle to a device and refresh the device. The MSI will be available in the cache\zmd folder within some subfolder dynamically generated during refresh.
For non-MSI bundles:
make the files available in the same location as the XML file and use --actioninfo on zman bc to import the content
For non-MSI bundles:
make the files available in the same location as the XML file and use --actioninfo on zman bc to import the content