On our servers with NetShield 4.5, the code as posted comes up with an empty product value. I changed the reg path as below, and it works OK. Just thought I would mention it if somebody wants to take a look.
I tried it on our one last remaining NS 4.5 server, and it worked fine. We have upgraded everything else to VSE 7.0 or 7.1, and will upgrade the 4.5 soon. Didn't try it yet on 7.0 or 7.1 but it seems like everybody indicates it is OK.
Hi, sorry to bother.... But I'd be very glad if you could posiblly help me You had a script regarding to McAfee antivirus version, so I'd like the same but using it for Sophos Antivirus and I'm new to scripts, so would you PLEASE tell me word what this means $tvd -> keyexist('HKLM\SOFTWARE\Network Associates\NetShield NT'), then you have $datnum -> $datnum=substr(readvalue($mcafee, ($mcafee,'szVirDefVer'),5,4) and so on taken from your script keyexist('HKLM\SOFTWARE\Network Associates\NetShield NT') $datnum=substr(readvalue($mcafee,'szVirDefVer'),5,4) $engine=readvalue($mcafee,'szEngineVer') $product=readvalue($mcafee,'szProductVer') Thank you very very much in advance Boggi
See the KiXtart Manual for detailed explanations of KiXtart functions/commands. KEYEXIST checks for the prsence of a registry key. The SUBSTR retrieves a portion of a string that is stored in the referenced registry value read by READVALUE. The code is specific to McAfee!
_________________________
There are two types of vessels, submarines and targets.
#74319 - 2004-02-1810:47 PMRe: McAfee Antivirus 7.0 Information check
NTDOCNTDOC Administrator
Registered: 2000-07-28
Posts: 11628
Loc: CA
I'd be glad to help but you may have to wait for a bit. I plan to write one for a couple other AV products, just not sure when. I need them for another KiXforms project I'm working on.
However, time to do these scripts at home has recently been highly curtailed so will have to do them as I have time.
#74321 - 2004-02-2012:20 AMRe: McAfee Antivirus 7.0 Information check
NTDOCNTDOC Administrator
Registered: 2000-07-28
Posts: 11628
Loc: CA
Well does anyone have a valid link to download the Sophos AV software? I don't care to fill out there form with real or bogus information at this time.
I can if I really have to, but would be nice if someone had a link to directly download a demo
#74325 - 2005-02-2308:28 PMRe: McAfee Antivirus 7.0 Information check
NTDOCNTDOC Administrator
Registered: 2000-07-28
Posts: 11628
Loc: CA
Well, since I've had a request for a stand alone McAfee script that would work during logon for normal users, here is a modified version of the one from the SIM KiXform project.
Let me know if it doesn't work correctly as I don't have McAfee installed to test at the moment.
#74326 - 2005-02-2407:03 PMRe: McAfee Antivirus 7.0 Information check
KdyerKdyer
KiX Supporter
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
PostPrep is not able to post where you don't have to re-format in Word or something like that.
Changed: $McAfeeInfo=GetMcAfeeVirusInfo
To: $McAfeeInfo=GetMcAfeeAV()
Other than that, it works great.
Product Version VirusScan Enterprise DAT Number DAT File Version: 4.0.4432 Engine Engine Version: 4.4.00 Product Product Version: 8.0.0.912 ePO 3.1.2.257