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.
Microsoft Defender Antivirus updates in two ways, according to Microsoft's updates page: security intelligence updates (the definitions, with the engine) and product updates, known as platform updates. When the platform falls behind, Defender says so in three ways: event 2007 warns that it will soon be out of date, event 2005 reports that the engine failed to load because the platform is out of date, and error 0x80508031 says the same thing in the client error codes. Event 2006 reports that a platform update itself failed.
The sections below give each message as Microsoft prints it, shows how to prove that the platform is the problem, and explains how Microsoft says platform updates are delivered, supported and rolled back. Nothing before the Fix section changes anything.
What the error means
Microsoft's page lists these entries in the Windows Defender Operational log.
| Event | Symbolic name | Message |
|---|---|---|
| 2005 | MALWAREPROTECTION_ENGINE_UPDATE_PLATFORMOUTOFDATE | "The antimalware engine failed to load because the antimalware platform is out of date. The antimalware platform loads the last-known good antimalware engine and attempt to update." |
| 2006 | MALWAREPROTECTION_PLATFORM_UPDATE_FAILED | "The platform update failed." |
| 2007 | MALWAREPROTECTION_PLATFORM_ALMOSTOUTOFDATE | "The platform will soon be out of date. Download the latest platform to maintain up-to-date protection." |
For 2005 the description adds that Defender "couldn't load antimalware engine because current platform version isn't supported" and "reverts back to the last known-good engine and a platform update will be attempted". For 2007 it says Defender "will soon require a newer platform version to support future versions of the antimalware engine". Events 2005 and 2007 list a Current Platform Version field, and 2006 lists the Current Platform Version, an Error Code and an Error Description. The page prints no "User action" text for any of the three.
The client error code is on the same page: 0x80508031, message ERROR_MP_PLATFORM_OUTDATED. The possible reason is "This error indicates that Microsoft Defender Antivirus doesn't support the current version of the platform and requires a new version of the platform." The resolution reads: "You can only use Microsoft Defender Antivirus in Windows 10 and Windows 11. For Windows 8, Windows 7 and Windows Vista, you can use System Center Endpoint Protection."
Likely causes
The event pages give no cause for the platform falling behind. Microsoft's updates page does give the rules on platform updates and support:
- Platform updates come monthly. The page says Defender Antivirus "requires monthly updates (KB4052623) known as platform updates".
- Support is by version distance. Microsoft says "support for older versions (N-2) reduces to technical upgrade support only" and that "Platform and engine versions older than N-2 are no longer supported."
- A computer's starting platform comes from its Windows version. The page's table and the note under it say Windows Server 2016 ships with the same platform version as Windows 10 RS1 (4.10.14393.3683) and Windows Server 2019 with the same as RS5 (4.18.1807.5), both marked "Technical upgrade support (only)". As general reasoning, not Microsoft's, a server that has never received platform updates stays on that starting version.
- Updates can be postponed. The page says "Platform updates can be temporarily postponed if other protection features, such as Endpoint DLP or Device Control, are actively monitoring running processes. Platform updates are retried after a reboot or when all monitored services are stopped."
- A manual deployment needs an order. For a manual deployment, or a script or non-Microsoft management product, the page says to make sure version 4.18.2001.10 is installed from the Microsoft Update Catalog before the latest version of the platform update is installed.
The updates page describes the update sources as Windows Server Update Service (WSUS), Microsoft Configuration Manager, the usual methods you use to deploy Microsoft and Windows updates, or a UNC file share. As general reasoning, not Microsoft's, a computer that gets nothing from its source falls behind, and so does one whose source is not offering the platform package. The page does not say which of these applies to a given computer.
Prove the cause before changing anything
All of these are read only.
-
In Event Viewer, open Applications and Services Logs, then Microsoft, then Windows, then Windows Defender, then Operational. Find events 2005, 2006 and 2007 and write down the Current Platform Version in each, with the date. Event 2006 also carries an Error Code and an Error Description, which tell you why the update failed.
-
Find the platform version folder on disk. The MpCmdRun page says the latest copy of the platform lives in C:\ProgramData\Microsoft\Windows Defender\Platform\ under a folder named for the antimalware platform version. If that folder does not exist, the files are in C:\Program Files\Windows Defender, which the page associates with the version that shipped with the operating system. Listing the folders shows which platform versions are present.
-
Compare the version you found with the supported releases. The updates page points to a list of the latest versions, "Microsoft Defender for Endpoint supported releases". It also shows the platform version of its latest listed releases. Use the current list, not a number from the example below.
-
Check how the computer gets its updates. Whether it uses Windows Update, a WSUS server, a Configuration Manager Software Update Point or a file share decides where to look next.
-
Look for events 2001 and 2003, which say definitions or the engine failed to update, to see whether the whole update path is broken or only the platform package.
-
If the computer is on Windows 8, Windows 7 or Windows Vista, stop here: the error page says Defender Antivirus is for Windows 10 and Windows 11 and that those older systems use System Center Endpoint Protection.
Events 5100 and 5101 look similar but are different events. They read "The antimalware platform expires soon." and "The antimalware platform is expired.", and their descriptions talk about a grace period and about protection being disabled. The page gives no cause or action for them, so they are not treated as the same fault here.
Example (illustrative): a Windows Server 2016 machine that has taken no Defender platform updates logs event 2007 weekly with a Current Platform Version beginning 4.10.14393. That matches the updates page's statement that Server 2016 ships with the RS1 platform. The next question is why its update source is not delivering the monthly package.
Fix
Microsoft's fix is to install a current platform update. The updates page lists these ways: Windows Update, Windows Update server (WSUS), a Software Update Point (SUP), the Windows Security app, and the Windows Update Catalog.
Install the latest platform update
Before installing, keep a record of the current platform version, from the events and the folder listing in the proof steps. The page gives no command for that, so the record is your own note.
Risk: the next step replaces the Defender platform on this computer. A platform update changes the programs that do the scanning. The page says it can be postponed while Endpoint DLP or Device Control are monitoring processes, and is then retried after a reboot. On a server, avoid the busiest hours.
Install the platform update through the update path your computer already uses, from the list above. If you deploy manually or with a script, make sure version 4.18.2001.10 from the Microsoft Update Catalog is installed first, as the page requires. The page gives no click-by-click procedure for each channel.
To undo it: the updates page lists MpCmdRun.exe -RevertPlatform to "Roll a platform update back to the previous version" and MpCmdRun.exe -ResetPlatform to roll updates back to the version shipped with the operating system. The MpCmdRun page says -RevertPlatform "Reverts platform binaries back to the previously installed version of the Defender platform" and -ResetPlatform "Resets platform binaries back to %ProgramFiles%\Windows Defender". Both put an older platform back, which lowers protection. -ResetPlatform goes back to the platform that shipped with the operating system, which on Windows Server 2016 or 2019 is the starting version in the page's table (4.10.14393.3683 or 4.18.1807.5), so it brings back the out-of-date platform that causes events 2005 and 2007 in the first place. Run one of them only if the new platform causes a problem, from an elevated Command Prompt, in the folder the MpCmdRun page names.
If a platform update is postponed
The page says that postponed platform updates are retried after a reboot or when all monitored services are stopped. A restart is a separate decision with its own cost.
Disruptive step: the next step restarts the computer so that a postponed platform update can be retried. Every session and service on that computer stops while it restarts, and a restart cannot be reversed. Use a window that suits the users.
Restart the computer in the way you restart it for any other reason, then look for event 2000 or a new platform folder.
To undo it: a restart cannot be undone. If the computer does not come back, start it from its console or its host.
Security intelligence is a separate update
Security intelligence (the definitions, with the engine) is a separate update from the platform, and event 2001 reports when it fails. Nothing here changes it, so there is no step to run for it.
Confirm the fix
- A new event shows a higher Current Platform Version, and no new 2005, 2006 or 2007 appears after the next update cycle.
- The Platform folder contains a newer version folder than the one you recorded.
- Event 2000 and the engine update event 2002 appear again. Microsoft's page says 2002 means "No action is necessary. The Microsoft Defender Antivirus client is in a healthy state."
- No client reports error 0x80508031.
What to watch afterwards
- The monthly cycle. Platform updates come monthly, so a computer that falls two versions behind drops to technical upgrade support only, and one further behind is no longer supported.
- Servers that were built from older images. The page says OS installation images (WIM and VHD(x) files) have their own updates, so that a new build does not start behind.
- Computers where Endpoint DLP or Device Control are in use, because the page says those can postpone platform updates.
- Event 2006, which is the failure of the update itself and carries the error.
Read next
Related articles you may want next.
- TroubleshootingWindows event logs: retention, forwarding and keeping the evidence an investigation needsHow long Windows event logs last by default, why they overwrite, and how forwarding and size settings keep evidence for an investigation.Read article
- TroubleshootingGroup Policy Not Applying: gpresult, Events and SYSVOLA Group Policy setting missing on a hosted server: read gpresult as the affected user, check loopback, filter one run's events, then check SYSVOL state.Read article
- HostingHow much headroom to keep: thresholds and lead time for hosted resourcesHow a business sets written trigger levels for storage, memory and processor on hosted servers, so upgrades are ordered early enough, peaks are absorbed and nobody argues about when to buy more.Read article
Risks and limits
These steps have not been run or lab-tested. The event page prints no user action for events 2005, 2006 and 2007, and the cause section above comes from a separate Microsoft page. The platform version numbers are those on Microsoft's pages dated 2026-06-01 and 2026-05-14, so check the current supported releases list. The page does not say how long Defender runs on the last-known good engine, and does not say what an event 5100 or 5101 grace period is counted from.
Sources
- Review event logs and error codes to troubleshoot issues with Microsoft Defender Antivirus — Microsoft Learn, page dated 2026-06-01, accessed 3 December 2026
- Microsoft Defender Antivirus security intelligence and product updates and support — Microsoft Learn, page dated 2026-05-14, accessed 3 December 2026
- Configure and manage Microsoft Defender Antivirus with the MpCmdRun command-line tool — Microsoft Learn, page dated 2026-06-09, accessed 3 December 2026
This article was originally published on .