What to Do When the 0x800f0845 Error Causes Failed Windows Updates

Windows Update brings new features to your PC while installing important security updates and bug fixes. So it’s vital to keep your system updated to work and play hassle-free on Windows.

However, some unexpected errors occur, resulting in updates failing to install on your system. And 0x800f0845 is one such error.

4

But you could get past the 0x800f0845 error and continue to install essential updates by trying the following fixes.

What Is the Windows Update 0x800f0845 Error?

0x800f0845 is an error that mostly occurs while installing cumulative updates on your Windows PC. You may experience this update error if Windows components and services are corrupted or if there are damaged or missing system files. Sometimes, this error happens by the interactions of third-party apps with the system apps.

You may not come to know of the error while updating, as Windows will appear to be updating normally with messages of the updates installing—such asUpdates are underway. Please keep your computer on.

Windows Update Error Message on Laptop Screen

However, just before your PC reboots, the following message on your computer screen may appear:Something didn’t go as planned. No need to worry—undoing changes. Please keep your computer on. This message indicates a problem with the update. When your computer restarts, the cumulative update would have failed to install.

You can check for the same by going toSettings > Windows Updateand then clickingUpdate history. InUpdate history, you will get the message that the cumulative update has failed to install with the error code0x800f0845like the screenshot below.

0x800f0845 Error in Windows Update History

So what can you do now? Cumulative updates are quality updates, so these must be installed. Fortunately, as there are ways to get past the 0x800f0845 error and install the failed updates.

1. Run the Windows Update Troubleshooter

It’s always better to try fixing Windows update errors first by using the Windows Update Troubleshooter. It scans your PC for problems, attempts to resolve them, and then applies the fixes.

The Windows Update troubleshooter will automatically run its scans to diagnose problems. After troubleshooting completes, you’ll get the message that changes have been made to your system and you should try attempting the tasks you were doing earlier.

Select Other Trouble-shooters in Troubleshoot Page

So close the troubleshooter and restart your computer. Then try updating Windows again and check if the failed update gets installed.

2. Temporarily Disable Your Antivirus Software

Sometimes, third-party antivirus installed on your PC may cause problems when you’re updating Windows. So try temporarily disabling it and then installing updates.

Your antivirus may have options to disable it temporarily. Or right-click on the Windows icon on the taskbar and selectTask Manager.

Run Windows Update Troubleshooter

InTask Manager, click theStartuptab and look for your antivirus software. Then, right-click on it and chooseDisable.

Try updating Windows now and see if the update gets installed.

3. Run the System File Checker and the DISM Tool

Corrupted Windows system files could also be the cause of the 0x800f0845 error. To scan, repair, and replace such damaged files, run the System File Checker or SFC scan.

And if the SFC doesn’t work properly, and can’t repair your system files, you should run the DISM or Deployment Image Servicing and Management tool. DISM is a command-line tool that can be used to service and repair Windows images, including those used for Windows Recovery and Windows Setup.

To know how to run the SFC and DSIM, you can explore our guide onCHKSDK, SFC, and DISM, and how they work.

These scans will take a few minutes to run. If the 0x800f0845 error was caused by corrupted files, it should have been fixed. So try updating Windows again.

4. Reset Windows Update Components

Error 0x800f0845 could occur if some Windows Update components have got corrupted. You could reset Windows components to get the Windows update running fine again. Here’s how:

Open Windows Terminalusing one of the many ways. Or typeWindows TerminalinWindows Search. Then, right-clickWindows TerminalunderBest matchand selectRun as administrator.

First, you need to stop the update services. In the Windows Terminal window, type the following four commands one by one, making sure that you pressenterafter each command:

Then to set up a new SoftwareDistribution folder, you need to rename it. So enter the following command and pressenter:

Next, rename the catroot2 folder for Windows to set up a new one. Type the following command and pressenter:

Finally, you need to restart the stopped services. Type the following four commands one after the other, while pressingenterafter each command:

Once you have run all the commands, the update error should have got fixed. Restart your PC and try installing the updates again.

5. Install the Update Manually via the Microsoft Update Catalog

What if none of the above solutions works for you? No worries, just install the update manually from the Microsoft Update Catalog.

Stay Updated for a Secure and Smooth Windows Experience

Update errors like 0x800fo845 can be annoying, especially when you’ve spent considerable time on an update that fails to install. Try the fixes discussed above to install important updates and enjoy a smooth, secure, and hassle-free Windows experience.

Windows updates usually have some strange numbers and letters tacked onto the end, but they’re by no means randomly assigned.

My foolproof plan is to use Windows 10 until 2030, with the latest security updates.

Not Linux, not Windows. Something better.

Free AI tools are legitimately powerful; you just need to know how to stack them.

My iPhone does it all, but I still need my dumb phone.

Lose your laptop without this feature, and you’ll wish you had turned it on.

Technology Explained

PC & Mobile