Home All Groups Group Topic Archive Search About

Detect if virusscanner is installed

Author
27 May 2006 9:13 AM
Jeroen
Hi,

I need to create a small app that will detect if a virusscanner is installed
and if it's up-to-date. Just like the Windows Security Center does. This
will be used for remote monitoring using a special app that calls scripts or
console apps that respond with a specific code. Systems will all be running
Windows XP (Pro).

Any suggestions? Thanks in advance.


Jeroen

Author
27 May 2006 9:55 AM
Göran_Andersson
Just as Security Center, you can not for certain determine if there is
an anti-virus program installed. You can look for some known programs,
and show a warning if none of those were found. Checking if the
anti-virus program is up to date would have to use a specific method for
each program.

Jeroen wrote:
Show quoteHide quote
> Hi,
>
> I need to create a small app that will detect if a virusscanner is installed
> and if it's up-to-date. Just like the Windows Security Center does. This
> will be used for remote monitoring using a special app that calls scripts or
> console apps that respond with a specific code. Systems will all be running
> Windows XP (Pro).
>
> Any suggestions? Thanks in advance.
>
>
> Jeroen
>
>
Author
27 May 2006 10:09 AM
Jeroen
I'm aware of that. I want to monitor most commonly used scanners, just like
Windows does. I would like to know if there's a way to poll the Windows
Security Center for the status of the virusscanner. That's enough. I don't
want to program my own routines for 1001 different virusscanners.


Jeroen


Show quoteHide quote
"Göran Andersson" <gu***@guffa.com> schreef in bericht
news:ODyWnOXgGHA.3900@TK2MSFTNGP05.phx.gbl...
> Just as Security Center, you can not for certain determine if there is an
> anti-virus program installed. You can look for some known programs, and
> show a warning if none of those were found. Checking if the anti-virus
> program is up to date would have to use a specific method for each
> program.
>
> Jeroen wrote:
>> Hi,
>>
>> I need to create a small app that will detect if a virusscanner is
>> installed and if it's up-to-date. Just like the Windows Security Center
>> does. This will be used for remote monitoring using a special app that
>> calls scripts or console apps that respond with a specific code. Systems
>> will all be running Windows XP (Pro).
>>
>> Any suggestions? Thanks in advance.
>>
>>
>> Jeroen
Author
27 May 2006 10:30 AM
Cor Ligthert [MVP]
Jeroen,

Before you take so much effort, did you try alreaydy Vista Beta with its own
aspects arround virusscanning.

Just the idea I got when I was reading your message.

http://www.microsoft.com/windowsvista/default.aspx

Cor


Show quoteHide quote
"Jeroen" <sleurhutje@spam.la> schreef in bericht
news:Ol%23ikWXgGHA.4144@TK2MSFTNGP02.phx.gbl...
> I'm aware of that. I want to monitor most commonly used scanners, just
> like Windows does. I would like to know if there's a way to poll the
> Windows Security Center for the status of the virusscanner. That's enough.
> I don't want to program my own routines for 1001 different virusscanners.
>
>
> Jeroen
>
>
> "Göran Andersson" <gu***@guffa.com> schreef in bericht
> news:ODyWnOXgGHA.3900@TK2MSFTNGP05.phx.gbl...
>> Just as Security Center, you can not for certain determine if there is an
>> anti-virus program installed. You can look for some known programs, and
>> show a warning if none of those were found. Checking if the anti-virus
>> program is up to date would have to use a specific method for each
>> program.
>>
>> Jeroen wrote:
>>> Hi,
>>>
>>> I need to create a small app that will detect if a virusscanner is
>>> installed and if it's up-to-date. Just like the Windows Security Center
>>> does. This will be used for remote monitoring using a special app that
>>> calls scripts or console apps that respond with a specific code. Systems
>>> will all be running Windows XP (Pro).
>>>
>>> Any suggestions? Thanks in advance.
>>>
>>>
>>> Jeroen
>
>
Author
29 May 2006 9:06 AM
Jeroen
How much of our boxes do have Windows Vista right now? And how many will
switch over to a new OS while their current OS came with the PC? I don't
want to offend you but it's about 300 workspaces to check on a daily base.

It will take a long time (years) before Vista will be the default OS. For
most users Vista does not have added value (policies prevent them from using
graphic rich environments).


Jeroen


Show quoteHide quote
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> schreef in bericht
news:ejzqIhXgGHA.764@TK2MSFTNGP03.phx.gbl...
> Jeroen,
>
> Before you take so much effort, did you try alreaydy Vista Beta with its
> own aspects arround virusscanning.
>
> Just the idea I got when I was reading your message.
>
> http://www.microsoft.com/windowsvista/default.aspx
>
> Cor
>
>
> "Jeroen" <sleurhutje@spam.la> schreef in bericht
> news:Ol%23ikWXgGHA.4144@TK2MSFTNGP02.phx.gbl...
>> I'm aware of that. I want to monitor most commonly used scanners, just
>> like Windows does. I would like to know if there's a way to poll the
>> Windows Security Center for the status of the virusscanner. That's
>> enough. I don't want to program my own routines for 1001 different
>> virusscanners.
>>
>>
>> Jeroen
>>
>>
>> "Göran Andersson" <gu***@guffa.com> schreef in bericht
>> news:ODyWnOXgGHA.3900@TK2MSFTNGP05.phx.gbl...
>>> Just as Security Center, you can not for certain determine if there is
>>> an anti-virus program installed. You can look for some known programs,
>>> and show a warning if none of those were found. Checking if the
>>> anti-virus program is up to date would have to use a specific method for
>>> each program.
>>>
>>> Jeroen wrote:
>>>> Hi,
>>>>
>>>> I need to create a small app that will detect if a virusscanner is
>>>> installed and if it's up-to-date. Just like the Windows Security Center
>>>> does. This will be used for remote monitoring using a special app that
>>>> calls scripts or console apps that respond with a specific code.
>>>> Systems will all be running Windows XP (Pro).
>>>>
>>>> Any suggestions? Thanks in advance.
>>>>
>>>>
>>>> Jeroen
>>
>>
>
>
Author
29 May 2006 10:36 AM
Cor Ligthert [MVP]
Jeroen,

