Skip to content

Commit 16a849a

Browse files
Merge pull request #9529 from MicrosoftDocs/main
Auto Publish – main to live - 2025-08-14 10:00 UTC
2 parents 90c7571 + 5ae1102 commit 16a849a

File tree

6 files changed

+151
-7
lines changed

6 files changed

+151
-7
lines changed

support/azure/virtual-machines/windows/toc.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,8 @@
236236
href: ../../../windows-server/installing-updates-features-roles/troubleshoot-windows-update-error-code-0x8024002e.md?context=/troubleshoot/azure/virtual-machines/windows/context/context
237237
- name: Error code 0x80070490
238238
href: ../../../windows-server/installing-updates-features-roles/troubleshoot-windows-update-error-0x80070490.md?context=/troubleshoot/azure/virtual-machines/windows/context/context
239-
- name: Troubleshoot Shutdown in Progress Windows Error 0x8007045b
240-
href: ../../../windows-server/installing-updates-features-roles/troubleshoot-error-shutdown-in-process.md
241-
242-
- name: My VM is not booting
243-
items:
239+
- name: My VM is not booting
240+
244241
- name: Boot diagnostics
245242
href: boot-diagnostics.md
246243
- name: Common issues
33.9 KB
Loading
2 KB
Loading
47.3 KB
Loading
Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
---
2+
title: Troubleshoot Windows Installation Error 0x800f0831
3+
description: Learn how to resolve Windows Update installation error 0x800f0831.
4+
ms.date: 07/31/2025
5+
manager: dcscontentpm
6+
audience: itpro
7+
ms.topic: troubleshooting
8+
ms.reviewer: scotro,mwesley
9+
ms.custom:
10+
- sap:windows servicing,updates and features on demand\windows update fails - installation stops with error
11+
- pcy:WinComm Devices Deploy
12+
---
13+
14+
# Troubleshoot Windows Update installation error 0x800f0831
15+
16+
Windows Update error 0x800f0831 typically occurs if an update doesn't install the required manifest files correctly. This article helps you understand the root cause of the issue and the necessary steps to resolve it effectively.
17+
18+
## Prerequisites
19+
20+
Before you troubleshoot, follow the steps in [this article](https://supportability.visualstudio.com/AzureIaaSVM/_wiki/wikis/AzureIaaSVM/495352/Network-Level-Authentication_RDP-SSH?anchor=%3Cspan-class%3D%22mw-customtoggle-mydivision%22%3Ebackup-os-disk%3C/span%3E) to back up the OS disk.
21+
22+
## Symptoms
23+
24+
When you try to install any update by using the standalone installer (.msu), or you try to install a Windows update, you receive one of the following error messages:
25+
26+
> Some updates were not installed
27+
28+
:::image type="content" source="media/first-screenshot.jpg" alt-text="first screenshot":::
29+
30+
> Updates failed
31+
32+
:::image type="content" source="media/second-screenshot.jpg" alt-text="second screenshot":::
33+
34+
> Retry
35+
36+
:::image type="content" source="media/third-screenshot.jpg" alt-text="third screenshot":::
37+
38+
## Cause
39+
40+
The issue might occur for one of the following reasons:
41+
42+
- An assembly from the KB3192392 update (specifically: "Package_123_for_KB3192392~31bf3856ad364e35~amd64~~6.3.1.4") is missing or corrupted.
43+
- The update was never installed. Or, the update is installed but some packages aren't applied to the registry.
44+
45+
To locate the installation packages in the system, search for the following registry subkey:
46+
47+
```
48+
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages
49+
```
50+
51+
> [!NOTE]
52+
> The symptoms might vary depending on each case, but the cause of this issue remains the same.
53+
54+
To investigate the cause further, examine the CBS.log file (C:\windows\logs\CBS), and search for output that resembles the following example:
55+
56+
```output
57+
Info CBS Store corruption, manifest missing for package: Package_123_for_KB3192392~31bf3856ad364e35~amd64~~6.3.1.4
58+
59+
Error CBS Failed to resolve package 'Package_123_for_KB3192392~31bf3856ad364e35~amd64~~6.3.1.4' [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
60+
61+
Info CBS Mark store corruption flag because of package: Package_123_for_KB3192392~31bf3856ad364e35~amd64~~6.3.1.4. [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
62+
63+
Info CBS Failed to resolve package [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
64+
```
65+
66+
> [!NOTE]
67+
> For more information about how to collect the CBS.log file or any log that uses the TroubleShootingScript (TSS) tool version 2, see, [CBS logs](https://aka.ms/dndlogs).
68+
69+
## Resolution
70+
71+
To resolve this issue, manually add the problematic update to the system or remove it from the system, depending on whether the update is installed.
72+
73+
### If the update is installed
74+
75+
1. Reproduce the issue by trying to install the update or feature that's experiencing issues. This action logs the latest data into the CBS log.
76+
1. Verify that you have the correct update after you identify the package that the CBS process is calling out.
77+
1. Navigate to [Microsoft Update Catalog](https://www.catalog.update.microsoft.com/Home.aspx), and search for the KB number that you identified.
78+
1. Select the appropriate KB version for the OS version and architecture, and then download the file to a temporary folder ("temp") on drive C.
79+
1. Open an administrative Command Prompt window, and run the following command on the folder:
80+
81+
```output
82+
cd \
83+
cd temp
84+
expand -F:* windows10.0-kb4462937-x64_9e250691ae6d00cdf677707e83435a612c3264ea.msu C:\temp
85+
```
86+
87+
**Note:** In this command, substitute the actual name of the downloaded file.
88+
89+
1. In the expanded packages, locate the .cab file that uses the following format, depending on the OS version:
90+
91+
windows 10.0-KB*xxxxxxx*-x64.cab
92+
93+
1. Run the following command at an administrative command prompt:
94+
95+
```output
96+
Dism /online /remove-package /packagepath:C:\temp\windows10.0-kb4462937-x64.cab
97+
```
98+
99+
**Note:** In this command, substitute the actual name of the .cab file.
100+
101+
1. Restart the computer if you're prompted to do that.
102+
2. Run the following command at an administrative command prompt:
103+
104+
```output
105+
Dism /online /add-package /packagepath:C:\temp\windows10.0-kb4462937-x64.cab
106+
```
107+
108+
1. Restart the computer.
109+
1. Try again to install the update or feature.
110+
111+
### If the update isn't installed
112+
113+
1. Navigate to the [Microsoft Update Catalog](https://www.catalog.update.microsoft.com/Home.aspx), and download the update to a temporary folder ("temp") on drive C.
114+
1. At an administrative command prompt, run the following command on the folder:
115+
116+
```output
117+
cd \
118+
cd temp
119+
expand -F:* windows10.0-kb4462937-x64_9e250691ae6d00cdf677707e83435a612c3264ea.msu C:\temp
120+
```
121+
122+
**Note:** In this command, substitute the actual name of the downloaded file.
123+
124+
1. In the expanded packages, locate the .cab file that uses the following format, depending on the OS version:
125+
126+
windows 10.0-KB*xxxxxxx*-x64.cab
127+
128+
1. At an administrative command prompt, run the following command:
129+
130+
```output
131+
Dism /online /add-package /packagepath:C:\temp\windows10.0-kb4462937-x64.cab
132+
```
133+
134+
**Note:** In this command, substitute the actual name of the .cab file.
135+
136+
1. Restart the computer.
137+
138+
1. Try again to install the update or feature.
139+
140+
### In-place upgrade process
141+
142+
> [!NOTE]
143+
> If the suggested fixes don’t resolve the issue, this specific Windows Update (WU) error code might require an in-place upgrade (IPU) as a simple and effective solution to recover the VM. For Windows on Azure (WOA) scenarios, these kinds of WU errors are reviewed and approved as eligible for IPU. This is especially true if you're trying to resolve issues quickly.

support/windows-server/toc.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3152,12 +3152,16 @@ items:
31523152
href: installing-updates-features-roles/troubleshoot-windows-update-error-0x80070002.md
31533153
- name: Troubleshoot Windows Update error 0x80070490
31543154
href: installing-updates-features-roles/troubleshoot-windows-update-error-0x80070490.md
3155+
- name: Troubleshoot "Shutdown in Progress" Windows error 0x8007045b
3156+
href: installing-updates-features-roles/troubleshoot-error-shutdown-in-process.md
31553157
- name: Troubleshoot Windows Update error 0x8024002E
31563158
href: installing-updates-features-roles/troubleshoot-windows-update-error-code-0x8024002e.md
31573159
- name: WUSA returns 0x5 ERROR_ACCESS_DENIED
31583160
href: ./installing-updates-features-roles/windows-update-standalone-installer-returns-error.md
3159-
- name: Windows Update for Business Reports
3160-
items:
3161+
- name: Troubleshoot Windows Installation Error 0x800f0831
3162+
href: ./installing-updates-features-roles/troubleshoot-windows-installation-error.md
3163+
- name: Windows Update for Business Reports
3164+
items:
31613165
- name: Initial service configuration and Onboarding
31623166
items:
31633167
- name: 'Troubleshooting guidance: Windows Update for Business reports'

0 commit comments

Comments
 (0)