Jump to content

KES for Windows return codes!


Go to solution Solved by RichardKBR,

Recommended Posts

I have a email server in where i work. 

They worked well on "windows defender". But now we bought Kasper endpoint security, and i running some problems. 

I need to "know" return codes of "avp.com" to create a script to protect email accounts.

I found for MAC, Endpoint Security for Mac: https://support.kaspersky.com/KESMac/11.0_adminguide/en-US/26827.htm

But i need return code for Kaspersky Endpoint Security for Windows 12.1.0, i do not found any information.

Need the return codes to create automate script to use in mail server.

 

Link to comment
Share on other sites

  • Solution

Neil that! Its the same codes of the mac!

My script had a error! Now its ok!

@echo off
"C:\Program Files (x86)\Kaspersky Lab\KES.12.1.0\avp.com" SCAN %1 /RA:"C:\Program Files (x86)\hMailServer\Logs\kaspersky.log"
rem echo %errorlevel%
if %errorlevel% == 0 goto novirus
if %errorlevel% == 101 goto somethingbad
if %errorlevel% == 102 goto somethingbad
:novirus
echo Success!
exit /b 0
:somethingbad
echo Virus!
exit /b 250

 

Edited by RichardKBR
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...