Windows Defender error 0x800106ba: how to fix it

Microsoft doesn't document error 0x800106ba. It is reported when Defender scans or the Defender service fail, mostly in old Windows 10 upgrade threads. The closest official match is Microsoft's guidance for Defender service-startup problems: check the services, scan for malware, remove other antivirus, reset the platform and clear leftover policies.

Applies to:Windows 10Windows 11
On this page

What it means

Error 0x800106ba is a Microsoft Defender Antivirus failure code, but Microsoft has no page that says what it means or how to fix it. Treat it as a generic Defender problem, not a code with a known single cause.

The only code-specific evidence is community threads from 2015 and 2016, written around Windows 10 upgrades. In one of them, a Microsoft Q&A thread, scans stopped at about 80% with this code. That thread did not explain the code, and it did not confirm a fix.

So the steps below are general. They come from Microsoft's guidance on Defender service startup problems, which never mentions 0x800106ba but covers the situation where Defender won't run. Work through them in order, safest first. Which one helps depends on your setup, and none is guaranteed for this code.

Symptoms and causes

You are likely dealing with this problem if:

  • Windows Security reports a problem with Defender when it scans, or a scan stops partway (one 2015 thread describes about 80%) with 0x800106ba.
  • Windows Security shows a red cross on Virus & threat protection, or says "Threat service has stopped. Restart it now" or "Microsoft Defender Antivirus is turned off" (symptoms listed on Microsoft's general startup-problems page, not tied to this code).
  • Starting Defender gives "Unexpected error. Sorry, we ran into a problem" (same Microsoft page).
  • A restart or a manual start doesn't help (reported in the community threads).

The usual causes, most common first:

Another antivirus or its leftovers
Microsoft's startup guidance has a step for removing non-Microsoft antivirus products, so a second security product, or what remains after uninstalling one, is worth ruling out first.
Leftover Defender policies
Microsoft's steps include backing up and deleting policy values under HKLM\SOFTWARE\Policies\Microsoft\Windows Defender, which suggests such values can keep Defender from running. They may come from Group Policy, another tool or malware.
Damaged Defender platform, engine or definitions
Microsoft's guidance includes removing definitions and resetting the platform, which points to a broken install as a possible cause.
Malware
Microsoft's guidance starts with a Microsoft Safety Scanner scan, because some malware turns Defender off.

How to fix it

Work through these in order. They start with the quickest, safest checks and move to deeper repairs; stop as soon as the problem is gone.

1.Check the Defender services

Easy

This shows which part is stopped or set up differently from Microsoft's expected state.

  1. Right-click Start, choose Terminal (Admin) or Windows PowerShell (Admin), and run:
    PowerShellrun as administrator
    Get-Service WinDefend, WdBoot, WdFilter, WdNisSvc, WdNisDrv, SecurityHealthService, wscsvc | Format-Table -Auto DisplayName, Name, StartType, Status
  2. Compare with Microsoft's expected state: WinDefend Automatic and Running; WdFilter Boot and Running; WdNisSvc Manual and Running; WdNisDrv Manual and Running; SecurityHealthService Manual and Running; wscsvc Automatic and Running. WdBoot being stopped after startup is normal.
  3. Note which ones differ and continue with the next fixes.

2.Scan with Microsoft Safety Scanner

Easy

Malware that disables Defender is one situation Microsoft's guidance covers.

  1. Download Microsoft Safety Scanner from Microsoft's official site and run a full scan.
  2. Let it remove what it finds, then restart.

3.Fully remove any other antivirus

ModerateChanges settings

Microsoft's guidance includes removing non-Microsoft antivirus products.

Before you start: Make sure you have another way to stay protected, and reinstall security software afterwards if you want it. Use only the vendor's own removal tool.

  1. Open Settings > Apps > Installed apps and uninstall the other antivirus.
  2. Download the removal tool from that vendor's official site and run it to clear what remains.
  3. Restart the PC and check Windows Security again.

4.Reset definitions and the Defender platform

ModerateChanges settings

This is Microsoft's step for a damaged platform, engine or definitions.

Before you start: Definitions will be removed and must be downloaded again, so be online afterwards.

  1. Open Command Prompt as administrator and change to the newest version folder under %ProgramData%\Microsoft\Windows Defender\Platform\. If that folder doesn't exist, use %ProgramFiles%\Windows Defender.
    Command Promptrun as administrator
    cd /d "%ProgramData%\Microsoft\Windows Defender\Platform\<version>"
  2. Run these two commands:
    Command Promptrun as administrator
    MpCmdRun.exe -RemoveDefinitions -All
    MpCmdRun.exe -ResetPlatform

5.Back up and remove Defender policies

AdvancedChanges settings

Leftover policy values can keep Defender disabled. Microsoft's steps back them up first, then delete them.

Before you start: The first command exports the key so you can restore it. On a work or school PC, ask IT first: Group Policy or Intune may re-apply the policy anyway. Creating a restore point beforehand is wise.

  1. In an elevated PowerShell window, back up the policy key:
    PowerShellrun as administrator
    New-Item -Path "C:\DefenderTemp" -ItemType Directory; Invoke-Command {reg export 'HKLM\SOFTWARE\Policies\Microsoft\Windows Defender' C:\DefenderTemp\_DefenderAVBackup.reg}
  2. Remove the key:
    PowerShellrun as administrator
    Remove-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender' -Force
  3. Restart the PC.

6.Re-enable Defender and update definitions

Moderate

After the reset, this turns Defender back on and fetches fresh definitions.

  1. From the same platform folder as before, in an elevated Command Prompt, run:
    Command Promptrun as administrator
    MpCmdRun.exe -WdEnable
    MpCmdRun.exe -SignatureUpdate -MMPC
  2. Open Windows Security > Virus & threat protection > Virus & threat protection settings and confirm Tamper Protection is on.
  3. Run Microsoft Update (Settings > Windows Update > Check for updates) so Defender components are current.

Check that it worked

  • Run the Get-Service command again: WinDefend should show Automatic and Running.
  • Windows Security shows Virus & threat protection without a red cross, and real-time protection can be turned on.
  • A quick scan finishes without error 0x800106ba.

If it still fails

  • Open Event Viewer > Applications and Services Logs > Microsoft > Windows > Windows Defender > Operational and look for Events 5001 (real-time protection disabled) and 5007 (configuration changed). Note the text.
  • Run another scan with Microsoft Safety Scanner in case malware keeps disabling Defender.
  • On a work or school PC, ask your IT team whether a policy manages Defender.
  • Contact Microsoft Support or ask on Microsoft Q&A, giving the exact code, where it appears (scan, update or startup) and your Windows version.

Questions

Does Microsoft document error 0x800106ba?

Not in any page reviewed for this article. The fixes here are Microsoft's general steps for Defender service-startup problems, and they are not confirmed as a fix for this specific code.

Sources

  1. Troubleshoot Microsoft Defender Antivirus service startup problemsOfficial · Microsoft Learn
  2. windows defender error code 0x800106ba · Microsoft Learn Q&A