I'm looking for a command to list what antivirus(s) are installed on Windows. If there is currently none installed, I would like it to indicate this.
Thanks a lot
Try using the wmic
command with a findstr
command. Should work on Windows Vista and later
wmic /node:localhost /namespace:\\root\SecurityCenter2 path AntiVirusProduct Get DisplayName | findstr /V /B /C:displayName || echo No Antivirus installed
At least in windows 10 (at this moment I can not test it in another version, but it should at least work for windows 7 or later)
wmic /namespace:\\root\SecurityCenter2 path AntiVirusProduct get * /value
You can use this command to list all running antivirus in your system:
WMIC /Node:localhost /Namespace:\\root\SecurityCenter2 Path AntiVirusProduct Get displayName /Format:List