【发布时间】:2017-02-26 18:19:55
【问题描述】:
我正在寻找一个命令来列出 Windows 上安装了哪些防病毒软件。如果当前没有安装,我希望它指出这一点。
非常感谢
【问题讨论】:
标签: batch-file cmd antivirus
我正在寻找一个命令来列出 Windows 上安装了哪些防病毒软件。如果当前没有安装,我希望它指出这一点。
非常感谢
【问题讨论】:
标签: batch-file cmd antivirus
尝试将wmic 命令与findstr 命令一起使用。应该可以在 Windows Vista 及更高版本上运行
wmic /node:localhost /namespace:\\root\SecurityCenter2 path AntiVirusProduct Get DisplayName | findstr /V /B /C:displayName || echo No Antivirus installed
【讨论】:
至少在 windows 10 中(目前我无法在另一个版本中测试它,但它至少应该适用于 windows 7 或更高版本)
wmic /namespace:\\root\SecurityCenter2 path AntiVirusProduct get * /value
【讨论】:
您可以使用此命令列出系统中所有正在运行的防病毒软件:
WMIC /Node:localhost /Namespace:\\root\SecurityCenter2 Path AntiVirusProduct Get displayName /Format:List
【讨论】: