How to fix KB5022840 fails to install in Windows 10?

Issue: 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.

Solved Answer

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 FortectMac Washing Machine X9, which are highly recommended for their convenience and effectiveness.

How to fix KB5022840 fails to install in Windows 10?

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.


Solution 2. Clean storage to get more space

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect Mac Washing Machine X9.

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.

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

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect Mac Washing Machine X9.
  • 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.


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.


Solution 6. Install the update manually

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect Mac Washing Machine X9.
  • 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.

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.

Media Creation Tool

Repair your Errors automatically team is trying to do its best to help users find the best solutions for eliminating their errors. If you don't want to struggle with manual repair techniques, please use the automatic software. All recommended products have been tested and approved by our professionals. Tools that you can use to fix your error are listed bellow:

do it now!
Download Fix
do it now!
Download Fix
Compatible with Microsoft Windows Compatible with OS X
Still having problems?
If you failed to fix your error using FortectMac Washing Machine X9, reach our support team for help. Please, let us know all details that you think we should know about your problem.
Fortect - a patented specialized Windows repair program. It will diagnose your damaged PC. It will scan all System Files, DLLs and Registry Keys that have been damaged by security threats.Mac Washing Machine X9 - a patented specialized Mac OS X repair program. It will diagnose your damaged computer. It will scan all System Files and Registry Keys that have been damaged by security threats.
This patented repair process uses a database of 25 million components that can replace any damaged or missing file on user's computer.
To repair damaged system, you have to purchase the licensed version of Fortect malware removal tool.To repair damaged system, you have to purchase the licensed version of Mac Washing Machine X9 malware removal tool.

Access geo-restricted video content with a VPN

Private Internet Access is a VPN that can prevent your Internet Service Provider, the government, and third-parties from tracking your online and allow you to stay completely anonymous. The software provides dedicated servers for torrenting and streaming, ensuring optimal performance and not slowing you down. You can also bypass geo-restrictions and view such services as Netflix, BBC, Disney+, and other popular streaming services without limitations, regardless of where you are.

Don’t pay ransomware authors – use alternative data recovery options

Malware attacks, particularly ransomware, are by far the biggest danger to your pictures, videos, work, or school files. Since cybercriminals use a robust encryption algorithm to lock data, it can no longer be used until a ransom in bitcoin is paid. Instead of paying hackers, you should first try to use alternative recovery methods that could help you to retrieve at least some portion of the lost data. Otherwise, you could also lose your money, along with the files. One of the best tools that could restore at least some of the encrypted files –  Data Recovery Pro.

About the author
Gabriel E. Hall
Gabriel E. Hall - Passionate computer expert

Gabriel E. Hall is an expert troubleshooter who has been working in the information technology industry for years.

Contact Gabriel E. Hall
About the company Esolutions

What you can add more about the problem: "How to fix KB5022840 fails to install in Windows 10?"