Unattended installation
The monitoring process of PC Agent can be installed, updated, configured and uninstalled unattended. The control center must be started with parameters.
Installation
-install
Installation of the monitoring.
Optional parameters:
-name "name"
The preferred name for the monitoring process. Only the following characters allowed: a-z 0-9. Minimum length 5 characters. Maximum length 16 characters.
-config "config.dat"
The path or name of the configuration file. The file can be generated with the control-center.
-cfgpass "password"
The password for the configuration file.
-key "license-key"
The license key to remove the restrictions. Only one license key per installation is allowed. The license key will be activated online. The online activation requires an active internet connection.
-cloudemail "email"
The email-address of your cloud account in order to request a token.
-cloudpass "password"
The password of your cloud account in order to request a token.
-start
Starts the monitoring process after successful installation.
-delete
Deletes the Control-Center and the configuration file.
-noconsole
Doesn't open a console window. Without console output, it is not possible to recognize if the operation was successful or not.
Example: PCagent.exe -install -config "config.dat" -start
If the operation was successful the last line starts with: SUCCESS:
If the operation failed the last line starts with: ERROR:
Update
-update
Update to a newer version.
Optional parameters:
-password "password"
The password to protect the control-center. This password can be specified in the control-center.
-delete
Deletes the Control-Center and the configuration file.
-noconsole
Doesn't open a console window. Without console output, it is not possible to recognize if the operation was successful or not.
Example: PCagent.exe -update -password "password"
If the operation was successful the last line starts with: SUCCESS:
If the operation failed the last line starts with: ERROR:
Configuration
-changeconfig
Changes the configuration.
-config "config.dat"
The path or name of the configuration file. The file can be generated with the control-center.
Optional parameters:
-cfgpass "password"
The password for the configuration file.
-key "license-key"
The license key to remove the restrictions. Only one license key per installation is allowed. The license key will be activated online. The online activation requires an active internet connection.
-cloudemail "email"
The email-address of your cloud account in order to request a token.
-cloudpass "password"
The password of your cloud account in order to request a token.
-start
Starts the monitoring process after successful installation.
-delete
Deletes the Control-Center and the configuration file.
-noconsole
Doesn't open a console window. Without console output, it is not possible to recognize if the operation was successful or not.
Example: PCagent.exe -changeconfig -config "config.dat" -start
If the operation was successful the last line starts with: SUCCESS:
If the operation failed the last line starts with: ERROR:
Uninstall
-uninstall
Uninstallation of the monitoring.
Optional parameters:
-password "password"
The password to protect the control-center. This password can be specified in the control-center.
-delete
Deletes the Control-Center and the configuration file.
-noconsole
Doesn't open a console window. Without console output, it is not possible to recognize if the operation was successful or not.
Example: PCagent.exe -uninstall -password "password"
If the operation was successful the last line starts with: SUCCESS:
If the operation failed the last line starts with: ERROR:
Help
-help
Displays usage details for command line operations.