[Windows 10] About the solution when Windows Update fails due to 0x800f0823 error


Hello!This time, I would like to summarize what to do when "0x800f0823" occurs due to a Windows Update error.


When you try to execute Windows Update, the error code "0x800f0823" may be recorded in the settings screen or the log of the event viewer.

Windows Update cannot be applied in this state.


In Windows Update, there is an SSU: service stack update program in addition to the update itself.If this is not pre-installed, the update installation will fail.

Error message when installing an .msu update package on a computer running Windows: "You must update the Windows Modules Installer before installing this package" - Microsoft Support
The installation describes an issue that occurs because you need a newer version of the Windows module installer, also known as the service stack.To resolve this issue, use Windows Update to update the Windows module installer.

Also, since this SSU is included in recent Windows Update, you do not have to worry about it originally, but the application order of the included SSU may be later in automatic installation, so the latest Sometimes you can't avoid it just by applying something.


Manually apply SSU

It's very complicated, but I was able to solve it by applying SSU in the following order.

・ January 2021 SSU (KB1)

Microsoft Update Catalog

・ January 2021 SSU (KB8)

Microsoft Update Catalog

・ Latest update as of October 2021 (KB10)

Microsoft Update Catalog

* Please download the update program suitable for each environment and apply it in order.

As you can see, SSUs often cannot be completed depending on the order in which they are applied.
If you get into a similar situation, you may be able to avoid it by applying a previously released SSU.

Prioritization of SSU application by DISM

I mentioned earlier that the latest update also includes SSU.
Therefore, if you disassemble the update program and apply the SSU inside first, you will often be able to execute the update program.

Example of expansion using the Expand command

When expanding with the Expand command, the expansion destination directory is required, so this time I created c: \ temp and stored it there. If you want to expand all with the Expand command, you can use the following command.

expand [File path] .msu -f: * [Extract destination] [File path]: Path of the MSU file you want to expand [Expand destination]: Path where the decomposed file is stored  

If this is successful, the CAB file will be stored in the destination directory.

Extracted directory

This is a service stack program that includes files starting with SSU.
The application of SSU alone can be executed with the following command.

DISM / online / add-package / packagepath: [file path] [file path]: path to the CAB file of SSU

After this is successful, you can rerun the original MSU file to run the update with the SSU applied.If this solves the problem, you should be able to apply it normally.

OS repair using DISM

If it cannot be repaired by the above method, it is suspected that the OS is damaged. I think it's a good idea to perform a DISM repair.

Not only RestoreHealth but also ComponentCleanup is often effective, so it is recommended to execute it together.Similarly, it is better to use the repair command "sfc" and the disk repair command "chkdsk" together.

chkdsk / f sfc / scannow DISM / Online / Cleanup-image / StartComponentCleanup DISM / Online / Cleanup-image / RestoreHealth

* The same error may be displayed when the hard disk is physically damaged.In that case, chkdsk may accelerate the symptoms, so please use it according to the situation.It is a prerequisite that no hardware failure has occurred.

I will explain these tools in another article, so please refer to them if you like.

Repair with troubleshooting tools

Automatic repair with a troubleshooting tool is also effective.
The cases I have encountered have been resolved quite often.

In most cases, the old function is damaged, and it seems that it has been fixed by repairing it.

This article also explains how to use it.

Repair by OS overwrite

The last is the usual repair by overwriting the OS.
It's a powerful repair, but it's a hassle.

If you have time to spare, you will be a candidate, so it may be a good idea to try it as a last resort.

Please refer to here for OS overwrite.


This time, I introduced how to avoid the 0x800f0823 error by applying SSU.

The only cause is the lack of SSU, but SSU also requires SSU, which makes it rather complicated.
This time, I first introduced the method that can be solved by downloading → executing, including the simplification of the procedure, but since the SSU required for KB is originally decided, I will stare at Microsoft's support page. is needed.

The update program does not include SSU subtly, which is an event that occurs at this time, so I feel that it will not occur in the future.

The MSU file is originally just a compressed file, but it seems that it has a .msu extension just for passing it to WUSA.You can get the same result by simply changing the extension to .cab and decompressing it with decompression software.For your reference as knowledge ...

I hope it helps you.


Translate »
I copied the title and URL