ACTIVE MALWARE WINDOWS TESTED: WINDOWS 10

How to fix
KB5022840 fails to install
on Windows

Resolve KB5022840 installation issues on Windows 10 quickly with our expert-tested solutions and clear instructions for seamless updates. Fixed in minutes!

How to fix KB5022840 fails to install in Windows 10?
Quick Summary
Error severity
Medium
Est. time
10 minutes
Offer Fortect PC Suite
Start fix →
Ad · we may earn a commission
0 Comments
01

What causes How to fix KB5022840 fails to install in Windows 10?

  • Incorrectly configured services
  • Bugged update file caches
  • Limited storage space
  • System file corruption
  • Unstable internet connections
Offer Fortect PC Suite

Repairs Windows system files, removes malware, and restores a clean OS state — without reinstalling.

Ad · we may earn a commission
Get Fortect PC Suite ↗

Hello, I have problems with installing the KB5022840 update on Windows 10. Every time I try to launch the update process, it stops at around 80% and fails. Any idea how to deal with this? Help is appreciated.

Regularly, new features, security updates, and bug fixes are released for the Windows operating system in the form of Windows updates. Keeping your computer secure and running smoothly requires these updates, so it's important to ensure that your system is up to date. Depending on your settings, Windows updates can either be installed automatically or manually.

Regardless of the setting, KB5022840 fails to install for some people. This was a routine Windows 10 update released along with  KB5022834 in February's Patch Tuesday. It incorporates multiple security improvements, vulnerability patches, as well as some bug fixes, for example, where searchindexer.exe would stop people from signing in or out.

It's not uncommon for users of the Windows operating system to experience issues with Windows updates. These issues can arise for various reasons, ranging from unstable internet connections to problems with Microsoft's servers. In most cases, these errors are temporary and resolved on their own. However, there are instances where the issue persists, and users cannot install updates, leading to significant problems.

If you are facing issues installing the KB5022840 update, there are several solutions that you can try. Some of the common issues include incorrectly configured services, bugged update file caches, limited storage space, system file corruption, and more.

To fix these problems, you can follow troubleshooting steps that are readily available. These steps can be carried out manually (you can check the step-by-step guide below) or with the help of automatic PC repair tools such as [d1], which are highly recommended for their convenience and effectiveness.

How to fix kb5022840 fails to install in windows
How to fix kb5022840 fails to install in windows

Solution 1. Run the troubleshooter

We recommend starting with a troubleshooter - a built-in Windows tool that can sometimes resolve most basic Windows issues.

  • Type in Troubleshoot in Windows search and hit Enter.
  • Go to Additional Troubleshooters.
  • Select Windows update and click Run the troubleshooter.
  • Wait till the scan is finished, and then apply the suggested fixes.
  • Restart your machine.

How to fix kb5022840 fails to install in windows 10 troubleshooter
How to fix kb5022840 fails to install in windows 10 troubleshooter

Solution 2. Clean storage to get more space

In some cases, KB5022840 fails to install due to a lack of space. If that's the case, you can use the following instructions to resolve this issue:

  • Type Disk Cleanup in Windows search and press Enter.
  • Select your main drive (C: by default).
  • Click Clean up system files and select your main drive again.
  • Select the largest sections you'd like to remove, for example, Temporary Internet Files, Windows Update Cleanup, Delivery, and Optimization Files
  • Click OK, and Windows will begin the disk cleanup process.

How to fix kb5022840 fails to install in windows 10 clean disk
How to fix kb5022840 fails to install in windows 10 clean disk

Solution 3. Disable or uninstall security software

Security software, such as antivirus and firewall applications, are designed to protect your computer from various threats, including malware, viruses, and cyberattacks. However, these software programs can sometimes interfere with the installation of Windows updates, leading to update failures.

One of the reasons security software can cause Windows update failures is by blocking certain update files or processes that it deems suspicious or potentially harmful. Security software can sometimes conflict with the Windows update process, leading to errors and failures.

