Assigning device tags
You must run the klscflag utility on the client device to which you want to assign tags.
To assign one or several tags to your device by using the klscflag utility:
- Run the Windows command prompt by using administrator rights, and then change your current directory to the directory with the klscflag utility. The klscflag utility is located in the folder where Network Agent is installed. The default installation path is <Disk>:\Program Files (x86)\Kaspersky Lab\NetworkAgent.
- Enter one of the following commands:
- To assign one tag:
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 that 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\";"
- To assign several tags:
klscflag -ssvset -pv 1103/1.0.0.0 -s KLNAG_SECTION_TAGS_INFO -n KLCONN_HOST_TAGS -sv "[\"
TAG NAME
\",\"
TAG NAME
\",\"
TAG NAME
\"]" -svt ARRAY_T -ss "|ss_type = \"SS_PRODINFO\";"
where
[\"
TAG NAME
\",\"
TAG NAME
\",\"
TAG NAME
\"]
is the list of tags you that 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 "[\"
NETWORK
\",\"
BACKUP
\",\"
ENTERPRISE
\"]" -svt ARRAY_T -ss "|ss_type = \"SS_PRODINFO\";"
- To assign one tag:
- Restart the Network Agent service.
The klscflag utility assigns the specified tags to your device. To make sure that the klscflag utility has assigned the specified tags successfully, view tags assigned to the device.
Alternatively, you can assign device tags manually.