KB890830 Failed With 0x80240034? Check If MSRT Is Actually Installed

Advertisement
Windows
Advertisement

Windows Update reported “Windows Malicious Software Removal Tool x64 - v5.147 (KB890830)” as failed with 0x80240034. On my PC the failure was logged on November’s Patch Tuesday, and three weeks later Windows still hadn’t tried it again. Stranger still, Settings’ Update history doesn’t list the November version at all, failed or not. October’s v5.146 looks like the latest one.

It turned out the tool had already been updated to the new version, and Windows Update listed it as installed. That’s why it never retries. The failure record is left over from a scan that stalled partway through, so in most cases you don’t need to do anything. The commands below confirm it in about a minute. If you also want that month’s scan to run, start the tool by hand once.

Settings Update history (Japanese UI): the newest MSRT entry is October v5.146; there is no v5.147 row
Update history in Settings (Japanese UI). The newest MSRT entry is October’s; there’s no row for November’s v5.147. Account details hidden.

Everything here comes from my own PC (Windows 11 Pro 26H2) in November and December 2026. None of the commands need admin rights. My Windows is in Japanese, so update titles in the output are in Japanese.

What KB890830 is (and how it differs from Defender)

KB890830 is the update number for Microsoft’s Malicious Software Removal Tool (MSRT). A new version arrives through Windows Update every month on Patch Tuesday. It runs one scan in the background and, if it finds nothing, exits without showing anything.

It isn’t an antivirus, and it doesn’t do the same job as Microsoft Defender:

MSRT (KB890830) Microsoft Defender
When it runs Once a month, when Windows Update delivers it All the time (real-time protection and scheduled scans)
What it looks for Specific prevalent malware families only Viruses and malware in general
If it fails You miss that month’s one-off scan Your PC’s protection is weaker

Microsoft’s support page says MSRT is “not a replacement for an antivirus product.” One failed MSRT run doesn’t leave your PC unprotected as long as Defender is running.

What 0x80240034 means

Microsoft Learn’s Windows Update error reference lists 0x80240034 as WU_E_DOWNLOAD_FAILED, “Update failed to download.” On my PC, though, the download had succeeded. A second code also turned up along the way:

Code Name Meaning (Microsoft Learn) Where I saw it
0x80240034 WU_E_DOWNLOAD_FAILED Update failed to download Windows Update history records (read with PowerShell)
0x80242007 WU_E_UH_INSTALLERHUNG The installer exceeded the time limit System event log

Check 1: which version failed, and when

Failures that don’t show up in Settings still appear when you read Windows Update’s own history records with PowerShell. Open PowerShell and paste this. It lists the latest 10 KB890830 entries, newest first.

$h = (New-Object -ComObject Microsoft.Update.Session).CreateUpdateSearcher()
$h.QueryHistory(0, $h.GetTotalHistoryCount()) | Where-Object Title -like '*KB890830*' | Select-Object -First 10 @{n='Date';e={$_.Date.ToLocalTime()}}, @{n='Result';e={@{1='InProgress';2='Succeeded';3='SucceededWithErrors';4='Failed';5='Aborted'}[[int]$_.ResultCode]}}, @{n='HResult';e={'0x{0:X8}' -f $_.HResult}}, Title | Format-Table -AutoSize -Wrap

On my PC, only November’s entry had failed (first five rows shown). On an English PC, the title reads “Windows Malicious Software Removal Tool x64 - v5.147 (KB890830)”.

Date                Result    HResult    Title
----                ------    -------    -----
2026/11/11 23:01:59 Failed    0x80240034 悪意のあるソフトウェアの削除ツール x64 - v5.147 (KB890830)
2026/10/14 8:44:07  Succeeded 0x00000000 悪意のあるソフトウェアの削除ツール x64 - v5.146 (KB890830)
2026/09/09 8:43:05  Succeeded 0x00000000 悪意のあるソフトウェアの削除ツール x64 - v5.145 (KB890830)
2026/08/12 17:49:42 Succeeded 0x00000000 悪意のあるソフトウェアの削除ツール x64 - v5.144 (KB890830)
2026/07/15 13:51:05 Succeeded 0x00000000 悪意のあるソフトウェアの削除ツール x64 - v5.143 (KB890830)

If there’s no later success for the same version, the records keep it as failed. Check 2 tells you whether it’s really missing.

Check 2: does Windows Update count it as installed?

This asks Windows Update which updates are installed. It checks online, so nothing appears for 10 to 25 seconds.

$s = (New-Object -ComObject Microsoft.Update.Session).CreateUpdateSearcher()
$s.Search("IsInstalled=1").Updates | Where-Object Title -like '*KB890830*' | Select-Object Title, IsInstalled
Title                                                      IsInstalled
-----                                                      -----------
悪意のあるソフトウェアの削除ツール x64 - v5.147 (KB890830)        True

The same v5.147 that failed in the history shows True here. Changing "IsInstalled=1" to "IsInstalled=0" on line 2 lists updates that are not installed yet, and KB890830 wasn’t there. From Windows Update’s point of view it’s installed, which is why it never retries.

