Included with MOVEit Automation is a command-line utility, GetMICConfig.exe which is used to retrieve the current configuration from a running copy of MOVEit Automation on the local machine. The ability to retrieve the current configuration useful for certain backup and archiving activities.

To run the GetMICConfig utility, the user account must have administrative rights.

Although the MOVEit Automation configuration is already stored in a disk file named miccfg.xml, this file is fully encrypted and is therefore not usable by external applications. A similar config export capability is available via Web Admin, it requires human interaction. By contrast, GetMICConfig is suitable for running from a script or batch file, and can even be run as part of a MOVEit Automation task.

GetMICConfig is installed in the same directory as MOVEit Automation, typically \Program Files\MOVEit\MOVEitAutomation.

GetMICConfig syntax:

GetMICConfig -o outfile -u username -p password -s secret [-k]

where:

outfile

The name of the desired output file. This file contains an xml version of the MOVEit configuration, including tasks, hosts, and some of the resource data. The file is human-readable except for some sensitive information such as passwords, which are saved in an encrypted form. See secret below for encryption details.

The xml file does not represent the entire MOVEit configuration. To complete a full back up, additional items are required. For more information, see Backup - Disaster Recovery.

username/password

The credentials of the user with access to export the configuration.

secret

The secret is the optional configuration encryption passphrase.

Provide a secret if you plan to import this file to another MOVEit server running the same MOVEit version. When you import this configuration file to this server or another server running the same MOVEit version, you will be prompted to provide this secret.

If you do not provide a secret on the command-line, MOVEit will use the server's encryption key to protect the sensitive information in the configuration file. If you subsequently import a configuration file saved with the server encryption key, it will work automatically on the server where you originally ran the export. However, to import this file to another server, you must use the secret option or ensure that the server's encryption key is imported to the other server. The key is located in the registry at: HKEY_LOCAL_MACHINE\SOFTWARE\StandardNetworks\MOVEitCentral\KeyMat

The recommended approach is to use the secret command-line option, especially if you intend to import the file to another server. Make note of the secret as you will require it to import configuration files.

-k

Specifies that the old copy of outfile, if any, should be kept if GetMICConfig is unable to retrieve the settings. By default, GetMICConfig will delete any old outfile before connecting to MOVEit Automation.

The program exit code is:
  • 0 if all is OK
  • 1 if there is a command-line error
  • 2 if there is a communication error with MOVEit Automation
  • 3 if there is a bad response from MOVEit Automation
  • 4 if it could not write the output file
This can be checked from a batch file using IF ERRORLEVEL.