Kaspersky Security Center 13.1

Managing device tags by using the klscflag utility

This section provides information on how to assign or remove device tags by using the klscflag utility.

In this section

Assigning a device tag

Removing a device tag

Page top
[Topic 244508]

Assigning a device tag

Note that you must run the klscflag utility on the client device to which you want to assign a tag.

To assign a tag to your device by using the klscflag utility:

  1. Enter the following command, using administrator rights:

    klscflag -ssvset -pv 1103/1.0.0.0 -s KLNAG_SECTION_TAGS_INFO -n KLCONN_HOST_TAGS -sv "[\"TAG NAME\"]" -svt ARRAY_T -ss "|ss_type = \"SS_PRODINFO\";"

    where TAG NAME is the name of the tag you want to assign to your device, for example:

    klscflag -ssvset -pv 1103/1.0.0.0 -s KLNAG_SECTION_TAGS_INFO -n KLCONN_HOST_TAGS -sv "[\"ENTERPRISE\"]" -svt ARRAY_T -ss "|ss_type = \"SS_PRODINFO\";"

  2. Restart the Network Agent service.

The specified tag is assigned to your device. To make sure that the tag is assigned successfully, view tags assigned to the device.

Alternatively, you can assign device tags manually.

Page top
[Topic 244510]

Removing a device tag

If a tag has been assigned to your device by an application or Network Agent, you cannot remove this tag manually. In this case, use the klscflag utility to remove the assigned tag from the device.

Note that you must run the klscflag utility on the client device from which you want to remove a tag.

To remove a tag from the device by using the klscflag utility:

  1. Enter the following command, using administrator rights:

    klscflag -ssvset -pv 1103/1.0.0.0 -s KLNAG_SECTION_TAGS_INFO -n KLCONN_HOST_TAGS -sv "[]" -svt ARRAY_T -ss "|ss_type = \"SS_PRODINFO\";"

  2. Restart the Network Agent service.

The tag is removed from the device.

Page top

[Topic 244511]