Check 3: the version of MRT.exe

The tool itself is C:\Windows\System32\MRT.exe. This shows its version and when it was last replaced:

Get-Item C:\Windows\System32\MRT.exe | Select-Object @{n='Version';e={$_.VersionInfo.FileVersion}}, LastWriteTime

Mine was 5.147.26110.1001, written at 11:01:59 on November 11, 2026 (Japan time). If the first part (5.147) matches this month’s release, the tool has been updated. Microsoft’s KB890830 page (linked at the end) lists each month’s version; November 2026 was 5.147.

Check 4: did the scan finish? Read mrt.log

MSRT appends to C:\Windows\debug\mrt.log every time it runs. This one-liner pulls out only the start line and the exit code line of each run:

Select-String -Path C:\Windows\debug\mrt.log -Pattern 'Started On','Return code' | Select-Object -Last 8 | ForEach-Object Line
Return code: 0 (0x0)
Started On Wed Aug 12 17:45:39 2026
Return code: 0 (0x0)
Started On Wed Sep  9 08:37:32 2026
Return code: 0 (0x0)
Started On Wed Oct 14 08:39:33 2026
Return code: 0 (0x0)
Started On Wed Nov 11 11:02:02 2026

A normal run is “Started On” followed by “Return code: 0”. Mine ends on “Started On”, so November’s scan started and never finished. To see the full entries, show the last 30 lines:

Get-Content C:\Windows\debug\mrt.log -Tail 30

October’s run has “No infection found.” and a finish time. November’s stops at “Run Mode: Scan Run From Windows Update”.

What happened on my PC

Putting the event log next to mrt.log gives this timeline (Japan time):

Time Event Where it’s recorded
Nov 11 11:01:54 v5.147 downloaded; install started WindowsUpdateClient event log
Nov 11 11:01:59 MRT.exe replaced with 5.147 File timestamp
Nov 11 11:02:02 Scan started (no finish line after this) mrt.log
Nov 11 23:01:59 Failed, 0x80240034 Windows Update history records (not shown in Settings)
Nov 12 03:01:57 Installation failure, 0x80242007 System event log

From August to October, each run took 4 to 5.5 minutes from start to finish. In November the scan just kept going, and 16 hours later Windows Update gave up on it as a timeout (0x80242007). The update history’s 0x80240034 says the download failed, but the logs show the download completed at 11:01:54. Nothing in the logs says why the scan stalled.

KB5132061, November’s cumulative update, also hit 0x80240034 once at 11:01 that day. Windows Update tried it again by itself, and it went through at 19:12. MSRT had the same one-off 0x80240034 in February 2025, which cleared that evening (those event logs no longer exist).

This shows the failure entry in the System event log:

Get-WinEvent -FilterHashtable @{LogName='System'; ProviderName='Microsoft-Windows-WindowsUpdateClient'; Id=20} -MaxEvents 20 | Where-Object Message -like '*KB890830*' | Format-List TimeCreated, Message
TimeCreated : 2026/11/12 3:01:57
Message     : Installation Failure: Windows failed to install the following update with error 0x80242007: 悪意のあるソフトウェアの削除ツール x64 - v5.147 (KB890830).

What to do, based on what you found

Check 2 Check 4 What to do
True (installed) Last line is Return code: 0 Nothing. The failure stays in the records, but the tool ran
True (installed) Last line is Started On This was my case. The tool is up to date, and next month’s version will scan again on its own. To run this month’s scan now, run mrt from an administrator account (see below)
Not listed (shows up under IsInstalled=0) - It really isn’t installed. Restart and check for updates again. If it still fails, try the reset steps in Windows Update Stuck at 99%? Check, Reset, and Fix It

To run MSRT by hand, press Windows+R, type the line below in the Run box, then press Enter. Microsoft’s support page says to run it from an account in the Administrators group. /N is detect-only mode (it reports malware but doesn’t remove it), and /Q hides the window. The result goes into the same mrt.log.

mrt /N /Q

Plain mrt with no switches opens the tool’s window, where you pick the scan type.

Things that tripped me up

Problem What I did
QueryHistory returns Date in UTC, so my failure showed up 9 hours off Check 1 converts it with ToLocalTime(). The result matched the finish times in mrt.log
Settings’ Update history showed no row at all for November’s version Reading the history records in PowerShell showed the failure (Check 1)
Same failure, different codes: 0x80240034 in the history records, 0x80242007 in the event log, four hours apart Either one alone points you the wrong way. Side by side, they showed the scan stalled; the download was fine
The Version value under HKLM\SOFTWARE\Microsoft\RemovalTools\MRT is a GUID, not a version number Use the file version of MRT.exe (Check 3)

Summary

  • KB890830 failing with 0x80240034 doesn’t always mean MSRT isn’t installed. On my PC, MRT.exe was already the new version and Windows Update counted it as installed
  • Check 2 tells you whether it’s installed, Check 3 shows the tool’s version, and Check 4 (mrt.log) shows whether the scan finished
  • It never retries because it’s already installed. Next month’s release scans again on its own

Sources

Comments

Copied title and URL