How to install Kaspersky Endpoint Security while deploying the OS image through Kaspersky Security Center
Show applications and versions that this article concerns
- Kaspersky Security Center 14.2 (version 14.2.0.26967)
- Kaspersky Security Center 14 (version 14.0.0.10902)
- Kaspersky Security Center 13.2 (version 13.2.0.1511)
- Kaspersky Security Center 13.1 (version 13.1.0.8324)
- Kaspersky Security Center 13 (version 13.0.0.11247)
To install Kaspersky Endpoint Security while deploying the OS image through Kaspersky Security Center, before running the OS image deployment task:
- Create a standalone installation package of Kaspersky Endpoint Security.
By default, standalone packages are saved to the \\ServerName\KLSHARE\PkgInst\ shared folder, where ServerName stands for the name of the host on which the Kaspersky Security Center server is installed. This network folder must be available for reading on the device on which you want to deploy the OS image.
- Create a .bat file on a local drive and add the text to it:
if exist I:\ (
net use I: /delete > nul
)
net use I: "\\ServerName\KLSHARE\PkgInst\KesPackageFolderName" AccPwd /USER:AccName
copy /Z /Y "I:\setup.exe" "%WINDIR%\temp\setup.exe"
start /b /wait /D"%WINDIR%\temp" setup.exe /s
ServerName stands for the name of the host with Kaspersky Security Center server installed.
KesPackageFolderName is the name of the folder with the standalone Kaspersky Endpoint Security installation package.
AccountPassword stands for the password for connecting to the shared folder.
AccountName stands for the name of the account for connecting to the shared folder.
- Open Kaspersky Security Center.
- Open the properties of the OS image you are going to deploy.
- In the sysprep.exe settings section, select Specify custom values of main settings and click Settings.
- In the Additional installation scripts section, select OS installation finalization scripts.
- Click Add and select the .bat file you have created earlier.
- Click OK and launch the OS image deployment task.
![Launching the OS image deployment task Launching the OS image deployment task.](https://img.kaspersky.com/kb/en-ca/361932_365071_ksc_13448_01.png)