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

NetLeverage
NetLeverage

Defender errors 0x80508024 and 0x80508030: a full scan or an offline scan is required

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.

Microsoft Defender Antivirus can finish a scan or a clean-up and report that it needs a bigger scan to be sure. Two client error codes say so. Error 0x80508024 says a full system scan might be required. Error 0x80508030 says an offline scan is required. Microsoft's resolution for each is to run that scan.

A full scan is routine and can run in the background. An offline scan is not: it restarts the computer into a separate environment, takes about 15 minutes and, according to Microsoft's offline-scan page, does not apply to Windows Server SKUs. The sections below explain the two codes, how to confirm what your computer is asking for, and the steps for each, with the risks first. Nothing before the Fix section changes anything.

What the error means

Microsoft's page of client error codes lists both, with these entries.

Code Message on the page Possible reason on the page Resolution on the page
0x80508024 ERR_MP_FULL_SCAN_REQUIRED "This error indicates that a full system scan might be required." "Run a full system scan."
0x80508030 ERROR_MP_CALLISTO_REQUIRED "This error indicates that an offline scan is required." "Run offline Microsoft Defender Antivirus."

The names are printed on the page with different prefixes, ERR_MP_ for the first and ERROR_MP_ for the second, and the second contains the word CALLISTO, which the page does not explain. They are quoted here exactly as printed. For 0x80508030 the page adds a pointer to "Help protect my PC with Microsoft Defender Offline".

The page does not say where the codes appear on screen. Remediation events 1118 and 1119 carry an Error Code field, so the codes could appear there, but the page does not tie these two codes to any event.

Likely causes

The page gives one reason for each code and nothing more, so the causes are the codes themselves.

  • 0x80508024: Defender judges that a full system scan might be needed. The word "might" is the page's.
  • 0x80508030: Defender judges that an offline scan is required.

Microsoft's offline-scan page describes when that happens: "If Microsoft Defender Antivirus determines that you need to run Microsoft Defender Offline, it prompts the user on the device." The prompt can be a notification, and the user is also notified within the Microsoft Defender Antivirus client. In Microsoft Intune the notification is visible, and Configuration Manager shows endpoints under Malware remediation status as "Offline scan required".

The offline page describes the purpose: the scan "runs from outside the normal Windows kernel so it can target malware that attempts to bypass the Windows shell, such as viruses and rootkits that infect or overwrite the master boot record (MBR)". It is a reason to treat this error as a security signal, not only a nuisance.

Prove the cause before changing anything

All of these are read only.

  1. Open Event Viewer and go to Applications and Services Logs, then Microsoft, then Windows, then Windows Defender, then Operational. Look for events 1116 to 1119, which describe detection and remediation: Name, Severity, Category, Path, Detection Origin and, for 1118 and 1119, the Error Code and Error Description. Note anything that carries 0x80508024 or 0x80508030.

  2. Look for a notification in the Windows Security app, or for the Offline scan required status in Intune or Configuration Manager if you use them. The offline page says these are how the need is signalled.

  3. Check what kind of computer this is. The offline page says Microsoft Defender Offline Scan does not apply to ARM Windows 11, ARM Windows 10 or "Windows Server Stock Keeping Units (SKU's)". If the computer is a Windows Server, the offline route below is not available, and only the full-scan route and a wider response remain.

  4. Check whether Defender is the primary antivirus. The offline page says to receive updates for the offline scan, "Microsoft Defender Antivirus must be your primary antivirus software (not in passive mode)". If another antivirus is primary, the page's condition for receiving the offline scan updates is not met.

  5. Note the Signature Version and Engine Version in the events, and check events 2000 and 2001 to see that definitions are updating. The offline page asks for a supported Platform Update, Engine Update and Security Intelligence Updates.

Fix

Pick the section that matches the code. Both start with the same record.

Run a full scan (0x80508024)

Before scanning, write down the detections and paths from events 1116 to 1119. The page gives no command for this, so the record is your own note.

Risk: the next command starts a full scan of the computer. On a busy server it uses disk and processor time for as long as it runs, and Defender will act on what it finds according to its configuration, which can quarantine or remove files. The MpCmdRun page says quick and full scans have default timeouts, and that a full scan stops automatically after seven days (a quick scan after one day).

Open an elevated Command Prompt (a window started by selecting Run as administrator), and move to the folder that contains MpCmdRun.exe. The MpCmdRun page says the latest copy is in C:\ProgramData\Microsoft\Windows Defender\Platform\ under a folder named for the antimalware platform version, and otherwise in C:\Program Files\Windows Defender.

MpCmdRun.exe -Scan -ScanType 2

The MpCmdRun page describes this command as starting "a full antivirus scan on the device". Microsoft's on-demand scan page also lists the Microsoft Defender portal route (device page, Run Antivirus Scan, then Full Scan) and the Microsoft Intune route (Devices, All devices, the device, More, then Full Scan).

To undo it: a scan has nothing to reverse, but its actions can. The MpCmdRun page describes -Restore as "Restores or lists quarantined items". Restoring puts a detected file back in its original location and removes it from quarantine when you give no path, so restore only a file you have checked is safe. To list the quarantined items first (read-only):

