Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was wondering if it is possible to get the name of the currently running anti-virus within windows (xp/7/8) commandline? I could use the tasklist commando to view all running processes, but it would also be handy to know if it is possible to just return the name (not the full path per se) of the active anti-virus.

share|improve this question
I am trying to gather user statistics about anti-virusscanners by running a signed java-applet which then can acces commandline to retrieve this info. I could do this by dumping the whole tasklist and then filter on all the antivirus execs but that would be a hassle – timmeyh Dec 3 '12 at 19:00
I think you'd need to identify the AV apps on your own by providing a list of known processes to your Java app representing AV apps. As far as I know, there is no API within Windows for this purpose. – Brutick Dec 3 '12 at 19:07
up vote 5 down vote accepted

If you are using an anti-virus package that properly reports into Windows' Security Centre you should be able to get its name via WMI.

This will return a list of all installed AV products from the local machine:

WMIC /Node:localhost /Namespace:\\root\SecurityCenter2 Path AntiVirusProduct Get displayName /Format:List

Note: I only tested this on Windows 7, so I'm not sure if it will work on XP as-is (should work on Vista+ though).

share|improve this answer
thank you :) I know wmic for a while, but didn't know this was also possible. ( i mostly use wmic to uninstall things) – timmeyh Dec 3 '12 at 21:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.