System Restore Command-Line Options

Use the System Restore command-line to automatically execute instructions or commands. A system administrator can use the System Restore command-line options to import the CSM database for the first time or reload the CSM database from an archive file (.czar file).

To use the System Restore command-line options, execute CSM Administrator with arguments.

Open the command prompt in the Cherwell Service Management directory or give the file path for the SystemRestore.exe utility.

Arguments can either be prefixed with a forward slash or with a dash, so /? and -? are equivalent.

In the following examples, square brackets (example: [Common]) denote placeholder variables for customer data. Replace these variables, including the brackets, with your own values.
General Settings
Option Description
/? This is the help option and it provides a display of the supported system restore command-line options.
/s or /i This option specifies to run from the installer.
/w This option specifies to run for web applications.
/a This option specifies to run automatically.
/pc This specifies a privileged connection.
/z This is the .czar file location.
/c This is the connection to use. To use a common connection (a connection that is available to all Users of the machine), prefix the connection with [Common]. To use a connection that is associated with the current User, prefix the connection with [User]. When using the interactive dialog, [Common] connections are on the All Users tab, while [User] connections are on the tab named for the current User.
/u This is the User name to use. This only works when CSM authentication is enabled (instead of Windows or LDAP).
/p This is the password to use. This only works when CSM authentication is enabled (instead of Windows or LDAP).
Putting a password into a shortcut is a potential security issue, since other Users are able to edit the properties of the shortcut and read the password.
/pe This is the encrypted password to use.
/ps This is the platform definition file location.
/unicode This option enables Unicode support.

Example of a System Restore command-line flag:

/c "[Common]Cherwell Browser" /u henri /p mypassword /z "C:\Cherwell/CherwellDemo.czar" /a