Applies to Kaspersky Administration Kit 8.0
Kaspersky Administration Kit supports the technology Administration Kit Automation. This technology permits a network administrator to automate antivirus protection and manage administration server settings.
Administration Kit Automation is based on COM.API technology.
To be able to use Administration Kit Automation technology it is necessary to write a script using OLE components (OLE objects) or ActiveX. You can use Jscript and VBScript languages as well as high-level languages supporting OLE technology (C, C++, Visual Basic, Visual Basic .NET, C#, J#, for example).
How to use Administration Kit Automation:
Find the klakaut.chm file in the Administration Server installation folder (Disk:\Program Files\Kaspersky Lab\Kaspersky Administration Kit\klakaut).
This file contains descriptions of objects and methods, as well as a few examples describing standard scenarios.
- You can create a hierarchical structure of groups based on Active Directory (AD) data by using the example scenario “Creating group structure based on AD organization units structure”.
- To find, add, delete, or change properties of a remote computer use the object “IKlAkHosts”. The scenario will look like this, for example:
oAdmServer = AcquireAdmServerProxy();
oHosts = new ActiveXObject("klakaut.KlAkHosts");
oHosts.AdmServer = oAdmServer;
The scenario should be started on the Administration Server under an account having administrator privileges for Active Directory.