Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

Defender event 2001: the security intelligence update failed

Technical article
Troubleshooting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

A Windows server or PC protected by Microsoft Defender Antivirus logs event ID 2001 when it tries to download or install new antivirus definitions and cannot. The definitions, which Microsoft's current pages call security intelligence, are what the scanner uses to recognise threats, so a device that keeps logging 2001 slowly falls behind. The event is easy to find and the page that documents it is short, so most of the work is reading the fields in the event itself.

The sections below explain what the event contains, what to look at first, the two changes Microsoft's pages support (forcing an update, and fixing the order in which update sources are tried), and how to confirm the fix. Everything before the Fix section only reads.

What the error means

Microsoft says events are available under Windows Defender > Operational in the Applications and Services Logs in Event Viewer. To get there, press the Windows logo key + R, type eventvwr.msc, select OK, and go to Applications and Services Logs > Microsoft > Windows > Windows Defender > Operational.

Microsoft's event page gives event 2001 the symbolic name MALWAREPROTECTION_SIGNATURE_UPDATE_FAILED and the message "The security intelligence update failed." The description reads "Microsoft Defender Antivirus encountered an error trying to update signatures." and then lists fields:

Field in the event What Microsoft's page says it holds
New security intelligence version / Previous security intelligence version The version it tried to reach and the version the device has
Update Source Examples: Security intelligence update folder, Internal security intelligence update server, Microsoft Update Server, File share, Microsoft Malware Protection Center (MMPC)
Update Stage Examples: Search, Download, or Install
Source Path File share name for Universal Naming Convention (UNC), server name for Windows Server Update Services (WSUS) / Microsoft Update / ADL
Signature Type Examples: Antivirus, Antispyware, Antimalware, or Network Inspection System
Update Type Either Full or Delta
Current Engine Version / Previous Engine Version The scan engine versions
Error Code and Error Description A "Standard HRESULT" value and its description

One oddity on the page: the Error Code field is described as "Result code associated with threat status", which is the same wording the page uses for events about threats. For event 2001 it is simply the HRESULT of the failed update, so read it as the failure code of the update and not as a statement about a threat.

The "User action" text on the page is brief: "This error occurs when there's a problem updating definitions." It then lists three things to do: update definitions and force a rescan directly on the endpoint, read the entries in the %Windir%\WindowsUpdate.log file, and contact Microsoft Technical Support. The page does not list individual causes or interpret individual error codes for event 2001.

Likely causes

Because Microsoft's event page gives no cause list, the likely causes below come from the fields in the event and from Microsoft's page on update sources. Treat them as a reading of the fields, not as Microsoft's list.

What the event shows A reasonable reading Where Microsoft's pages support it
Update Source is a file share or an internal server, and Source Path names it The device cannot reach that source, or the source holds old definitions The update-source page says updates come from sources in the order you specify, and that when the source being checked is out of date "the next configured update source in the fallback order is used immediately"
Update Stage is Search or Download The device could not find or fetch the update The event page lists Search, Download and Install as the stages
Update Stage is Install The update arrived but would not apply Same list; the page gives no further explanation
Many devices fail at once through WSUS or Windows Update The shared delivery path, not one device The update-source page says security intelligence and platform updates are delivered through Windows Update
Older Windows that has not had the SHA-2 update The device cannot verify the signing of the update The page states that all security intelligence updates are SHA-2 signed exclusively and that devices "must be updated to support SHA-2"

Microsoft gives no counts, so the order is not an order of likelihood.

Prove the cause before changing anything

All of these steps only read.

  1. Open the 2001 event and write down Update Source, Update Stage, Source Path, Update Type and the Error Code. The event is the main clue: one source and one stage that fail every time point to one cause, while a mix points to a general connectivity problem.

  2. Look for a nearby event 2000, whose message is "The antimalware definitions updated successfully." If 2000 appears after 2001, the update recovered by itself or through another source. If there is no 2000 for days, the device is not updating at all.

  3. Read the entries in the %Windir%\WindowsUpdate.log file around the time of the 2001 event, as the event page suggests. The page does not say what to look for in it.

  4. Check how fresh the definitions are. Microsoft's cmdlet page shows the properties AntivirusSignatureVersion, AntivirusSignatureLastUpdated and AntivirusSignatureAge in the output of Get-MpComputerStatus, so this read-only command shows them:

Get-MpComputerStatus | Select-Object AntivirusSignatureVersion, AntivirusSignatureLastUpdated, AntivirusSignatureAge
  1. Check whether Group Policy is steering the update source. Microsoft's path is Computer configuration > Administrative templates > Windows components > Microsoft Defender Antivirus > Security Intelligence Updates, which you can also open on one device with gpedit.msc. Two settings matter: "Define the order of sources for downloading security intelligence updates" and "Define file shares for downloading security intelligence updates". Read the value in each and close it without changing anything. If neither is configured, the device follows its default order. Microsoft's Set-MpPreference page says the default order of update sources is "MicrosoftUpdateServer | MMPC".

