Security Center options - Security Center 5.12.2.0

Security Center Installation and Upgrade Guide 5.12.2.0

Product
Security Center
Content type
Guides > Installation guides
Version
5.12
Release
5.12.2.0
Language
English
Last updated
2024-08-08

When performing a silent installation, you can specify extra options for the Security Center.

The following table lists the Installer options for Security Center. All Security Center options are written in capital letters. Unlike the setup options, none of them is preceded with a forward slash (/). All option names are case-sensitive.
IMPORTANT: All servers on the system share the same password. Therefore, for the installation of both main and expansion servers, only use the option MAINSERVER_PASSWORD to specify the password.
Security Center option Description
ACTIVATIONCODE This is the activation code required to allow System Availability Monitor Agent (SAMA) to collect system data.

EXAMPLE: SAMA_COLLECTPOLICY=On ACTIVATIONCODE=mycode

AGREETOLICENSE Indicate that you agree with our software license agreement.
IMPORTANT: The only accepted value is Yes. If omitted, the installation fails.

EXAMPLE: AGREETOLICENSE=Yes

ALLOWSQLUPGRADE Allow the installer to upgrade your database server to SQL Server 2022 Express Advanced if your operating system supports it. The accepted values are 0 and 1.
  • 0 = Do not upgrade (DEFAULT)
  • 1 = Upgrade if your operating system supports it
SQL Server 2022 Express Advanced is supported only on the 64-bit version of Windows 10, Windows 11, and Windows Server 2016 and later.
IMPORTANT: Be sure to back up your databases before the SQL Server upgrade.
IMPORTANT: If you’re using value 1 for this option and your SQL Server database is in mixed mode, include the following commands, or the installation might fail:
  • GLOBAL_SERVER=<SQL Server>
  • SQLSERVER_AUTHENTICATION=1
  • SQLSERVER_USERNAME=< user>
  • SQLSERVER_PASSWORD=<password>

EXAMPLE: ALLOWSQLUPGRADE=1

When SKIPSQLVALIDATION=1 is specified, the database server upgrade is ignored.

COLLECTPOLICY Configure the data collection policy for our Product Improvement Program. The accepted values are:
  • On: We collect data with system information.
  • Anonymous: We collect anonymous data.
  • Off: We don’t collect data.
IMPORTANT: This option is mandatory if you’re installing the main server on a clean machine. If omitted, the installation fails.

You can also use this option to change the existing data collection setting if you’re upgrading the main server. It’s ignored if you’re installing an expansion server or a client workstation.

EXAMPLE: COLLECTPOLICY=Anonymous

CONFIGURATION_SETTINGS Specify which configuration settings to use if older configuration files (ConfigurationFiles\*.gconfig) are found on your machine. The accepted values are:
  • KeepExistingSettings (FIRST DEFAULT)
  • DeployNewSettings (SECOND DEFAULT)
  • UpgradeOldSettings
The first option is applicable only if configuration files for the current major version (5.12) are found on your machine.

The last option is applicable only if configuration files from an older major version are found on your machine. If several older versions exist, the most recent older version is used.

EXAMPLE: CONFIGURATION_SETTINGS=UpgradeOldSettings
NOTE: This option is applicable only for fresh installations. If you’re upgrading your system, it always upgrades your current settings.
CREATE_FIREWALL_RULES Add the installed Security Center applications to the Windows Firewall exceptions list. Accepted values are 0 and 1.
  • 0 = Do not create firewall rules
  • 1 = Create firewall rules (DEFAULT)

EXAMPLE: CREATE_FIREWALL_RULES=1

DATABASE_AUTOBACKUP Back up the Directory database after the software upgrade, but before the database upgrade. Configuration Files are also backed up in the same destination folder as the database. Accepted values are 0 and 1. When this option is omitted, the default value is 1 if the last backup is more than one day old. The default backup folder is C:\SecurityCenterBackup on the SQL Server machine.
  • 0 = Do not back up the Directory database
  • 1 = Back up the Directory database (DEFAULT)

EXAMPLE: DATABASE_AUTOBACKUP=0

DATABASE_SERVER Same as the GLOBAL_SERVER option. This parameter maintains backward compatibility with previous silent installation scripts.
DEACTIVBASIC This is a Boolean value that specifies whether basic camera authentication should be deactivated.
  • 0 = Basic authentication enabled
  • 1 = Basic authentication disabled (DEFAULT)

EXAMPLE: DEACTIVBASIC=0

GLOBAL_SERVER Specify the database server name for all roles installed by default. When omitted, the default value is (local)\SQLEXPRESS.
EXAMPLES:
  • Database server: GLOBAL_SERVER=BLADE32\SQLServerEnterprise
  • Azure SQL database: GLOBAL_SERVER=MyDbName.database.windows.net
LANGUAGECHOSEN Language used by Security Center. The possible code values are:
  • Arabic - 1025
  • Bulgarian - 1026
  • Chinese (Simplified) - 2052
  • Chinese (Traditional) - 1028
  • Croatian - 1050
  • Czech - 1029
  • Dutch - 1043
  • English - 1033
  • French - 3084
  • German - 1031
  • Greek - 1032
  • Hebrew - 1037
  • Hungarian - 1038
  • Italian - 1040
  • Japanese - 1041
  • Korean - 1042
  • Norwegian - 1044
  • Persian - 1065
  • Polish - 1045
  • Brazilian Portuguese - 2070
  • Romanian - 1048
  • Russian - 1049
  • Slovenian - 1060
  • Spanish - 1034
  • Swedish - 1053
  • Thai - 1054
  • Turkish - 1055
  • Vietnamese - 1066

EXAMPLE: LANGUAGECHOSEN=3084

If the code is invalid, English is used. If this option is omitted, the installation language (specified with the /language: setup option) is used.

