Fix Windows update error 0x800f0845 [Solved!]

10 ways to solve 0x800f0845 Windows 10 update error.

0x800f0845

While installing the cumulative update or any other pending patch, the system often comes up with certain error codes that hinder the installation process. This context describes the ways to repair 0x800f0845. During this issue, the update process starts normally, the error may prompt once you restart the PC. The code does not always obstruct the updating procedure, sometimes, it also forces Windows 10 to boot in a loop too.

Generally, the system gives rise to update errors due to corrupted components, damaged drivers, and deficient services. There can be other reasons too, such as software conflict, faulty update files, and enabled security suite. Since it is unknown what actually triggers error 0x800f0845 on Windows 10, you might need to try out different resolutions to fix the issue.

0x800f0845 Solutions

Here is how to fix Windows update error 0x800f0845 –

1] Run Windows Update troubleshooter

Whenever you conflict with an error while trying to install a feature update or LCU on Windows 10, the built-in troubleshooter comes first to try out before any other advanced workaround. The utility scans the system to find out the reason for disturbing Windows when installing the update. After detection of the abnormalities, the tool displays all factors and also offers an automatic fix to apply. To run the troubleshooter, here are the steps to follow –

  1. Press – Windows + I.
  2. Click – Update & Security.
  3. From the left column, choose – Troubleshoot.
  4. Shift to adjacent right.
  5. Click – Additional troubleshooters.
  6. Select  Windows update first and then click – Run the troubleshooter from its expanded tray.
How to Fix Windows update Error 0x800f0845
  1. Go along with the instructions that appear on the screen.
  2. If the utility suggests an automatic repair, click – Apply this fix.
  3. In case the troubleshooter fails to handle the issue, move to the next workaround.

2] Check whether the system has corrupted elements

Broken or misplaced system components are often found to generate Windows update Error 0x800f0845. If the same case is here, you can run System File Checker to detect and repair the malfunction. The command-line utility generally resolves the corruption existing in your system, moreover, recovers the elements that are missing.

However, there are times when SFC fails to handle the corruption automatically. If this happens, you need to run DISM tool to make SFC scan work again. Therefore, we suggest executing the Deployment Image Servicing and Management tool before using the system file checker tool. Doing so will save a good amount of time in case the System File Checker fails at the first instance.

  1. Hit – Windows + S.
  2. In the serach bar, type – cmd.
  3. From the right side of the result flyout, click – Run as administrator.
  4. When User Account Control prompts for consent, click – Yes.
  5. In the appearing black pane, insert – DISM /Online /Cleanup-Image /RestoreHealth.
  6. Press – Enter.
  7. Wait until the scanning process ends.
  8. After completion, type in sfc /scannow at the base of the winking cursor.
  9. Press – Enter.
  10. This may take a good amount of time to complete.
  11. When the scanning process hits 100%, review the report thoroughly.
  12. If the found corruption is fixed, close Command Prompt and reboot the machine.
  13. Or else, do what the utility suggests.

3] Make use of Windows update assistant

Usually, Windows 10 receives cumulative updates automatically but this oftentimes ends up downloading broken files. Subsequently, the system gives rise to update errors when you attempt to install the damaged items. This mainly happens if the internet was interrupted during the downloading process.

To avoid errors like 0x800f0845 while getting a new patch, you can take the help of the update assistant. Before you try out the assistant, disconnect all peripherals from your PC such as a printer, scanner and mouse, keyboard, and others as well. After that, go through the below steps –

  1. Visit the official webpage of Microsoft.
  2. Click – Update now.
Use Update assistant to get update
  1. If a pop-up prompts, hit – Save files.
  2. Navigate the location where the system saves downloaded items.
  3. Double-click the exe file you got.
  4. When the update assistant tool appears, hit – Update Now button.
  5. To continue the process, click – Next.
  6. Now, the utility will start downloading the latest Windows update for your system. Be patient since the process will take time depending on your internet speed.

4] Reset update components to fix error 0x800f0845

To make Windows update utility works properly, a large set of services are needed. If any of the services become disabled or unavailable, the system may trigger the error 0x800f0845 while installing an update. Therefore, restart the services and also reset other components to start afresh. To do so –

  1. Press – Windows + R.
  2. In the text field of Run command, type – cmd.exe.
  3. Hit – Ctrl + Shift + Enter.
  4. To allow User Account Control, click – Yes.
  5. Copy the following syntax in turn and paste them into the Command Prompt. Don’t forget to hit Enter key after each one –

net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 Catroot2.old
net start wuauserv
net start cryptSvc
net start bits
net start msiserver

  1. Close the Command Prompt.
  2. Restart the PC.
  3. After signing back in, retry the installation process.

5] Download problematic update manually

As we said earlier, error 0x800f0845 oftentimes evolves when the system tries to download and install updates automatically. If so, get the latest patch manually to avoid any kind of unexpected error code. Here are the steps to follow –

  1. Visit the webpage of Microsoft Update Catalog.
  2. Once there, click the search bar of the website.
  3. Type the KB version that is giving update error.
  4. Click – Search.
Error 0x800f0845 - Download update manually
  1. When the result shows up, look for the one that goes with your PC specs.
  2. Click Download present next to the compatible KB version.
  3. From the next window, hit the link that ends with msu.
  4. If asked, choose Save File and then click – OK.
  5. Double-click the downloaded msu file.
  6. Click – Yes.
  7. Comply with on-screen instructions to round off the process.

6] Renew and release IP addresses

