Check which antivirus provider is active first, then repair Windows Update and system files before retrying the Microsoft Defender scan.
1. Confirm Microsoft Defender is active
- Open Windows Security → Virus & threat protection.
- Under Who’s protecting me?, select Manage providers.
- If a third-party antivirus is active, uninstall it from Settings → Apps → Installed apps, then restart Windows. Defender is automatically disabled while another antivirus provider is active and should reactivate after that product is removed.^1^
- Return to Virus & threat protection → Manage settings and verify Real-time protection is On.
Avoid running two real-time antivirus products together; this can cause update errors and performance problems.^2^
2. Update Defender separately
Windows Security updates may be affected by the Windows Update problem, but protection definitions can be updated separately:
- Open Windows Security → Virus & threat protection.
- Select Protection updates → Check for updates.
- If that fails, manually install the latest Microsoft Defender protection update from the Microsoft security intelligence updates download referenced by Microsoft Support.^3^
- Restart the PC and attempt a Quick scan.
Also check that drive C: has adequate free space. Defender needs space to remove and quarantine threats, and insufficient storage can prevent a scan from completing.^3^
3. Repair the stuck Windows Update
On Windows 11:
- Open Settings → System → Troubleshoot → Other troubleshooters.
- Next to Windows Update, select Run.
- Restart the computer when it finishes.
- Open Settings → Windows Update → Check for updates.
If updates remain stuck, clear the update cache:
- Press Win+R, enter
services.msc, and press Enter. - Right-click Windows Update and select Stop.
- Open
C:\Windows\SoftwareDistribution. - Delete the contents of that folder—not the
SoftwareDistributionfolder itself. - Return to Services, right-click Windows Update, and select Start.
- Check for updates again.
Microsoft documents this cache-reset procedure for corrupt or stalled update files.^4^
4. Repair Windows components
If both Defender and Windows Update still fail, repair the Windows component store and protected system files:
- Search for Command Prompt.
- Right-click it and select Run as administrator.
- Run these commands in order:
DISM.exe /Online /Cleanup-Image /RestoreHealth
sfc /scannow
Do not close the window until SFC reaches 100%. Restart afterward, run Windows Update again, and then retry the Defender scan. DISM normally obtains repair files through Windows Update, so if DISM cannot find source files because Windows Update remains broken, installation media or another matching Windows installation may be required as the repair source.^5^
If scanning still fails
- Restart, close other applications, and run the scan before opening anything else.
- Record any error code shown in Windows Security.
- Press Win+F and report repeated Defender scan errors through Feedback Hub. Microsoft specifically recommends this when Defender continually encounters errors.^3^
- If malware is suspected, save all work and try Windows Security → Virus & threat protection → Scan options → Microsoft Defender Offline scan → Scan now. The computer will restart for this scan.^3^
For further diagnosis, provide the Windows version, the Windows Update error code, what happens when Scan now is selected, and whether another antivirus is listed under Manage providers.
References
- Scan an item with Windows Security | Microsoft Support
- Antivirus and antimalware software: FAQ | Microsoft Support
- Troubleshoot problems with detecting and removing malware | Microsoft Support
- [Windows 11](https://support.microsoft.com/windows/deployment/updates-lifecycle/troubleshoot-problems-updating-windows#most-common-windows-update-problems)
- Use the System File Checker tool to repair missing or corrupted system files | Microsoft Support