Zoomed Image

Update AV Signatures and Run AV Scan

Endpoint Management Guide

Fix a Computer

Update AV Signatures and Run AV Scan

Update AV Signatures updates the Microsoft Defender signatures on the selected computers. Run AV Scan runs a Defender quick scan on them. Both run Defender's command-line tool, MpCmdRun.exe, and work with Microsoft Defender only.

Update AV Signatures

Endpoints > Endpoint List > select one or more computers > Change > Updates and Antivirus > Update AV Signatures.

There is no dialog. A confirmation asks "Update the Microsoft Defender antivirus signatures on 1 computer (DEVDC) now?". Click Yes to send it. The agent runs:

"C:\Program Files\Windows Defender\MpCmdRun.exe" -SignatureUpdate

Defender fetches signatures from the source the computer is configured for. A computer reports Applied when the update finishes. The agent allows up to 10 minutes.

Undo: none. Signature updates are not rolled back.

Run AV Scan

Endpoints > Endpoint List > select one or more computers > Change > Updates and Antivirus > Run AV Scan.

A confirmation asks "Run a quick antivirus scan on the selected computers?". Below the question it says "Other actions on those computers wait until it finishes." Click Yes to send it.

The agent runs:

"C:\Program Files\Windows Defender\MpCmdRun.exe" -Scan -ScanType 1

Scan type 1 is a quick scan. It covers the places malware usually starts from: memory, start-up locations and system folders. Defender handles anything it finds by its own policy. The run reports Applied when the scan ends. A threat found makes MpCmdRun.exe return a non-zero code, and the run shows it as a failure with that code.

How long it takes: up to 30 minutes on each computer. After 30 minutes the agent stops the scan and reports a failure. The agent runs one action at a time. Every other action for that computer waits until the scan ends, including Test Connectivity and Ask the Fleet.

Undo: none. A scan changes nothing that can be put back.

AV Scan confirmation message

After you click Yes

Both actions show "Sent to the selected computers." and ask "Do you want to follow it now?". Yes opens Endpoints > Endpoints Dashboard > Activity. See Following a run.

Key points

  • Both actions run with or without the agent. Both need Microsoft Defender at its standard path. A computer running another antivirus product fails because MpCmdRun.exe is not there.
  • Check the result of a signature update with Show > Antivirus. Its signatureagedays value should drop to 0. See Antivirus, Hardening and Clock.
  • Run AV Scan on a few computers at a time. A computer that is scanning answers no other action until the scan ends.