Fix KB5028166 failed to install with error in Windows 10 22H2

Methods to solve KB5028166 not installing issue with error 0x800f0922, 0x80073701, 0x800f081f, 0x80070bc9, 0x800f0845 or other in Windows 10 22H2.

KB5028166 failed to install

On July 11, 2023, Windows released the Patch Tuesday security update for various versions but unfortunately, several users have reported encountering errors that prevent them from receiving the packages. These issues may hinder the installation process, leaving users unable to benefit from the monthly patch. So, this post gives solutions to KB5028166 failed to install in Windows 10 with errors like 0x800f0922, 0x80073701, 0x800f081f, 0x80070bc9, 0x800f0845 and other.

If you are encountering error installing KB5028166 update, Microsoft update catalog provides an alternative method to resolve the issue. Furthermore, one option is to reset the Windows Update cache, which can help fix any potential problems with the process. Running the built-in troubleshooter can also help identify and resolve any underlying problems causing the error. See: Fix KB5027215 failed to install in Windows 10.

KB5028166 failed to install in Windows 10

Here is how to fix KB5028166 failed to install with error in Windows 10 22H2 –

Manually install using Microsoft Update Catalog

Are you aware that using the Microsoft Update Catalog and installing the KB5028166 update via the Standalone Package can potentially resolve this error? This method offers a straightforward approach to bypass any installation issues you may be facing.

By obtaining the update package directly from the Microsoft Update Catalog and installing it manually, you can overcome any obstacles that may have hindered the installation process.

This alternative technique provides a reliable way to ensure that the KB5028166 update is successfully installed on your system, allowing you to benefit from its enhancements and fixes without encountering the error.

  1. Visit the Microsoft Update Catalog webpage.
  2. Then click on the Download button for the file that is supported by your processor.
how to fix KB5028166 failed to install with error in Windows 10 22H2
  1. A popup page will appear, click the link located on it.
  2. After downloading is completed successfully,  double click on the file:


  1. Select Yes.

See: Fix Undoing changes made to your computer Error in Windows 11 22H2.

Run Windows Update Troubleshooter

By running the Windows Update Troubleshooter, you allow the tool to scan your system, identify any issues or errors like 0x800f081f, 0x80073701, 0x800f0845, 0x800f0922, 0x80070bc9 related to the KB5028166 update, and apply appropriate fixes.

  1. Right click on Start and select Settings.
  2. Select Troubleshoot in the Settings app.
  3. From the next page, click on “Other troubleshooters“.
  4. Locate Windows Update in the list and click on Run.
Settings System troubleshoot other troubleshooters windows update run
  1. The tool will diagnose and repair the system.
  2. Then, navigate to Settings > Windows Update > Check for updates.

Use Common Windows Update Troubleshooter on Windows 11, 10, 8.1, 7

Reset Windows Update database Cache

If you haven’t resolved the issue yet, it is recommended to clean the Windows update cache. This allows the update process to start fresh for a more successful installation.

Clearing these troublesome files provides a new foundation for the update, allowing your system to progress seamlessly without any lingering issues in Windows 10.

  1. Click on the file and unzip it.
  2. Browse the folder and find WuReset.bat.
  3. Then right-click on this batch file and choose Run as administrator.
  4. After that, press any key to continue.
  5. Wait for a while and at last, restart your device.

Use the SFC and DISM utility tools

To handle the KB5028166 issue effectively, it is advisable to use the SFC (System File Checker) and DISM (Deployment Image Servicing and Management) tools.

By leveraging the power of SFC and DISM, you can effectively troubleshoot and repair the underlying causes of the KB5028166 installation problem, increasing the chances of a successful update.

  1. Press Winkey on Start and type in cmd.exe.
  2. Click on Run as administrator.
  3. When UAC asks for permission, select Yes.
  4. Once Administrator: Command Prompt, type SFC /Scannow and hit Enter.
  5. Allow the scan, verification, and repair to finish and reboot the system.
  6. If the install error still persists, again open Administrator: Command Prompt.
  7. Then execute the below cmd commands sequentially:
dism /online /cleanup-image /checkhealth
dism /online /cleanup-image /scanhealth
dism /online /cleanup-image /restorehealth
fix KB5028166 failed to install
  1. Reboot the system after running the commands.