Why you would offend me with this, it was just an idea that came in my mind
reading your message, it is forever your choose what you do.

But as you were building a tool for the market, it could be something wise
to think about. I had not the idea that you wrote that you needed it for an
in house solution.

Cor

Show quoteHide quote
"Jeroen" <sleurhutje@spam.la> schreef in bericht
news:%23r2Xt8vgGHA.1208@TK2MSFTNGP02.phx.gbl...
> How much of our boxes do have Windows Vista right now? And how many will
> switch over to a new OS while their current OS came with the PC? I don't
> want to offend you but it's about 300 workspaces to check on a daily base.
>
> It will take a long time (years) before Vista will be the default OS. For
> most users Vista does not have added value (policies prevent them from
> using graphic rich environments).
>
>
> Jeroen
>
>
> "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> schreef in bericht
> news:ejzqIhXgGHA.764@TK2MSFTNGP03.phx.gbl...
>> Jeroen,
>>
>> Before you take so much effort, did you try alreaydy Vista Beta with its
>> own aspects arround virusscanning.
>>
>> Just the idea I got when I was reading your message.
>>
>> http://www.microsoft.com/windowsvista/default.aspx
>>
>> Cor
>>
>>
>> "Jeroen" <sleurhutje@spam.la> schreef in bericht
>> news:Ol%23ikWXgGHA.4144@TK2MSFTNGP02.phx.gbl...
>>> I'm aware of that. I want to monitor most commonly used scanners, just
>>> like Windows does. I would like to know if there's a way to poll the
>>> Windows Security Center for the status of the virusscanner. That's
>>> enough. I don't want to program my own routines for 1001 different
>>> virusscanners.
>>>
>>>
>>> Jeroen
>>>
>>>
>>> "Göran Andersson" <gu***@guffa.com> schreef in bericht
>>> news:ODyWnOXgGHA.3900@TK2MSFTNGP05.phx.gbl...
>>>> Just as Security Center, you can not for certain determine if there is
>>>> an anti-virus program installed. You can look for some known programs,
>>>> and show a warning if none of those were found. Checking if the
>>>> anti-virus program is up to date would have to use a specific method
>>>> for each program.
>>>>
>>>> Jeroen wrote:
>>>>> Hi,
>>>>>
>>>>> I need to create a small app that will detect if a virusscanner is
>>>>> installed and if it's up-to-date. Just like the Windows Security
>>>>> Center does. This will be used for remote monitoring using a special
>>>>> app that calls scripts or console apps that respond with a specific
>>>>> code. Systems will all be running Windows XP (Pro).
>>>>>
>>>>> Any suggestions? Thanks in advance.
>>>>>
>>>>>
>>>>> Jeroen
>>>
>>>
>>
>>
>
>
Author
28 May 2006 4:55 PM
Ken Tucker [MVP]
Hi,

          The info is available via the wmi.

/root/SecurityCenter/AntiVirusProduct

Sorry I do not have an example right now.

http://www.pcreview.co.uk/forums/thread-2341926.php

Ken
--------------------------

Show quoteHide quote
"Jeroen" wrote:

> Hi,
>
> I need to create a small app that will detect if a virusscanner is installed
> and if it's up-to-date. Just like the Windows Security Center does. This
> will be used for remote monitoring using a special app that calls scripts or
> console apps that respond with a specific code. Systems will all be running
> Windows XP (Pro).
>
> Any suggestions? Thanks in advance.
>
>
> Jeroen
>
>
>
Author
29 May 2006 8:26 AM
Jeroen
The WMI method looks like a good way for basic checks. I tried the code
below but without any results...

Dim scope As New ManagementScope("\\.\root\SecurityCenter")
scope.Connect()
Dim sSQL As String = "Select * from AntiVirusProduct"
Dim oQuery As New System.Management.ObjectQuery(sSQL)
Dim oSearcher As New System.Management.ManagementObjectSearcher(oQuery)
Dim oResult As System.Management.ManagementObject
For Each oResult In oSearcher.Get()
   Console.Write("Name : " & oResult("displayName") & vbCrLf)
Next

oResult equals Nothing.


Show quoteHide quote
"Ken Tucker [MVP]" <KenTucker***@discussions.microsoft.com> schreef in
bericht news:9E8C9D6F-DB2C-432A-9BBD-DEB321F5D148@microsoft.com...
> Hi,
>
>          The info is available via the wmi.
>
> /root/SecurityCenter/AntiVirusProduct
>
> Sorry I do not have an example right now.
>
> http://www.pcreview.co.uk/forums/thread-2341926.php
>
> Ken
> --------------------------
>
> "Jeroen" wrote:
>
>> Hi,
>>
>> I need to create a small app that will detect if a virusscanner is
>> installed
>> and if it's up-to-date. Just like the Windows Security Center does. This
>> will be used for remote monitoring using a special app that calls scripts
>> or
>> console apps that respond with a specific code. Systems will all be
>> running
>> Windows XP (Pro).
>>
>> Any suggestions? Thanks in advance.
>>
>>
>> Jeroen
>>
>>
>>