In some VDI infrastructures, after a user session ends, the temporary virtual machine is powered off without shutting down the guest operating system or stopping applications. As a result, the Light Agent running on the virtual machine does not transmit information about the shutdown of that virtual machine to Kaspersky Security Center, and the virtual machine is not removed from the list of managed devices in Kaspersky Security Center. At the next startup, the temporary virtual machine is registered in Kaspersky Security Center, causing a duplicate to appear in the list of managed devices, representing the previous session for the virtual machine template. As a result, the list of managed devices contains a large number of temporary virtual machines corresponding to each user session in the VDI infrastructure.
This problem exists, for example, for VDI infrastructures based on Termidesk and Basis.WorkPlace.
You can use one of the following methods to remove a temporary virtual machine from the list of managed devices in Kaspersky Security Center after it is powered off:
systemctl stop klnagent64
systemctl stop klnagent
net stop klnagent
While shutting down, the Network Agent notifies Kaspersky Security Center about the temporary virtual machine shutting down, and the virtual machine is removed from the list of managed devices in Kaspersky Security Center.