CSM 10.4 Documentation

Home

System Restore Command-Line Options

Use System Restore command-line options 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. The System Restore application to run is called SystemRestore.exe, which is found in the Cherwell Service Management installation directory.

General Settings
Option Description
/? Provides help text for the supported 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 connection that is available to all users of the machine, add the prefix [Common]. To use a connection that is associated with the current user, add the prefix [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 ID to use. This only works when CSM authentication is enabled and is not supported with other authentication types (Windows or LDAP).

/p
This is the password to use. This only works when CSM authentication is enabled and is not supported with other authentication types (Windows or LDAP).
Note: Putting a password into a shortcut is a potential security issue, since other users can 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


Was this article useful?