Kaspersky Security 11.x for Windows Server

Example commands for installing Kaspersky Security for Windows Server

June 10, 2022

ID 147693

This section provides examples of commands used to install Kaspersky Security for Windows Server.

On protected devices running a 32-bit version of Microsoft Windows, run the files with the x86 suffix in the distribution kit. On protected devices running a 64-bit version of Microsoft Windows, run the files with the x64 suffix in the distribution kit.

Detailed information about the use of Windows Installer's standard commands and command-line options is provided in the documentation supplied by Microsoft.

Examples of installing Kaspersky Security for Windows Server from the setup.exe file

To install Kaspersky Security for Windows Server with the recommended installation settings without user involvement, run the following command:

\server\setup.exe /s /p EULA=1 /p PRIVACYPOLICY=1

You can install Kaspersky Security for Windows Server with the following settings:

  • only install the Real-Time File Protection and On-Demand Scan components;
  • do not run Real-Time File Protection when starting Kaspersky Security for Windows Server;
  • do not exclude files that Microsoft Corporation recommends to exclude from the scan scope.

To do so, run the following command:

\server\setup.exe /p ADDLOCAL=Oas /p RUNRTP=0 /p ADDMSEXCLUSION=0

To install Kaspersky Security for Windows Server with Kaspersky Endpoint Agent without user involvement, run the following command:

\server\setup.exe /s /p EULA=1 /p PRIVACYPOLICY=1 /p ADDLOCAL=Soyuz /p KEA_EULA=1

You can use the following optional keys with this command:

/p KEA_INSTALLDIR="<path to installation folder>"

Specifies a path to a custom Kaspersky Endpoint Agent installation folder.

/p KEA_UNLOCK_PASSWORD=<password>

Sets a password protection to limit user access to Kaspersky Endpoint Agent (modify, repair, uninstall).

/p KEA_PPL=<1|0>

Enables (1) or disables (0) protection of the Kaspersky Endpoint Agent processes using AM-PPL technology (Antimalware Protected Process Light). For more details about AM-PPL technology, please refer to the Microsoft Knowledge Base.

Examples of commands used for installation: running an .msi file

To install Kaspersky Security for Windows Server with the recommended installation settings without user involvement, run the following command:

msiexec /i ks4ws.msi /qn EULA=1 PRIVACYPOLICY=1

To install Kaspersky Security for Windows Server with the recommended installation settings and display the installation interface, run the following command:

msiexec /i ks4ws.msi /qf EULA=1 PRIVACYPOLICY=1

To install and activate Kaspersky Security for Windows Server using the key file C:\0000000A.key:

msiexec /i ks4ws.msi LICENSEKEYPATH=C:\0000000A.key /qn EULA=1 PRIVACYPOLICY=1

To install Kaspersky Security for Windows Server with a preliminary scan of active processes and the boot sectors of local disks, run the following command:

msiexec /i ks4ws.msi PRESCAN=1 /qn EULA=1 PRIVACYPOLICY=1

To install Kaspersky Security for Windows Server in the installation folder C:\WSEE, run the following command:

msiexec /i ks4ws.msi INSTALLDIR=C:\WSEE /qn EULA=1 PRIVACYPOLICY=1

To install Kaspersky Security for Windows Server and save an installation log file named ks4ws.log in the folder where the Kaspersky Security for Windows Server msi file is stored, run the following command:

msiexec /i ks4ws.msi /l*v ks4ws.log /qn EULA=1 PRIVACYPOLICY=1

To install Kaspersky Security for Windows Server Console, run the following command:

msiexec /i ks4wstools.msi /qn EULA=1

To install the Microsoft Outlook Add-in for 64-bit Microsoft Outlook mail client, run the following command:

msiexec /i ksmail_x64.msi /qn EULA=1

To install the Microsoft Outlook Add-in for 32-bit Microsoft Outlook mail client, run the following command:

msiexec /i ksmail_x86.msi /qn EULA=1

To install and activate Kaspersky Security for Windows Server using the key file C:\0000000A.key and configure Kaspersky Security for Windows Server according to the settings in the configuration file C:\settings.xml, run the following command:

msiexec /i ks4ws.msi LICENSEKEYPATH=C:\0000000A.key CONFIGPATH=C:\settings.xml /qn EULA=1 PRIVACYPOLICY=1

To install an application patch when Kaspersky Security for Windows Server is password-protected, run the following command:

msiexec /p "<msp file name with path>" UNLOCK_PASSWORD=<password>

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.