Reputation: 83
Is there a way to trigger Anti Virus updates process not by using The AntiVirus API ? whether I know the Security Center detects antivirus software but how can you detect and update ?
There are a lot of posts on how to Detect Antivirus on Windows using C#/WMI, but Can I trigger an update process. Any ideas please?
Detect Antivirus on Windows using C#
Thanks In Advanced,
Upvotes: 1
Views: 1268
Reputation: 4002
Most programs allow you to use a command-line prompt to execute updates etc.
For Windows Defender, it comes with a command-line utility that lets you run updates, scans, etc. through the command-line. See TN Run (and Automate) Windows Defender from the Command Line
Windows Defender:
MpCmdRun.exe -SignatureUpdate
AVG (Anti-Spam & Program/Virus DB Updates):
avgmfapx.exe /AppMode=UPDANTISPAM
avgmfapx.exe /AppMode=UPDATE
Once you know the Command-line Command, you can Run Command Prompt Commands to execute the update etc.
Upvotes: 1