How to export a configuration policy into a xml file ?
Client Automation - All Versions
Attached script export_config_policy.dms is a DMS script which could be used to export a configuration policy into a XML File.
This script could be use for following purpose :
The syntax of this script is :
dmscript.exe export_config_policy.dms PolicyName|ALLPOLICY [SQLUserName SQLUserPwd]
PolicyName : Name of the sealed configuration Policy to export. If ALLPOLICY all sealed policies are exported.
SQLUserName SQLUserPwd : Optional. SQL UserName and Password of Domain database. Default is logged User.
Examples :
dmscript.exe export_config_policy.dms POLNAME1
dmscript.exe export_config_policy.dms POLNAME1 ca_itrm NOT_changedR11
dmscript.exe export_config_policy.dms ALLPOLICY
The script generates the file(s) <policyname>.xml and a log under <dsm path>\logs\export_config_policy.log
Example of usage :
Remark :
This script works only on sealed configuration policy. It does not work on unsealed configuration policy.
Version History :
export_config_policy.dms - Version 1.0 (9 December 2025)
export_config_policy.dms - Version 1.1 (10 December 2025) - Add parameter ALLPOLICY to export all configuration policies