Read: Fix KB5028166 Trust relationship broken Error in Windows 10.

Uninstall Third-Party Antivirus program

With the ever-present risk of malicious attacks and the potential for sensitive data breaches, having reliable antivirus protection is essential if you want to install Windows updates successfully. Several third-party programs are available for this but unfortunately, they become a hindrance when you try to receive KB5028166.

  1. Right click on “Start” and select Run.
  2. Type appwiz.cpl and hit Enter.
  3. Locate the antivirus program.
  4. Then, click on the item to highlight it and select Uninstall.
  5. If any permission is asked for, click Yes.
  6. Go with any onscreen instructions until complete uninstallation and reboot the device.

Modify Windows update related Services

Another viable option to fix the “KB5028166 failed to install” with error 0x800f081f, 0x80073701, 0x800f0845, 0x800f0922, 0x80070bc9 or other in Windows 10 is by modifying the settings of the CryptSvc (Cryptographic Services), BITS (Background Intelligent Transfer Service), and Wuauserv (Windows Update) services. Incorrect settings or configurations of these services can lead to installation difficulties and obstruct the update process.

  1. Click on the Start button from the taskbar and type services.msc.
  2. Press enter.
  3. Look for Background Intelligent Transfer Service.
  4. Right-click on this BITS service and select Properties.
  5. Go to the Startup type area and choose Automatic from dropdown.
  6. Now, from the Service Status area, click on Start.
  7. At last, click Apply and OK to save the changes.
Modifying Background intelligent transfer service
  1. Replicate the steps with Cryptographic Service and Windows Update.

Fix the install error by running Disk Cleanup

Disk Cleanup is a built-in utility that allows you to free up disk space by removing unnecessary files, including temporary files and system files that may cause conflicts during the update process and generate error when installing KB5028166. Cleanmgr, also known as Disk Cleanup, is a helpful Windows tool designed to assist in the removal of redundant files from your system.

Removing them minimizes the chance of Windows update error:

  1. Click Search and type cleanmgr.exe.
  2. Hit Enter.
  3. Select (C:) from the small popup (we believe that this is installation drive for you) and click on OK.
  4. Click on Cleanup system files from the window that shows up.
  5. Once more select (C:) and press Enter.
  6. In the Files to delete field, check all the options then click OK.
  7. Then, select Delete Files from the confirmation dialog.
  8. In the end, Check for updates.

Windows 10 KB5028166 22H2 19045.3208 Update Rolled out

Modify DNS Settings

In certain special circumstances, incorrect or misconfigured DNS settings can interfere with the update process. By changing the IP addresses to Google domain, you can potentially resolve conflicts and establish a stable connection to the Microsoft update servers increasing the chances of a successful installation.

  1. Press Windows and R keys.
  2. Type ncpa.cpl, and click the OK button.
  3. Find the running connection, right click on it, and select properties.
  4. On the “Properties” wizard, check the option Internet Protocol version 4 (TCP/IPV4).
  5. Click on Properties.
  6. On the new window, check Use the following DNS server addresses.
  7. Enter for Preferred DNS server and for Alternate DNS server.
  8. Click OK.
KB5028166 error

Solve with Clean install

The last option you can consider to address the KB5028166 error is performing a clean install. A clean install involves re-installing the operating system from scratch, which can help resolve various installation issues and ensure a fresh and stable system environment.

  1. Navigate to this link:
  2. Move to Create Windows 10 installation media section.
  3. Click on the Download tool now button.
  4. Double-click on MediaCreationTool22H2.exe.
  5. Select the option that asks to Accept the terms and conditions.
  6. Then, click Upgrade this PC now.
  7. Select Next.
  8. Now click on Install.
  9. Finally, KB5028166 will be installed with the operating system itself.

We hope with these 9 ways you will definitely be able to fix the KB5028166 failed to install in your Windows 10.

Manually install using Microsoft Update Catalog
Run Windows Update Troubleshooter
Reset Windows Update database Cache
Use the SFC and DISM utility tools
Uninstall Third-Party Antivirus program
Modify Windows update related Services
Fix the install error by running Disk Cleanup
Modify DNS Settings
Solve with Clean install

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.