Kaspersky Security Center

Network Agent disk cloning mode

April 17, 2023

ID 115004

Cloning the hard drive of a reference device is a popular method of software installation on new devices. If Network Agent is running in standard mode on the hard drive of the reference device, the following problem arises:

After the reference disk image with Network Agent is deployed on new devices, they are displayed in Administration Console under a single icon. This problem arises because the cloning procedure causes new devices to keep identical internal data, which allows the Administration Server to associate a device with an icon in Administration Console.

The special Network Agent disk cloning mode allows you to avoid problems with an incorrect display of new devices in Administration Console after cloning. Use this mode when you deploy software (with Network Agent) on new devices by cloning the disk.

In disk cloning mode, Network Agent keeps running but does not connect to the Administration Server. When exiting the cloning mode, Network Agent deletes the internal data, which causes Administration Server to associate multiple devices with a single icon in Administration Console. Upon completing the cloning of the reference device image, new devices are displayed in Administration Console properly (under individual icons).

Network Agent disk cloning mode use scenario

  1. The administrator installs Network Agent on the reference device.
  2. The administrator checks the Network Agent connection to the Administration Server using the klnagchk utility.
  3. The administrator enables the Network Agent disk cloning mode.
  4. The administrator installs software and patches on the device, and restarts it as many times as needed.
  5. The administrator clones the hard drive of the reference device on any number of devices.
  6. Each cloned copy must meet the following conditions:
    1. The device name must be changed.
    2. The device must be restarted.
    3. The disk cloning mode must be disabled.

Enabling and disabling the disk cloning mode using the klmover utility

To enable or disable the Network Agent disk cloning mode:

  1. Run the klmover utility on the device with Network Agent installed that you have to clone.

    The klmover utility is located in the Network Agent installation folder.

  2. To enable the disk cloning mode, enter the following command at the Windows command prompt: klmover -cloningmode 1.

    Network Agent switches to disk cloning mode.

  3. To request the current status of the disk cloning mode, enter the following command at the command prompt: klmover -cloningmode.

    The utility window shows whether the disk cloning mode is enabled or disabled.

  4. To disable the disk cloning mode, enter the following command in the utility command line: klmover -cloningmode 0.

See also:

Deployment by capturing and copying the hard drive image of a device

Preparing a reference device with Network Agent installed for creating an image of operating system

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.