Help - Search - Members
Full Version: avp.com update : Command line how-to ?
Kaspersky Lab Forum > English User Forum > Protection for Small and Medium Businesses
nothinghere
Hi,

Since 3 hours, I'm trying to tell "avp.com" to download updates from "\\server\klshare\updates\", in my homemade script for my network.

Actually I deploy KAWK 6.0.3.837 with an installation script, wich works great.
I just want to tell, after the installation (witouth synchronisation with KAK) to download updates immediatly after the installation (or after the first reboot, so I can't wait to synchronize with KAK).

When I add "\\server\klshare\updates\" in KA WorkStation GUI, all works great, here is the return of "avp.com update" :

CODE
; --- Settings ---
; Notify before update: Yes
; Rescan quarantine:    No
; Update sources:
;       \\server/KLSHARE/Updates/\
; Use internal sources: No
; FTP passive:  Yes
; FTP connect timeout:  60
; Use proxy:    Yes
; Use IE proxy settings:        Yes
; Proxy port:   80
; Proxy authentication: No
; ------------------


But, when I try :
CODE
avp.com update "\\server\klshare\updates\", the operation stuck :



CODE
; --- Settings ---
; Notify before update: Yes
; Rescan quarantine:    No
; Update sources:       <none>
; Use internal sources: Yes
; FTP passive:  Yes
; FTP connect timeout:  60
; Use proxy:    Yes
; Use IE proxy settings:        Yes
; Proxy port:   80
; Proxy authentication: No
; ------------------


Here is the command line I use :
CODE
avp.com UPDATE \\server\klshare\updates\


I've tryied with and without quotes ("), and in this syntax too : "\\server/KLSHARE/Updates/\"

Maybe I've forgot something ... one of you have an idea ?

thanks,
Vitaly Belyakov
Could you say first, why do you need this? o.O

But anyway, first set KAV to update from Administration Server (or specify its shared folder), and then in command line run avp.com Update without arguments - it should update from source specified in settings.
nothinghere
QUOTE(Vitaly Belyakov @ 26.06.2009 12:28) *
Could you say first, why do you need this? o.O

But anyway, first set KAV to update from Administration Server (or specify its shared folder), and then in command line run avp.com Update without arguments - it should update from source specified in settings.


Don't work in command line, update place must be manually specified in the GUI to get working.

Here is why :

I install Kaspersky Agent & Kaspersky Antivirus Workstation with a script, at startup, like that :

QUOTE
%windir%\system32\cmd /c start "Kaspersky Agent Install" /wait "\\server\KLSHARE\Packages\NetAgent 6.0.1572\setup.exe" /s
<reboot>
%windir%\system32\cmd /c start "KAV" /wait "\\server\KLSHARE\Packages\KAVWKS6 6.0.3.837\exec\setup.exe" /s /v"/qb AKINSTALL=1"
<reboot>


With these line, KAWorkstation don't update himself at first launch. I need to mannually synchronise this computer with Kaspersky Administration Kit, and after that KAV get updates from Administration Kit.

Generally, it's happens when I install some new computer (I'm adminstrator of +800 computers in a school). I can't power on all computers in a time with POE, or walk to power on these computers. So I wait they poweron by themselves.

At first install of KAV, it downloads +60Mb of updates... it slow down the computer !
So I think to workaround, to specify a local place on the network where to download updates, do it at first run, and I'll synchronyze by a "cron job" in KAK after.

But if you could find me a command line for Kaspersky Network Agent to force it's synchronisation with KAK and place the client-computer automaticely in a group... tell me !
nothinghere
no one ... ?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.