sodcalculator

10 Tech How-To

KB5012170 Fails to Install in Windows 11

Guide 10-59613 · Updated · Step by step

Yes, KB5012170 can fail to install on Windows 11, and the failure usually appears as error 0x800f0922 during Windows Update. This update is a Secure Boot DBX update, not a typical cumulative update, and it fails most often because the device’s Secure Boot or UEFI firmware is outdated or misconfigured. Below are the specific causes and step-by-step fixes that resolve the majority of these failures.

What Is KB5012170 and Why Does It Matter?

KB5012170 is a security update for the Secure Boot DBX (deny list) on Windows 10 and Windows 11. It adds known-vulnerable UEFI boot managers to the UEFI revocation list, preventing them from loading during the boot process. This is part of Microsoft’s effort to block bootkits—malware that infects the firmware before Windows starts.

The update is small (a few megabytes) but critical. It does not show up in the standard “Updates installed” list the way monthly cumulative updates do. Instead, it is classified as a “Security Update” and may appear as a separate entry. Because it touches firmware, it has stricter installation requirements than ordinary patches.

Why KB5012170 Fails: The Main Causes

Error 0x800f0922 is the most common failure code, but other codes like 0x800f0984 or 0x80070005 can also appear. The underlying causes fall into five categories:

  • Outdated UEFI firmware: The update requires a minimum firmware version that supports the latest revocation list. Older firmware may reject the update.
  • Secure Boot disabled: If Secure Boot is turned off in the UEFI settings, the update cannot apply because the DBX database is not active.
  • Corrupt Secure Boot variables: The UEFI variables that store the DBX list can become corrupted, preventing the update from writing new entries.
  • Third-party security software: Some antivirus or endpoint protection tools interfere with UEFI updates, blocking the installation.
  • Pending firmware updates: If the system has a pending UEFI update from the manufacturer, it must be applied first.

Step-by-Step Fixes to Try First

Before attempting advanced repairs, try these fixes in order. They resolve the issue in most cases.

  1. Run Windows Update again. Sometimes the update fails due to a temporary glitch. Restart the PC and check for updates again.
  2. Install the latest UEFI firmware. Visit your PC manufacturer’s support website, download the latest BIOS/UEFI update, and install it. After updating firmware, restart and retry KB5012170.
  3. Verify Secure Boot is enabled. Restart the PC, enter UEFI settings (usually by pressing F2, F10, or Del during boot), and ensure Secure Boot is set to “Enabled” (not “Disabled” or “Setup Mode”). Save changes and boot back into Windows.
  4. Run the Windows Update troubleshooter. Go to Settings > System > Troubleshoot > Other troubleshooters, run “Windows Update,” and follow the prompts.
  5. Check for pending firmware updates in Windows Update. Some manufacturers ship firmware updates through Windows Update. Look under “Optional updates” and install any firmware updates listed there.

If the Update Still Fails: Manual Installation

If the automatic process fails, you can download and install the update manually. This bypasses some Windows Update quirks.

  1. Go to the Microsoft Update Catalog.
  2. Search for “KB5012170” and download the version that matches your system architecture (x64 or ARM64).
  3. Double-click the downloaded .msu file and follow the prompts. If the installer asks for a restart, do so.
  4. If the manual install also fails, try running the installer in a clean boot state (disable non-Microsoft services and startup items) to rule out interference from third-party software.

Advanced Repair: Reset Secure Boot Keys

If the update still fails, the Secure Boot key database may be corrupted. Resetting it to factory defaults can fix this. This is safe on most systems, but it will remove any custom keys you’ve added (e.g., for Linux dual-boot).

  1. Restart and enter UEFI settings.
  2. Find the Secure Boot section (often under “Boot” or “Security”).
  3. Look for an option like “Restore Factory Keys,” “Reset Secure Boot Keys,” or “Restore Default Secure Boot Keys.”
  4. Select it, confirm, save changes, and restart.
  5. Boot into Windows and retry the update.

If you use dual-boot with Linux, you may need to re-enroll your custom keys after the reset.

Common Mistakes and Misconceptions

Many users assume the update is unnecessary or that disabling Secure Boot is a harmless workaround. Neither is true.

  • Disabling Secure Boot is not a fix. It only hides the problem and leaves your system more vulnerable to bootkits. The update will continue to fail until Secure Boot is re-enabled.
  • Uninstalling the update is not possible. KB5012170 is a security update; it does not appear in the “Uninstall updates” list. You cannot remove it once installed.
  • It’s not a driver issue. The update is not a driver, so updating drivers will not help. The failure is almost always firmware or Secure Boot related.
  • It’s not a Windows 11-specific bug. The same update is offered on Windows 10 and fails there too. The causes and fixes are identical.

Frequently Asked Questions

Is KB5012170 safe to install?

Yes, it is a legitimate Microsoft security update. It only adds a list of known-vulnerable boot managers to the UEFI revocation list. It does not change system performance or features.

Why does it keep showing up in Windows Update after I installed it?

If the update is listed as installed but still appears as offered, it means the installation was not fully recorded. Check the update history (Settings > Windows Update > Update history) to see if it failed. If it succeeded, the offer should disappear after a few days. If it persists, run the System File Checker (sfc /scannow) to repair system files.

Can I skip this update?

You can delay it, but it’s not recommended. The update patches a security vulnerability that is actively exploited by some malware. If you skip it, your system remains at risk. If you cannot install it, contact your PC manufacturer for firmware support.

Will this update affect my Linux dual-boot?

It can. The update adds Microsoft’s keys to the DBX list, which may block certain Linux bootloaders that are on the revocation list. If you use a mainstream Linux distribution with a recent bootloader, it should be fine. If you use an older or custom bootloader, you may need to update it before installing KB5012170.

How long does the installation take?

The actual installation takes about 2-5 minutes, but the required restart can take longer because the firmware processes the new DBX entries. Do not interrupt the restart.

What if none of these fixes work?

If the update still fails after trying all steps, the issue may be a hardware-level problem with the UEFI firmware. Contact your PC manufacturer’s support. They may provide a firmware update that specifically addresses the DBX update failure. Do not attempt to modify the UEFI variables manually unless you are an advanced user and have a backup of your system.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →