Fix KB5021255 Failed to install with Error in Windows 11 22H2

7 ways to solve KB5021255 failed to install with error code like 0x80070002, 0x800f0988, 0x800f081f, etc. in Windows 11 22H2.

KB5021255 Failed to install

Are you frequently trying to receive the December 2022 patch Tuesday update for Windows 11 22H2 and failing everytime? Like you several users are facing KB5021255 failed to install KB5021255 and getting error codes 0x80070002, 0x800f0900, 0x800f0988, 0x800f0831, 0x800f081f, or other.

As this latest update includes various security enhancements and bug fixes your computer might be deprived of them due to this mishap. KB5021255 might also be stuck at a certain percentage of installation so the problem deepens even more. No worry, follow the methods to solve this update failed issue in the most possible easier way.

KB5021255 Failed to install with Error in Windows 11

Here is how to fix KB5021255 Failed to install with Error in Windows 11 –

Way-1: Make sure that internet connection is working rightly

First thing first, it seems worth neglecting but the connection to network has a big role in installing a Windows update. Hence, make sure that the internet is working perfectly on your laptop/desktop when trying to install this or other security patch.

You can restart the router and reset network if experiencing the update issues.

To restart router,

  1. Power off the router (modem) and stay for at least 10 seconds then switch on the device.
  2. Connect to the internet and ensure that it is working fine now.

To reset network,

  1. Press Windows and I keys.
  2. Select – Network & internet.
  3. Click on “Advanced network settings”.
  4. Go to the More section.
  5. Next, click on Reset now.
How to Fix KB5021255 Failed to install with Error in Windows 11

Way-2: Manually install KB5021255

To fix KB5021255 0x800f0900, 0x80070002, 0x800f081f, 0x800f0831 or any error with failed installation of in Windows 11 manually installing the update can help you.

Windows 11/10 allows you to install a patch or build manually without any hassle using Standalone package hosted on Microsoft update catalog. So, to bypass the install error:

  1. Search “Microsoft update catalog” in a browser.
  2. Go to the website from the result.
  3. Find KB5021255 file compatible with your computer.
  4. Click on Download and select the solitary link lying on the popup page.
Manually install december security patch on Windows in 11
  1. Once the update is downloaded, double click on the .MSU file from your computer.
  2. Verify the process by clicking on Yes.

Way-3: Use Windows Update Troubleshooter

KB5021255 0x80070002, 0x800f0831, 0x800f081f, or other error codes can be fixed by running the built-in Windows Update Troubleshooter.

This utility will repair the incorrect services configurations and corruption in the database to fix the problem –

  1. Click on the search.
  2. Type troubleshoot and press Enter.
  3. On the Settings app, click on – Other troubleshooters.
  4. Go to Windows update and click on Run.
Fix KB5021255 Failed to install
  1. If any issues are detected, the utility will automatically resolve them or suggest you follow some guidelines.
  2. In the end, reboot your system and check for updates again.

Way-4: Try Resetting Windows Update database cache

KB5021255 is unable to install error mostly occurs when services associated with WUA  stop functioning properly. This issue prevents the Windows update agent from scanning your device to inform the server about whether it is worth getting a delivered update. Furthermore, there may be a problem with the update cache or other components causing the representation of the error code.

Fortunately, you can reset the Windows Update database cache which is sufficiently efficient to resolve the problem –

  1. Hi t – Windows+Q.
  2. Type – cmd.
  3. Press the Ctrl+Shift+Enter keys.
  4. Click on Yes when a dialog box appears.
  5. Halt services related to Windows Update delivery and installation such as “Background Intelligent Transfer Service” and “Cryptographic service” by typing each of the following commands one line at a time followed by pressing Enter:
net stop bits
net stop wuauserv
net stop appidsvc
net stop cryptsvc
Reset Windows Update database cache to solve the install error
  1. Launch File Explorer and paste the location C:\Windows\SoftwareDistribution\Download into the address bar.
  2. Press – Enter.
  3. Select all the items in the folder and then press the Del key.
  4. Restart the system and again open elevated command prompt following the steps given in the beginning.
  5. Enter the below cmd commands –
