473,387 Members | 1,391 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Detect if virusscanner is installed

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
May 27 '06 #1
7 3150
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

May 27 '06 #2
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:OD**************@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

May 27 '06 #3
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" <sl********@spam.la> schreef in bericht
news:Ol****************@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:OD**************@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


May 27 '06 #4
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

May 28 '06 #5
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.
"Ken Tucker [MVP]" <Ke**********@discussions.microsoft.com> schreef in
bericht news:9E**********************************@microsof t.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

May 29 '06 #6
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]" <no************@planet.nl> schreef in bericht
news:ej*************@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" <sl********@spam.la> schreef in bericht
news:Ol****************@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:OD**************@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



May 29 '06 #7
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

"Jeroen" <sl********@spam.la> schreef in bericht
news:%2****************@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]" <no************@planet.nl> schreef in bericht
news:ej*************@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" <sl********@spam.la> schreef in bericht
news:Ol****************@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:OD**************@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



May 29 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: zZ | last post by:
Hi All, I need to detect the framework installed from both VB.Net and VB6. Can someone give me an hint? Thanks for any tip. Kind regards, Zen
3
by: Raj | last post by:
Hi All, Is it possible to detect if a client software is installed on a machine using browser javascript. we are building a web/windows software and when the user logs into the web application,...
8
by: Igor Kuklin | last post by:
I know how to detect .NET Framework, and I know how to re-register ASP.NET. But is there any way to detect that ASP.NET is not registered with IIS? I want my installation program to treat this case...
1
by: Raj | last post by:
Hi, I want to detect a s/w installed on the browser client machine and change my asp.net application's behavior according to that. I already have the javascript to detect the s/w installed on the...
6
by: Perquiaga | last post by:
Hi to all I have to detect the mouse presence and disconection if occurs to give alerts. I'm using VB .NET, if somebody can help i'll apretiate it.
4
by: Maileen | last post by:
Hi, I would like to know if exist a way how to control if .NET framework is installed or not ? thanks, Maileen
4
by: Chris L | last post by:
Hi there, I'm running VS.NET 2003 on XP Home, so I have Web Matrix installed as a web server. I wanted to create my first web application with VS.NET, but when I select New Project -> asp.net...
4
by: aotemp | last post by:
Does anyone know how to detect the version of Java installed? My website has an application that requires java 1.5+ to be installed, basically if the user doesn;t already have it installed I...
2
by: Yisehaq | last post by:
hello Everyone I am working on a CD which contains data to be explored usingOLAP tools. (Pivot tables) I have made it an autorun and the pages comes and using pivot tables component one can...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.