In such cases, temporarily disabling or uninstalling the security software can help resolve Windows update failures. By doing so, you can eliminate any conflicts or blocking actions hindering the update process.

Solution 4. Check for file corruption

  • Type cmd in Windows search.
  • Right-click on the Command Prompt result and pick Run as administrator.
  • User Account Control will ask whether it can make changes, click Yes.
  • Next, copy and paste the following command and hit Enter:
    sfc /scannow
  • Once done, run the these commands as well:
    dism /online /cleanup-image /scanhealth
    dism /online /cleanup-image /checkhealth
    dism /online /cleanup-image /restorehealth
  • Restart your PC.

How to fix kb5022840 fails to install in windows 10 sfc dism
How to fix kb5022840 fails to install in windows 10 sfc dism

Solution 5. Check services

In order for updates to succeed, certain Windows services need to be running. If they aren't, you can enable them. In another case, you can restart them and see if that helps.

  • TypeServices in Windows search and hit Enter.
  • Scroll down to locate Background Intelligent Transfer Service (BITS).
  • If it is already running, right-click and pick Restart.
  • if the service is not running, double-click it, and select Automatic under the Startup type from the drop-down menu.
  • Click Start, Apply, and OK.

How to fix kb5022840 fails to install in windows 10 check services
How to fix kb5022840 fails to install in windows 10 check services

Solution 6. Install the update manually

  • Open your browser and go to Microsoft Update Catalog.
  • Enter the KB5022840 number into the search box and click Search.
  • Here, find the correct version of the update for your operating system (to check this, right-click on Start and pick System. Under Device specifications and check the System type).
  • Click Download and proceed with the on-screen instructions.
  • Reboot the device once done.

How to fix kb5022840 fails to install in windows 10 install manually
How to fix kb5022840 fails to install in windows 10 install manually

Solution 7. Use Media Creation Tool

If none of the solutions worked, you can always rely on Windows Media Creation Tool.

  • Visit the official Microsoft website and download Windows 10 installation media.
  • Launch the installer.
  • Agree to the terms and click Next.
  • Select Upgrade this PC now and click Next.
  • Wait till Windows downloads all the necessary files.
  • Agree to terms once again and click Next.
  • Before installing, make sure that you are happy with your choices (otherwise, you can click Change what to keep option).
  • Finally, click Install to begin the upgrade process.

How to fix kb5022840 fails to install in windows 10 use media creation tool
How to fix kb5022840 fails to install in windows 10 use media creation tool

Bottom line

To fix the KB5022840 installation issue, you can run the Windows Update troubleshooter, check your storage space, and ensure system files are not corrupted. If these steps do not resolve the problem, consider using automatic PC repair tools or seeking further assistance.

Frequently asked questions

Try running the Windows Update Troubleshooter, which can help identify and fix issues preventing the installation of updates like KB5022840.

Yes, common error codes include 0x800f081f and 0x8007000d, which indicate problems with missing files or corrupted system components.

Yes, you can manually download the KB5022840 update from the Microsoft Update Catalog website and install it to bypass the Windows Update issues.

Did this fix work for you?
Lucia Danes

Written & verified by

Tech Support Specialist
Driver troubleshooting Hardware conflicts Device Manager errors USB and peripheral issues Audio and video problems

Lucia Danes is a tech support specialist focused on driver conflicts, hardware recognition failures, and device-level troubleshooting on Windows. Her guides walk users through the full diagnostic process — from reading Device Manager error codes and identifying problematic drivers to performing clean driver installations and resolving hardware compatibility issues. Lucia covers a wide range of devices including printers, audio hardware, graphics cards, USB peripherals, and external storage. Her writing is valued for its step-by-step precision and the real-world testing behind every recommended fix.

0 Comments

Be the first to comment

Still worried? Run a free check.

Paste any URL or domain — we'll scan it against 4.2M known threats in 10 seconds.

View full scanner → Add to your website →