How to import the groups : Computers, Software or Procedure ?
Client Automation - All Versions
Attached script import_group.dms is a DMS script which could be used to import a group or all groups.
See this article to see how to export the groups : Export of Groups
This script could be use for following purpose :
This script import the group(s) into the database from .exp files (exported using export_group.dms script)
This script generates a log under <DSM PATH>\logs\import_group.log
The syntax of this script is :
SYNTAX :
dmscript.exe import_group.dms Export_File 0|1 [SQLUserName SQLUserPwd]
Export_File : Name export file.
0|1 : Keep Hierarchy 0 or 1 (Default). 0 = groups are imported in root folder. 1 = groups are imported with group structure hierarchy.
Always 1 if the file contains all groups
SQLUserName SQLUserPwd : Optional. SQL UserName and Password of Domain database. Default is logged User.
Examples :
dmscript.exe import_group.dms comp___ALLGROUPS.exp 1
dmscript.exe import_group.dms comp___GROUP1.exp 1 ca_itrm NOT_changedR11
dmscript.exe import_group.dms c:\temp\SOFT___SWGroup1.exp 0
dmscript.exe import_group.dms Proc_Group1
dmscript.exe import_group.dms c:\temp\PROC___PRGroup1.exp 1
Examples :
Remark : Often the script could return error code 7. Look at file <DSM PATH>\logs\import_group.log. Generally it is because a group already exists of a software package does not exist.
The script continues with all other groups even if an error is found.
See this article for a script to export the groups : Export of Groups
Version History :
import_group.dms - Version 1.0 (12 December 2025)