net start bits
net start wuauserv
net start appidsvc
net start cryptsvc
  1. Now go to the Windows update settings and click on – “Check for updates”.

Alternatively, you can reset the cache using a bat file in Reset_Windows_11_update.

  1. Download it and extract this file.
  2. Browse the folders and reach – WuReset.bat.
  3. Right-click on the file and select Run as administrator.
  4. Command prompt will open and ask you to press any key. This process will stop the services, flush network resolver cache, delete the cache, reset Winsock and then start the services automatically., Wait for some time and restart the device in the end.
  5. Now Check for updates once more.

See – How to Reset Windows Update to Default in Windows 10.

Way-5: Run DISM CheckHealth, ScanHealth, RestoreHealth, and SFC Scan command line tools

KB5021255 Failed to install might also happen when corruption in the system elements that can start after threats, vulnerabilities, or conflicts between programs, and other.

Therefore, when you encounter failed Windows update with the aforementioned errors you might have to go with the steps:

  1. Click on – Start.
  2. Type – cmd.
  3. Select the – Run as Administrator.
  4. Choose Yes on User account popup prompt.
  5. Next, Type – sfc /scannow and then press the Enter key.
  6. Once the tool finishes the process of system files checking and shows 100% completed, restart the PC.
  7. See the error by going to Settings > Windows update and clicking on “Check for updates”.
  8. In case, it still persists, run the following cmd command-lines and press Enter to recover .wim files.

DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth

Run DISM CheckHealth, ScanHealth, RestoreHealth, and SFC Scan command line tools
  1. In the end, reboot the PC and try to receive any outstanding updates.

Way-6: Experiment different Alternate and Preferred DNS

Several people share that modifying the DNS and shifting it to Google DNS helped them resolve KB5021255 failed to install problem. Accomplish this method –

  1. Click on Search type ncpa.cpl.
  2. Press Enter to access Control Panel\All Control Panel Items\Network Connections window.
  3. Find the working adapter and then right-click on it.
  4. Select – Properties.
  5. Highlight  Internet Protocol version 4 (TCP/IPv4).
  6. Click on “Properties”.
  7. In the Window, put in 8.8.8.8 for the Preferred DNS server and 8.8.4.4 for the Alternate DNS server.
  8. Click OK to save your changes and restart your computer.
KB5021255 Failed to install with Error in Windows 11

Get hep for the modification – How to Change DNS Server Address in Windows 11 (4 Methods).

Way-7: Perform In-place upgrade

This is the ultimate solution to the errors occurring during installing December 2022 security update KB5021255. Follow –

  1. Go to the page – https://www.microsoft.com/en-in/software-download/windows11.
  2. Move down to the last to find “Download Windows 11 Disk Image (ISO)”.
  3. Click on the drop-down showing – “Windows 11 (multi-edition ISO)”.
  4. Choose the Download option.
  5. Opt for a product language using the drop-down there.
  6. Click – Confirm.
  7. Now select “64-bit Download” (It may be ARM64 on your computer).
  8. Right-click on the file named Win11_22H2_Language_x64v1.iso (in my case) and select Mount.
  9. From the new folder, double-click on setup.exe.
  10. Select ‘Yes’ on UAC to allow.
  11. Once you come across the Install Windows 11 wizard; click Next.
  12. On the license agreement; select Accept.
  13. The System will scan for free space and show Ready to install page.
  14. Mark – Keep personal files and apps.
  15. Click on – Install.

We hope the ways listed above would have assisted in resolving KB5021255 failed to install error in Windows 11.

Methods:
Way-1: Make sure that internet connection is working rightly
Way-2: Manually install KB5021255
Way-3: Use Windows Update Troubleshooter
Way-4: Try Resetting Windows Update database cache
Way-5:Way-5: Run DISM CheckHealth, ScanHealth, RestoreHealth, and SFC Scan command line tools
Way-6: Experiment different Alternate and Preferred DNS
Way-7: Perform In-place upgrade

That’s all!!

Sharing is caring    Share Whatsapp

 
Topics:  Windows
  
About Sunita
Love to play with Windows 11 and 10. Suggestion - Going for Registry change or system files edit then remember to take a backup or create a restore point before Starting.