reconf service using only cmd

Fixing Zabbix on a bunch of Windows machines with local accounts

for /F "tokens=1-3 delims=," %%A in (zz.list) do (
 echo %%A %%B %%C
 net use "\\\C$" %%C /user:%%A\%%B
 xcopy /q /y "\\\C$\Program Files (x86)\Zabbix Agent\zabbix_agentd.conf"
 net use "\\\C$" /delete
 net use "\\\IPC$" %%C /user:%%A\%%B
 sc \\ stop "Zabbix Agent"
 sc \\ start "Zabbix Agent"
 net use "\\\IPC$" /delete

and HostnameItem=system.hostname[host] in conf

Bad Behavior has blocked 122 access attempts in the last 7 days.