Upgraded to Windows 11 24H2 and now Antimalware Service Executable (MsMpEng.exe) is eating your CPU alive? You’re not imagining it — but the culprit usually isn’t 24H2 itself. Feature upgrades trigger Defender’s heaviest workload: re-baselining tens of thousands of changed system files, catching up on missed scheduled scans, and re-scanning your busiest folders. 24H2’s larger-than-usual system changes make that initial storm a bit fiercer, and if the upgrade was interrupted or definitions lagged behind, Defender can get stuck in a high-CPU loop that doesn’t resolve on its own.
This guide is 24H2-focused: what the upgrade does to Defender’s workload, how to tell normal post-upgrade scanning from a stuck state, and the fixes that work on 24H2’s Defender platform — scheduling, exclusions, definition repair, and platform fixes. No registry hacks, no disabling protection. Start by checking Windows Security > Virus & threat protection > Protection history for scan activity timestamps — scans clustered right after your 24H2 install date confirm the upgrade-triggered pattern. For the general (non-24H2) guide, see taming Antimalware Service Executable ; for broader 24H2 slowness, see laptop slow after the 24H2 update .
Why this happens
- 24H2 upgrade re-baseline: The feature upgrade replaces huge parts of the OS; Defender scans it all.
- Missed scan backlog: Scans skipped during the upgrade’s multiple reboots queue up afterward.
- Stale Defender platform post-upgrade: The antimalware platform sometimes lags the OS upgrade, scanning inefficiently until updated.
- Re-scanning high-churn folders: Developer, gaming, and sync folders get re-examined file-by-file after the upgrade.
- Corrupted Defender state from upgrade: Interrupted or problematic 24H2 installs can damage Defender’s configuration.
- Conflicting security software remnants: Old third-party AV filter drivers clash with Defender’s 24H2 platform.
- Genuine threat detection: The deep post-upgrade sweep occasionally finds real malware — check Protection history.
How to fix it
Work through these in order — diagnose first, then act.
Fix 1: Verify the 24H2 timeline and let the baseline finish
Confirm the story before intervening.
- Check Settings > System > About — confirm Version 24H2 and note the install date (Settings > Windows Update > Update history).
- Open Windows Security > Virus & threat protection > Protection history — scans timestamped in the days after the 24H2 install confirm upgrade-triggered scanning.
- Give it 24–48 hours of plugged-in use with some idle time — the re-baseline is heaviest in the first day and tapers.
- Watch the trend in Task Manager, not just the snapshot: declining CPU over hours means it’s finishing; a flat high line means it’s stuck.
- If you’re past 48 hours with no improvement, the upgrade isn’t the whole story — continue to the active fixes.
Fix 2: Bring the Defender platform fully up to date on 24H2
The platform must match the OS.
- Run Settings > Windows Update > Check for updates repeatedly until nothing remains — Defender platform and Security Intelligence updates ship separately from OS patches and often lag the 24H2 upgrade.
- Then open Windows Security > Virus & threat protection > Protection updates > Check for updates to force the latest definitions.
- Verify versions: Windows Security > Settings (gear icon) > About shows the antimalware platform and engine versions — compare against Microsoft’s published current versions if CPU stays high.
- If updates fail or stall, run the Windows Update troubleshooter (Settings > System > Troubleshoot > Other troubleshooters).
- A fully updated Defender platform on 24H2 scans measurably more efficiently than a stale one — this single step resolves many “24H2 broke Defender” reports. See Microsoft’s Windows support pages for update troubleshooting.
Fix 3: Reschedule scans for idle hours
Move Defender’s heavy work off your work hours.
- Open Task Scheduler (
taskschd.msc) > Task Scheduler Library > Microsoft > Windows > Windows Defender. - Open Windows Defender Scheduled Scan > Properties > Triggers and set a 3 AM (or away-time) schedule.
- Under Conditions, enable Start the task only if the computer is idle and Stop if the computer ceases to be idle.
- Enable Run task as soon as possible after a scheduled start is missed so upgrade-backlogged scans clear overnight.
- Keep Wake the computer to run this task off unless you want guaranteed overnight completion — your call based on whether the laptop sleeps plugged in.
Fix 4: Add 24H2-era exclusions for your workload
Target the folders 24H2’s Defender keeps re-examining.
- Go to Windows Security > Virus & threat protection > Manage settings > Exclusions > Add or remove exclusions.
- Add Folder exclusions for trusted high-churn locations: code workspaces and build outputs, game libraries (Steam/Epic), video scratch disks, VM images, and local AI model folders (increasingly common and huge on 24H2 machines).
- Add Process exclusions for your compiler toolchain, IDE, or backup software if those drive the spikes.
- Keep exclusions narrow and trusted — never Downloads, Temp, or system directories. 24H2’s tightened SmartScreen and Defender integration assume those stay covered.
- Reassess after a day of normal work — Task Manager should show MsMpEng.exe spiking briefly on new files, not camping at high CPU.
Fix 5: Repair Defender’s platform on 24H2
For a Defender that seems damaged rather than busy.
- In an elevated terminal, run
DISM /Online /Cleanup-Image /RestoreHealthfollowed bysfc /scannow— this repairs Windows components including Defender’s platform files. - Check Windows Security > Virus & threat protection for any “actions needed” banners — unresolved states keep the engine churning.
- If you ever had third-party antivirus, run that vendor’s official removal tool (not just the uninstaller) — leftover filter drivers are a notorious cause of Defender loops after feature upgrades.
- Review Event Viewer > Applications and Services Logs > Microsoft > Windows > Windows Defender > Operational for repeated error entries — error codes here point to the specific broken piece.
- As a brief diagnostic, toggle Real-time protection off for 10 minutes to confirm MsMpEng.exe is the true consumer — tamper protection re-enables it automatically.
Fix 6: Check 24H2-specific background interactions
Other 24H2 changes can amplify Defender’s load.
- Recall/Copilot+ features (on supported hardware): the continuous screenshotting writes constantly to disk — if enabled, its snapshot folder gets real-time scanned. Consider excluding the Recall snapshot location or disabling Recall if you don’t use it.
- Windows Studio Effects / enhanced search: 24H2’s expanded indexing of new content types keeps the indexer busy, and Defender scans what the indexer touches — if the indexer is the root hog, see our search indexer fix .
- Review Task Manager > Startup apps for new 24H2-era entries (AI helpers, widgets) adding background file activity.
- If you use Dev Drive (ReFS), confirm it’s configured — Dev Drives get performance-mode Defender treatment automatically, which is the ideal setup for build folders.
- After addressing these, give the system one full idle night — 24H2’s background optimization passes need uninterrupted time to settle.
Fix 7: The deliberate alternatives (not disabling)
If Defender and your workflow fundamentally clash on 24H2.
- Don’t use registry “disable Defender” hacks marketed for 24H2 — tamper protection neuters most of them, and the ones that work leave you silently unprotected.
- The legitimate path is a reputable third-party antivirus that registers with Windows Security Center — Windows then stands Defender down cleanly, which is completely different from breaking it.
- Before switching, run Microsoft Defender Offline scan to rule out malware as the true cause of the high CPU.
- If you manage many machines, Group Policy/MDM controls for Defender scheduling are the enterprise-grade answer — not per-machine hacks.
- Whatever you choose, keep Tamper Protection on and keep definitions updating — an unprotected or stale 24H2 machine is worse than a busy Defender.
Closing
High MsMpEng.exe CPU on Windows 11 24H2 is overwhelmingly an upgrade-aftermath problem: re-baseline scanning, stale platform components, and backlogged schedules — not a flaw in 24H2 itself. Update the platform, reschedule the scans, exclude your busy folders, and give it an idle night. The storm passes, and Defender goes back to being the quiet guardian it’s supposed to be.
