Fix: Windows Update KB5022834 and KB5022840 Failed to Install on Windows 10

Microsoft Windows 10 operating system has received another Update KB5022834 and KB5022840 in their 20H2, 21H1, 21H2 and 22H2 versions. But few users complain that they are unable to install the same updates on their system despite multiple attempts.

The Update KB5022834 is unavoidable as it brings many security fixes and improvements. The update also brings a few changes to the system settings to improve the operating experience for users.

If you are also having trouble installing the same update then you are at the right place. Here we have listed a few solutions which will help you to troubleshoot Windows Update KB5022834 and KB5022840 installation issues on Windows 10. Have a look

Fix 1: Restart the System

The first attempt to fix Windows Update KB5022834 and KB5022840 not installing in Windows 10 is to restart the system. This process will help eliminate minor glitches in the system and prepare the system to run smoothly. 

Fix 2: Run Update Troubleshooter

Another solution you can try is to run the Windows Update troubleshooter. To do so, 

  • Open Settings menu->choose the Update & Security->Troubleshooter->click on Additional Troubleshooter from the right side-> Windows Update and click on Run the Troubleshooter tab.
  • Once done, restart the system, and you will be able to install the latest update. 

Fix 3: Install Update Assistant

Sometimes installing Windows 10 Update Assistant will help you to install Windows Update KB5022834 and KB5022840 on your system. To do so, 

  • Open Windows 10 Update Assistant-> go to the Update Assistant section and click on the Update now
Windows 10 Update Assistant
  • Once the process gets completed, retry to install the latest update. 

Fix 4: Install Media Creation

If the above fix does not help, you then you can install Windows 10 Media Creation tool. To do so, 

  • Open Windows 10 Media Creation web page-> go to Create Windows 10 Installation Media-> click on the Download tool now button.
Windows 10 Media Creation Tool
  • Once the process gets completed, retry to install the problematic update. 

Fix 5: Reset Windows Update Component

In some cases, resetting the Reset Windows Update Component will enable the system to install the Update KB5022834 and KB5022840 smoothly. To do so, 

  • Open the Command Prompt box by typing cmd in your desktop search box and open with admin access.
  • Then you should type the below-given commands and press Enter

SC config trustedinstaller start=auto

 net stop bits

 net stop wuauserv

 net stop msiserver

 net stop cryptsvc

 net stop appidsvc

Ren %Systemroot%\SoftwareDistribution SoftwareDistribution.old

Ren %Systemroot%\System32\catroot2 catroot2.old

regsvr32.exe /s atl.dll

regsvr32.exe /s urlmon.dl

regsvr32.exe /s mshtml.dll

 netsh winsock reset

 netsh winsock reset proxy

 rundll32.exe pnpclean.dll,RunDLL_PnpClean /DRIVERS /MAXCLEAN

 dism /Online /Cleanup-image /ScanHealth

 dism /Online /Cleanup-image /CheckHealth

 dism /Online /Cleanup-image /RestoreHealth

 dism /Online /Cleanup-image /StartComponentCleanup

 Sfc /ScanNow

net start bits

 net start wuauserv

 net start msiserver

 net start cryptsvc

 net start appidsvc

  • Once done, restart the system and check you can install the latest update. 

Fix 6: Delete SoftwareDistribution Folder Files

If you are having trouble installing the Update KB5022834 and KB5022840 on your system, then you need to delete the SoftwareDistribution folder from your system. To do so, 

  • Open the Services window by typing “services” in the search box and choose the top result.
  • Then choose Windows Update from the list. Right-click on it and choose Stop from the sub-menu. 
  • Now open Windows Explorer-> select C:\Windows-> SoftwareDistribution and delete all the files from the folder. 
  • Once done, you can try again to install the latest update smoothly. 

Fix 7: Disable Antivirus 

If you are unable to install Update KB5022834 and KB5022840 on your system, then you should temporarily disable your antivirus program and retry to install the latest update. Sometimes third-party antivirus tools unnecessarily interfere with system performance and lead to similar problems.

Fix 8: Use Microsoft Update Catalog

If all other options failed in your case, then you should manually install the Update KB5022834 and KB5022840 on your Windows 10 using Microsoft Update Catalog. To do so, 

  • Open the Microsoft Update Catalog page-> type Update KB5022834 or KB5022840 in the search box and download the suitable file from the next screen. 
  • Once done, install the download file on your system and see the issue resolved for you. 

These are the quick solutions you can try to troubleshoot if you fail to install Update KB5022834 and KB5022840 on Windows 10. Also, you need to check your internet connection to make sure it is working properly without interruptions.