An illustrative example, not taken from Microsoft: event 2001 repeats every few hours on a file server, with Update Source "File share" and a Source Path naming a share on a server that was retired last month. The reading is that the policy still lists a source that no longer exists.

Fix

Pick the step that matches the proof. If the event points at one source, fix the source first. If it points at nothing in particular, force an update.

Step 1: force an update on the device

Before updating, record the version you have now, so you can tell afterwards whether the update worked. Use the read-only command from step 4 above and keep its output.

Risk: the next step downloads and installs new security intelligence on this device and uses its network connection for the download. The page gives no way to restore the exact version you recorded. Its rollback command, MpCmdRun.exe -RemoveDefinitions -All, restores the installed security intelligence "to a previous backup copy or to the original default set", which is older and lowers protection, so it is not a way to undo a successful update.

Microsoft's MpCmdRun instructions say to run the command in an elevated Command Prompt (a window started by selecting Run as administrator), from the folder that holds the latest platform version: %ProgramData%\Microsoft\Windows Defender\Platform\<antimalware platform version>, or %ProgramFiles%\Windows Defender if that path does not exist. Microsoft's page gives a one-line command that picks the right folder. Then run:

MpCmdRun.exe -SignatureUpdate

Microsoft's page describes the same command with two options: -UNC <path> downloads updates directly from the specified UNC file share, and -MMPC downloads updates directly from the Microsoft Malware Protection Center. Use them only when the event points at that source.

To undo it: an exact undo does not exist, as the warning above says. Leave the new definitions in place; they are the protection you want.

Step 2: correct the update source order in Group Policy

Use this step only when the event and the policy show a source that no longer works or is out of date.

Before changing the policy, record its current state. Open "Define the order of sources for downloading security intelligence updates", note whether it is Not Configured, Enabled or Disabled and copy the text in the Options box, then do the same for "Define file shares for downloading security intelligence updates". The page gives no command for this, so it is general advice, and the record is what lets you put the policy back exactly.

Risk: the next step changes which update sources every device under this policy contacts, and in what order. A wrong order or a wrong file share path leaves many devices failing to update at once, which is the fault you are fixing. Change a policy that applies to one test device first.

In the Group Policy Management Editor, go to the Security Intelligence Updates folder named above and open "Define the order of sources for downloading security intelligence updates". Select Enabled and, in the Options section, enter the sources in the order they should be contacted, separated by a single pipe (|). Microsoft lists the available values as InternalDefinitionUpdateServer, MicrosoftUpdateServer, MMPC and FileShares; its example is InternalDefinitionUpdateServer|MicrosoftUpdateServer|MMPC. Select OK. If you use a file share, open "Define file shares for downloading security intelligence updates", select Enabled, enter each share in UNC form separated by a single pipe, and select OK. Microsoft says that if you do not enter any paths, the file share source is skipped.

To undo it: open the same settings and put back the state and the Options text you recorded.

Confirm the fix

  • An event 2000, "The antimalware definitions updated successfully.", appears after the failed update, and no new 2001 follows.
  • The read-only Get-MpComputerStatus command from the proof section now shows a newer AntivirusSignatureVersion and a small AntivirusSignatureAge.
  • Event 1151, the client health report, lists the antivirus signature age in days. Microsoft notes that before a signature is updated for the first time it shows an age of 65535 days.
  • On a managed fleet, check a few devices a day later, not only the one you fixed. A scheduled update is what keeps the fix.

What to watch afterwards

  • Event 2003, "The antimalware engine update failed.", which Microsoft's page ties to "an interruption in network connectivity during an update".
  • Events 2012 and 2021, which Microsoft's page says point to internet connectivity when the Dynamic Signature Service or a clean-file download fails.
  • Event 2004, the failure to load definitions and the fall back to the last known good set. It has its own guidance.
  • Platform updates. Microsoft says Defender Antivirus requires monthly platform updates (KB4052623), and that support for platform and engine versions older than N-2 is no longer provided.
  • Any change to the update source policy, such as retiring a file server or WSUS server named in the setting.

Risks and limits

These steps were researched from Microsoft's pages and have not been run or lab-tested.

Microsoft's event page does not explain individual error codes for event 2001 and does not list causes, so the cause table is a reading of the fields and of the update-source page. The MpCmdRun and Group Policy instructions are Microsoft's; the record-first steps and the test-device advice are general advice. Forcing an update cannot be undone exactly, and a wrong Group Policy source order can affect every device under the policy.

Sources