MpCmdRun.exe -Restore -ListAll

Then, to put back the most recently quarantined item with a given threat name, or one item by its quarantined file path, the page gives the options -Name <name> and -FilePath <QuarantinedFilePath>:

MpCmdRun.exe -Restore -Name <name>

Run an offline scan (0x80508030)

This is for a Windows 10 or Windows 11 computer. Microsoft's page says it does not apply to Windows Server SKUs, so on a server the page gives no equivalent, and the only fix it offers is not available. Raise it as a security question for that server rather than guessing at an alternative.

The offline page lists these requirements: an x64 or x86 Windows 10 or x64 Windows 11 computer, a signed-in local administrator, and Windows Recovery Environment (WinRE) enabled. It adds a warning: "If WinRE is disabled, the Windows Defender Offline scan doesn't run and no error messages are displayed. Nothing happens even if the machine is restarted manually."

Offline scan, part 1: check WinRE (read only)

Check the WinRE status first. This is read only.

reagentc /info

Offline scan, part 2: enable WinRE if it is disabled

If the status is Disabled, the page says it can be enabled with reagentc /enable.

Before enabling, keep the output of the status command above, which shows the state to return to. The page gives no command to turn WinRE off again.

Risk: the next command changes the Windows Recovery Environment configuration of the computer. The offline page gives only the enable command, and gives no way to undo it.

reagentc /enable

To undo it: Microsoft's page gives no command that reverses it. The status output you kept is the record of what the setting was.

Offline scan, part 3: run the scan

The page says: "If BitLocker is enabled on the system drive, suspend BitLocker protection before running Microsoft Defender Offline. Otherwise, you may be prompted to enter the BitLocker recovery key when the system restarts into the offline environment." The page links to its own instructions for suspending protection and gives no command here.

If the system drive uses BitLocker, locate its recovery key before you do anything else, because it is what you fall back on if the prompt appears. The page gives no command for finding it, so that is general advice.

Risk: suspending BitLocker protection leaves the system drive without that protection until it is resumed. The offline page tells you to suspend it and gives no step to resume it. The page it links to, "Suspend BitLocker protection for non-Microsoft software updates", says that "BitLocker protection will remain disabled for a particular drive until you manually resume it", so resuming is easy to forget.

Suspend BitLocker protection by following the instructions the offline page links to. Besides Control Panel, that page gives a PowerShell route; -RebootCount 0 suspends protection until you resume it manually.

Suspend-BitLocker -MountPoint "C:" -RebootCount 0

To undo it: resume BitLocker protection on the system drive once the scan has finished. The linked page gives this PowerShell command, and the same page describes the Control Panel route:

Resume-BitLocker -MountPoint "C:"

Offline scan, part 4: restart into the offline scan

Save every open file and close programs.

Disruptive step: the next step restarts the computer into an isolated environment. Microsoft's page says the scan "takes about 15 minutes to run", that you will be signed out, and that the endpoint restarts when the scan completes. A restart cannot be reversed, and unsaved work is lost. The page gives no way to undo any removal the scan makes.

In the Windows Security app, select Virus and threat protection, then Scan options, choose Microsoft Defender Offline scan, and select Scan now. Accept the prompts to save your work and to allow changes. Alternatively, the page gives this PowerShell cmdlet, which "reboots the device into an isolated environment to detect persistent malware":

Start-MpWDOScan

To undo it: a restart cannot be undone, and the page gives no way to reverse what the scan removes. If a blue screen (Stop error) appears, the page says to restart the device and try the offline scan again, and to contact Microsoft Support if it happens again.

Confirm the fix

  • The offline scan is recorded. Microsoft's page says the Operational log shows event 2030, "Microsoft Defender Antivirus downloaded and configured Microsoft Defender Antivirus (offline scan) to run on the next reboot". The page lists event 5007 with "OfflineScanRun" only under "On older versions than Windows 10, 2004", so on a newer Windows look for 2030 and do not wait for 5007.
  • The results are in the Windows Security app, under Virus and threat protection, Scan options, Protection history.
  • No new event carries 0x80508024 or 0x80508030 after the scan, and the detections you recorded are accounted for.

What to watch afterwards

  • A repeat of either code on the same computer soon after. As general advice, not Microsoft's, that deserves escalation, not a third scan.
  • Detections of boot-level or persistent malware, which is what the offline scan is designed to find.
  • Events 2001 and 2003, in case definitions or the engine stopped updating, because the offline page requires supported updates.
  • BitLocker state, if you suspended it for the scan.

Risks and limits

These steps have not been run or lab-tested. Microsoft's pages do not explain the name CALLISTO, do not say where 0x80508024 or 0x80508030 are displayed, and do not say what a server should do instead of an offline scan. The offline page was last updated on 2026-07-03, and the error-code page on 2026-06-01; check the current pages before acting.

If the computer is a Windows Server, the full scan route is the only route above that applies, and a code that asks for an offline scan on a server needs a decision about the whole machine and what it can reach. That is our advice, not the page's.

Sources