How to fix KB5021255 fails to install in Windows 11?

Question

Issue: How to fix KB5021255 fails to install in Windows 11?

Hello everyone. I have an issue with the latest updates – KB5021255 fails to install on Windows every time I try. I rebooted the system but to no avail. Are there any tips you could provide me, please?

Solved Answer

Windows updates are among the most important things to maintain on your operating system if you want to keep it secure and stable. They address plenty of security vulnerabilities,[1] improve performance, fix bugs, and provide a lot of other benefits for users. Usually, the updates are shipped on every second (or sometimes third) Tuesday of the month, known as a Patch Tuesday.

On December 13, 2022, Microsoft released the KB5021255 cumulative update (build 22621.963) for Windows 11 versions 21H2 and 22H2.[2] It includes plenty of security vulnerability fixes and addresses twenty-nine bugs and performance issues. As usual, many people were looking forward to installing the update, but unfortunately, not everyone was able to do so because the update simply failed.

Unfortunately, KB5021255 is not the only update that users can't install – we have already talked about plenty of others, including KB5019157, KB5021866, KB5020035, and many others. While some people receive an error code just before the update process finishes, others claim that there is no indication of any code present, and Windows says it will try again later, which does not resolve the issue.

Update failures can be caused by a variety of factors, including network issues, power outages, incorrectly configured services, system file corruption, and others. When a windows update fails, you may see error messages or experience problems with your system, such as it crashing or running slowly. It is important to address update failures as soon as possible to avoid further issues with your computer.

How to fix KB5021255 fails to install in Windows 11?

Even if you see no significant issues related to KB5021255 failing to install, you should resolve the matter sooner rather than later, as there could be underlying issues on your system. ReimageMac Washing Machine X9 is a great tool to check for such inconsistencies and remediate those related to the system problems automatically for you. Alternatively,

Method 1. Ensure BITS and Windows updates services are running

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Reimage Reimage.

For Windows updates to go through smoothly, certain services need to be running in the background. If related services are already running, you should benefit from restarting them:

  • In Windows Start search, type in Services and press Enter
  • When the new window opens, scroll down a bit to find Background Intelligent Transfer Service (BITS)
  • If the service is already running, right-click and select Restart
  • Otherwise, double-click the service and select Automatic under the Startup type
  • Click Start, Apply, and OK
  • Do the same with the Windows update service.

(Re)start services

Method 2. Run SFC and DISM

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Reimage Reimage.

System file corruption can be addressed by running certain commands via an elevated Command Prompt. Follow these steps:

  • Type cmd in Windows search
  • Right-click on Command Prompt and pick Run as administrator
  • User Account Control will ask whether you allow it to make changes – click Yes
  • Use the following command lines, pressing Enter after each:
    sfc /scannow
    DISM /Online /Cleanup-Image /CheckHealth
    DISM /Online /Cleanup-Image /ScanHealth
    DISM /Online /Cleanup-Image /RestoreHealth
  • Restart your device.

SFC and DISM

Method 3. Run Windows Update Troubleshooter

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Reimage Reimage.

Windows troubleshooters are excellent tools when dealing with various issues, as they can detect problems and resolve them automatically in some cases.

  • In Windows search, type in troubleshoot and press Enter (you can also go to Start > Settings > System > Troubleshoot)
  • Pick Other troubleshooters
  • From the list, locate Windows Update
  • Click Run
  • Apply the suggested fixes and restart your device.

Windows Update Troubleshooter

Method 4. Disable anti-malware from third parties

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Reimage Reimage.

Having robust security software running on the system at all times is not only recommended but mandatory for any user who does not want their systems to be affected by dangerous malware such as ransomware. There is plenty of choices when it comes to security apps, and while some users are happy with the performance of Microsoft Defender, others opt for more comprehensive protection with third-party tools.

Unfortunately, some of such apps might cause issues, as they operate on the kernel[3] level and have the highest permissions available. This can cause them to clash with Windows components and sometimes even prevent Windows updates from going through. Usually, such issues are resolved by the software provider with a patch, although it may take some time, so we recommend temporarily disabling the security tool if you have one and trying to update Windows again.

Method 5. Reset Windows Update components

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Reimage Reimage.
  • Open Command Prompt as administrator again
  • In the new window, copy and paste each of these commands, pressing Enter every time:
    net stop bits
    net stop wuauserv
    net stop appidsvc
    net stop cryptsvc
    Del “%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\*.*”
    rmdir %systemroot%\SoftwareDistribution /S /Q
    rmdir %systemroot%\system32\catroot2 /S /Q
    regsvr32.exe /s atl.dll
    regsvr32.exe /s urlmon.dll
    regsvr32.exe /s mshtml.dll
    netsh winsock reset
    netsh winsock reset proxy
    net start bits
    net start wuauserv
    net start appidsvc
    net start cryptsvc
  • Restart your device and try updating again.

Reset Windows Update components

Method 6. Install manually

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Reimage Reimage.
  • Go to Microsoft Update Catalog
  • Here, type in KB5021255 and click Search or hit Enter
  • Pick the version that is compatible with your operating system (ignore updates for the server) and click Download
  • Follow the on-screen instructions and restart your computer.

Install manually

Method 7. Use Media Creation Tool

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Reimage Reimage.

You can try using a special Windows tool to download and install the latest version of the OS.

  • Visit the official Microsoft website and download the Windows installation media
  • Double-click the installer and click Yes when prompted
  • Agree to the terms and click Next
  • Select Upgrade this PC now > Next
  • Windows will now download all the necessary files – wait till it is finished
  • 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)
  • Click Install to begin the upgrade process.

Upgrade with Media Creation Tool

Repair your Errors automatically

ugetfix.com 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:

Offer
do it now!
Download Fix
  Happiness
Guarantee
do it now!
Download Fix
  Happiness
Guarantee
Compatible with Microsoft Windows Compatible with OS X
Still having problems?
If you failed to fix your error using Reimage, reach our support team for help. Please, let us know all details that you think we should know about your problem.
Reimage - 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.Reimage - 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 Reimage malware removal tool.

Prevent websites, ISP, and other parties from tracking you

To stay completely anonymous and prevent the ISP and the government from spying on you, you should employ Private Internet Access VPN. It will allow you to connect to the internet while being completely anonymous by encrypting all information, prevent trackers, ads, as well as malicious content. Most importantly, you will stop the illegal surveillance activities that NSA and other governmental institutions are performing behind your back.

 

Recover your lost files quickly

Unforeseen circumstances can happen at any time while using the computer: it can turn off due to a power cut, a Blue Screen of Death (BSoD) can occur, or random Windows updates can the machine when you went away for a few minutes. As a result, your schoolwork, important documents, and other data might be lost. To recover lost files, you can use Data Recovery Pro – it searches through copies of files that are still available on your hard drive and retrieves them quickly.

 

About the author
Jake Doe
Jake Doe - Computer technology geek

Jake Doe is the news editor at UGetFix. Since he met Ugnius Kiguolis in 2003, they both launched several projects that spread awareness about cybercrimes, malware, and other computer-related problems.

Contact Jake Doe
About the company Esolutions

References

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