Diagnosing incorrect Antivirus Status on devices

Datto RMM displays an Antivirus Status that does not match the actual antivirus state of a device. This article explains how to identify where Datto RMM gets the status and how to correct it.

Problem statement

The Antivirus Status for a device in Datto RMM is incorrect. For example, the device shows that antivirus is not running or is out of date when it is running and current, or the reverse. Antivirus Status is a monitor, and the Datto RMM Agent reports it from one of three detection sources: native detection, Windows Security Center, or an override file.

Resolution

To resolve this issue, complete the following steps:

Confirm Antivirus Status is updating

  1. In Datto RMM, navigate to the device and open the Monitors section.
  2. Locate the Antivirus Status monitor and check for recent Last Reading values.
  3. If the values are not recent, troubleshoot AEMAgent before continuing, because the agent isn't reporting the monitor correctly.

Determine the detection source

  1. On the device, open the AEMAgent.log file. You can use Agent Browser to view the file remotely.
  2. Search the log for avSource. The entry looks similar to the following example:

    12.9.0.1367|2024-04-22T01:16:35.348-04|INFO|POLL|{ "logcontext": "Monitoring.Program", "membername": "handler", "httpStatusCode": 200, "definitionName": "AntiVirus", "monitorId": "BUILT-IN", "json": "{\"avProduct\":\"Endpoint Security\",\"avUpToDate\":true,\"avRunning\":true,\"avSource\":\"Defined\"}" }

  3. Match the avSource value to the detection source in the following table, and then complete the steps in the corresponding section.
    avSource valueDetection sourceGo to
    DefinedNative detectionNative detection (Defined)
    Security CenterWindows Security CenterSecurity Center
    OverrideOverride fileOverride file

After determining the source, expand the relevant section below to continue troubleshooting.

NOTE  Always check the avSource value in AEMAgent.log first. Identifying the detection source up front prevents you from troubleshooting the wrong source.