Checking WMI State Avast x64

I'm checking the WMI for about 10 thousand PCs.  WMI works with Avast for all 32 bit products, but doesn't work for 64 bit products.

I'm doing it in C but the visual basic equivalent is

Set objSWbemServices = GetObject("winmgmts:\\.\root\SecurityCenter")
Set colFirewall = objSWbemServices.ExecQuery("Select * From antivirusProduct",,48)
For Each objAntiVirusProduct In colFirewall
WScript.Echo( objAntiVirusProduct.displayname & " " & objAntiVirusProduct.productUptoDate)
Next

Note, however, Microsoft security center for Win64 fully detects Avast on Win64.  Do you have to do something to get the 64 bit WMI to work?

Answer
Answer
Hi EricEngelke,

Thank you for using Vista Support forum,

You might need to check with Avast on this on.  WMI is present in 64 bit OS but it is Avast that doesn't recognize the service.  Please contact Avast for further assistance.
You can also check out our developer forum
http://social.msdn.microsoft.com/Forums/en-US/categories

Hope this helps,
Kevin
Microsoft Answers Support Engineer
Visit our Microsoft Answers Feedback Forum and let us know what you think.
Kevin

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated June 9, 2018 Views 1,036 Applies to: