# Agent Command Line Options

> The command line parameters available for the PerformanceGuard agent executable.

Source: https://docs.capaone.com/performanceguard/technical-reference/agents/agent-command-line-options/  
Product: PerformanceGuard — a separate CapaSystems product; do not apply this page to any other.

The following command line parameters are available for the agent executable. Unless otherwise indicated, only a single option should be supplied.

| **Option**                       | **Alias**   | **Usage**                                                                                                                                                         |
|:---------------------------------|:------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **-install**                     | -i          | This option is used to install the PerformanceGuard agent as a service on the computer                                                                            |
| **-deinstall**                   | -d │ -u     | This option is used to remove the service from the computer. If the service hasn't been installed, it has no effect.                                              |
| **-run**                         | -r          | Use this option to run the agent directly from the command line.                                                                                                  |
| **-Restart**                     |             | Use this option to restart (or start) the service.                                                                                                                |
| **-StopService**                 |             | Use this option to stop the service.                                                                                                                              |
| **-InstallGUI**                  | -ig         | Install the PerformanceGuard agent GUI interface.                                                                                                                 |
| **-UnInstallGUI**                | -ug         | Remove the PerformanceGuard agent GUI interface from startup.                                                                                                     |
| **Special Values**               |             |                                                                                                                                                                   |
| **-RegBase=\<key name\>**          |             | Specifies an alternative base key for the agent to use. Default is "E2EAgent".                                                                                    |
| **-Help**                        |             | Prints command line help.                                                                                                                                         |
| **-ConfigFile=\<file name\>**      |             | Read values from a configuration file in addition to reading the registry. <br/>⚠️ The configuration file must be in ANSI format.                                 |
| **-WriteConfigFile=\<file name\>** |             | Write configuration values to a named file, for example to copy values from the registry. <br/>⚠️ The configuration file must be in ANSI format.                  |
| **-IgnoreRegistry**              |             | Don't read configuration values from the registry.                                                                                                                |
| **-UpdateRegistry**              |             | Update the configuration values in the registry, for example to update registry from a configuration file. <br/>⚠️ The configuration file must be in ANSI format. |