MAINSERVER_ENDPOINT Used for expansion server installation. Specify the name or IP address of the main server.

EXAMPLE: MAINSERVER_ENDPOINT=MYMAINSERVER

MAINSERVER_PASSWORD Mandatory option for server installation commands.
IMPORTANT: The password must meet the following requirements:
  • At least 8 characters long
  • One or more upper case letters
  • One or more lower case letters
  • One or more numerical characters
  • One or more special characters
  • No spaces or double quotation marks

EXAMPLE: MAINSERVER_PASSWORD=ServerPwd-123

PRODUCT_UPDATES Turn the automatic check for software updates ON or OFF. Possible values are:
  • true - Turn the automatic check ON (DEFAULT)
  • false - Turn the automatic check OFF
REBOOT Use this option to force or suppress a reboot after the Server installation has ended. Possible values are:
  • F - Force a reboot when your installation is complete
  • S - Suppress any reboot except the one caused by the ForceReboot action
  • R - Suppress any reboot caused by Windows Installer actions (DEFAULT)

EXAMPLE: REBOOT=R

SAMA_COLLECTPOLICY Configure the data collection policy applied by the SAMA. The accepted values are:
  • On: SAMA collects data with system information (requires ACTIVATIONCODE)
  • Anonymous: SAMA collects anonymous data (DEFAULT)
  • Off: SAMA doesn’t collect data

EXAMPLE: SAMA_COLLECTPOLICY=On ACTIVATIONCODE=mycode

SECURE_COMMUNICATION This is a Boolean value that specifies whether secure communication (Directory authentication) should be enforced.
  • 0 = Not enforced, Directory authentication turned off (DEFAULT)
  • 1 = Enforced, Directory authentication turned on

EXAMPLE: SECURE_COMMUNICATION=1

SERVER_TYPE Specify whether to install a main or an expansion server. The accepted values are:
  • Main: Install Genetec™ Server with Directory (DEFAULT)
  • Expansion: Install Genetec™ Server without Directory
SERVERADMIN_PORT Specify the HTTP port for the web-based Server Admin.

EXAMPLE: SERVERADMIN_PORT=8080

If not specified, the default is 5500.

SERVICEPASSWORD Specify the password to use in the services.

EXAMPLE: SERVICEPASSWORD=anypassword

IMPORTANT:
  • The username and password must be created first with the right credentials before using those properties. If not specified, the default is blank.
  • Double quotation marks can’t be part of the password. However, you can use them to wrap your password if you want to include a space. For example: SERVICEPASSWORD="abc efg".
SERVICEUSERNAME Specify the username to use in the services.

EXAMPLE: SERVICEUSERNAME=.\admin

SKIP_FORCE_CLOSE_CLIENTS Detect and force close instances of Security Desk and Config Tool during upgrades. Accepted values are:
  • 0 = Leave Client applications running during silent installation
  • 1 = Force close Client applications during silent installation (DEFAULT)

EXAMPLE: SKIP_FORCE_CLOSE_CLIENTS=1

SKIPSERVICESTART Use this option to prevent the Security Center services from starting immediately after the installation (default behavior). You can use this option if, for example, you need to install hotfixes right after the full installation. If you use this option, don’t forget to start the Security Center services (NET START GenetecServer and NET START GenetecWatchdog) after the hotfix installation.

EXAMPLE: SKIPSERVICESTART=Y

SKIPSQLVALIDATION Use this option if your instance of SQL Server is unavailable at the time of installation, so the installer doesn’t attempt to validate its version by connecting to it.

EXAMPLE: SKIPSQLVALIDATION=1

When this option is turned on, the ALLOWSQLUPGRADE option is ignored.

SQLSERVER_AUTHENTICATION Specify the SQL Server authentication method. The accepted values are:
  • 0 = Windows authentication (DEFAULT)
  • 1 = SQL Server and Windows authentication (mixed mode)

EXAMPLE: SQLSERVER_AUTHENTICATION=1 SQLSERVER_USERNAME=SqlServerUsername SQLSERVER_PASSWORD=SqlServerPassword

SQLSERVER_USERNAME Specify the username for SQL Server authentication when SQLSERVER_AUTHENTICATION=1.
SQLSERVER_PASSWORD Specify the password for SQL Server authentication when SQLSERVER_AUTHENTICATION=1.
SQLSERVER_GROUP Specify if a new or an existing SQL Server is silently installed. The accepted values are:
  • ExistingServer (DEFAULT)
  • None (used for expansion server without a database)
  • NewServer (Can be used with GLOBAL_SERVER to specify an instance name, else a default instance called (local)\SQLEXPRESS will be created)
  • AzureServer (must be used with GLOBAL_SERVER)
EXAMPLES:
  • SQLSERVER_GROUP=None
  • SQLSERVER_GROUP=NewServer SQL_INSTANCE_NAME=SQLEXPRESS2
  • SQLSERVER_GROUP=AzureServer GLOBAL_SERVER=MyDbName.database.windows.net
UNINSTALL_EARLIER_CLIENTS Allow the installer to automatically uninstall earlier versions of the client software that exist on the machine during the installation of the new version. Accepted values are:
  • 0 = Do not uninstall earlier client versions
  • 1 = Uninstall earlier client versions (DEFAULT)

EXAMPLE: UNINSTALL_EARLIER_CLIENTS=1

NOTE: This option is applicable only if one or more Security Center clients are installed without server functionality.
UPGRADE_DATABASE Specify that the Directory database should be automatically upgraded. If no database exists, this option is ignored. Possible values are Y or N. When this option is omitted, the default value is Y.

EXAMPLE: UPGRADE_DATABASE=N

WEBSERVER_PORT Specify the HTTP port for the web-based Server Admin.

If not specified, the default is 80.