Installing the application using the command line
August 7, 2024
ID 196623
During Kaspersky Security installation, services of MSExchangeTransport and MSExchangeIS will need to be restarted. Services will be restarted automatically without additional prompts.
You can install the application from the command line by running the installation file from the installation package and specifying installation options.
The command line setup process follows a script that requires you to specify a list of components to be installed.
The CAS Interceptor is not included in the set of components that can be installed using the command line.
The Management Console is always installed without additional options when other components are installed.
Before running the application installation, make sure that you have completed all the required preparations.
The first time Kaspersky Security is installed in an organization, the Application Setup Wizard automatically adds the account of the computer running the installation to the KSE Administrators group in Active Directory. You will have to add a computer account to the KSE Administrators group if you intend to manage Kaspersky Security through Kaspersky Security Center.
If installation has already been performed on at least one computer in the enterprise network, all you need is a local administrator account to install an identical application version to other enterprise computers. In this case, the user account used for application setup must be granted permissions to read the Microsoft Exchange configuration from the following Active Directory container and all its child objects:CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<root domain>
To install Kaspersky Security using the command line:
Run the installation file from the application installation package on the command line with the following options:
--install-mode=install --accept-eula --accept-privacy-policy
For the correct application operation after installation, update the Anti-Virus and Anti-Spam databases.