#cs ----------------------------------------------------------------------------
Script Name: sGetAV
AutoIt Version: 3.3.8.1
Author: Scorpio
Script Function:
Get the installed antivirus in the local machine.
#ce ----------------------------------------------------------------------------
Func sGetAV()
$sVersionString = RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion", "CurrentVersion")
$sVersion = StringSplit($sVersionString, ".")
If $sVersion[1] >= 6 Then
$sSecurityCenter = "SecurityCenter2"
Else
$sSecurityCenter = "SecurityCenter"
EndIf
$sObjSecurityCenter = ObjGet("winmgmts:\\localhost\root\" & $sSecurityCenter)
$sColAV = $sObjSecurityCenter.ExecQuery("Select * From AntiVirusProduct")
For $sObjAV In $sColAV
$sGetAV = $sObjAV.DisplayName
Next
If $sGetAV = "" Then
$sGetAV = "Unknown"
EndIf
Return $SGetAV
EndFunc
PD: No estoy muerto, solo me preparo para lo mejor. //Regards.