If the DNS cache is corrupted or possesses incorrect parameters, unexpected errors may occur during installation of an update. In such a case, you will have to clear all the DNS cache parameters or flush them. Doing so will enable the Windows system to rebuild faulty as well as damaged parameters. Along with flushing the DNS cache, it’s necessary to renew and release the IP address too. Steps are given below –

  1. Click Start button and type cmd.
  2. Press – Ctrl+ Shift + Enter.
  3. For appearing User Account Control, click – Yes.
  4. When elevated Command Prompt shows up, insert the below lines individually and hit Enter after each –

Ipconfig /flushdns

Ipconfig /release

Ipconfig /renew

7] Turn off the security suite to eradicate error 0x800f0845

Whether it’s a built-in antimalware program or a third party, the main intention of these applications is to keep your system away from vulnerable threats. To do so, they often block the system from downloading some files, especially suspicious ones.

It’s quite possible that your active anti malware program treats the new patch as a threat and that’s why preventing the same. To deal with the issue, you can temporarily disable the tool and see If you finish installing the problematic update without error 0x800f0845. You can reenable or reinstall the application again.

Turn off Windows Defender Firewall

  1. Press – Windows + Q.
  2. In the search bar, insert – firewall.cpl.
  3. Hit – Enter.
  4. From the left sidebar of the consequent window, click – Turn Windows Defender Firewall on or off.
  5. Check the box of Turn off Windows Defender Firewall (not recommended) option for both Private network settings and Public network settings.
  6. Click – OK.
Turn off Windows Defender Firewall
  1. Don’t forget to turn on Windows Defender Firewall after solving the update error.

Disable or uninstall third-party antivirus to resolve 0x800f0845

The steps described below can vary from one software to another but major parts should be the same.

  1. Click the up arrow icon present on the notification bar.
  2. Right-click the antimalware icon.
  3. Choose – Disable or the option with similar meaning.
  4. Opt for a time slot that decides how long the tool will remain disabled.

You can also, uninstall the app completely to avoid any interruption. For that –

  1. Open Run Dialog box.
  2. In the text field, type – appwiz.cpl.
  3. Click – OK.
  4. From the appearing window, look for the antivirus program installed on your system.
  5. Select the same and then click Uninstall from the top ribbon.
  6. Follow on-screen instructions to complete the removing process.

8] Restart Winsock

If the Winsock component holds wrong configuration or becomes corrupted for any reason, the update process may get stopped or interrupted with error codes. To overcome, all you need to do is restarting the Winsock component. For that, imitate the below steps –

  1. Open Command Prompt as administrator.
  2. Insert the following command in the black pane –

netsh winsock reset

  1. Let Winsock component reset and replace the DDL files.
  2. Close Command Prompt and restart the PC to make the changes effective.

9] Reissue host files to fix update error 0x800f0845

Host files include certain configurations to enable communication in the system. If any of it is corrupted, the system won’t be able to establish communication. As a result, the system often ends up with errors like 0x800f0845 while updating Windows. To reset the host file to default, here are the steps to go through –

  1. Press Windows key and type notepad.
  2. Hit – Enter.
  3. Copy the following and paste it on Notepad –

# Copyright (c) 1993-2006 Microsoft Corp.

#

# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

#

# This file contains the mappings of IP addresses to host names. Each

# entry should be kept on an individual line. The IP address should

# be placed in the first column, followed by the corresponding host name.

# The IP address and the host name should be separated by at least one

# space.

#

# Additionally, comments (such as these) may be inserted on individual

# lines or following the machine name denoted by a ‘#’ symbol.

#

# For example:

#

#      102.54.94.97     rhino.acme.com          # source server

#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.

#       127.0.0.1       localhost

#       ::1             localhost

  1. Press – Ctrl + S.
  2. Select a directory where you want to save the file.
  3. Name the file Hosts and then click – Save.
  4. Now, open File Explorer.
  5. Navigate to – C:\Windows\System32\drivers\etc.
  6. Right-click on hosts that exist there and choose –  Rename.
  7. Name it hosts.old.
  8. Accept the confirmation if any dialog box pops up.
  9. Go back to the path where you saved the newly created Hosts file.
  10. Copy that file and paste it in C:\Windows\System32\drivers\etc directory.
  11. Enter the administrator password and hit – Continue.

10] Try installing the update in Safe mode

If Windows update error 0x800f0845 still persists, there is a chance that some of the third-party services or programs are triggering the issue time and again. To repair it and prevent the problematic programs from starting, Safe mode will be the best choice. To boot Windows 10 into safe mode, follow the procedure –

  1. Press – Windows key.
  2. Type – advanced startup.
  3. Hit – Enter.
  4. From the right pane of the appearing settings page, click – Restart now.
Error 0x800f0845 - Boot in Safe Mode
  1. When the system powers up, select Troubleshoot => Advanced options => Startup Settings sequentially.
  2. Once in the next window, click – Restart.
  3. Make sure to press 5 or f5 key when the PC starts.
  4. Doing so will let your system boot Safe Mode with Networking.
  5. After getting access, Open Windows settings app.
  6. Select – Update & Security.
  7. Move to the right pane of the dedicated settings page and click – Check for updates.
  8. Hopefully, the patch will get installed error-free this time.

Methods list:
1] Run Windows Update troubleshooter
2] Check whether the system has corrupted elements
3] Make use of Windows update assistant
4] Reset update components
5] Download problematic update manually
6] Renew and release IP addresses
7] Turn off the security suite
8] Restart Winsock
9] Reissue host files
10] Try installing the update in Safe mode

That’s all!!

Sharing is caring    Share Whatsapp

 
Topics:  Windows
  
About Nipu
Windows 11, 10 Tweaker, and Tech Enthusiast.