Skip to content

Commit 1cd32d7

Browse files
committed
Updated-6940
changes done as per review
1 parent 5b990d2 commit 1cd32d7

1 file changed

Lines changed: 49 additions & 47 deletions

File tree

support/windows-server/installing-updates-features-roles/troubleshoot-windows-installation-error.md

Lines changed: 49 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -16,72 +16,69 @@ ms.custom:
1616
> [!WARNING]
1717
> This error is flagged to have an IPU performed to recover the VM if the instructions don't resolve the issue.
1818
19-
The Windows Update error 0x80070002 typically occurs because of missing or corrupt files necessary for the update or incomplete previous updates. Understanding the root causes and following the appropriate troubleshooting steps can help resolve this issue effectively.
19+
The Windows Update error 0x800f0831 typically occurs when an update fails to install required manifest files correctly. Understanding the root causes and following the appropriate troubleshooting steps can help resolve this issue effectively.
2020

21-
## Summary
21+
This article helps you understand the root cause and the necessary steps required to mitigate the issue and install the updates effectively.
2222

23-
When you install an update, you can get the following error 0x800f0831 (CBS_E_STORE_CORRUPTION.). This error occurs because an update did'nt install properly some mandatory manifest files for the package.
24-
This TSG is designed to mitigate this issue and be able to install the updates needed.
23+
## Prerequisites
24+
25+
Before proceeding with the mitigation of this document, follow the process to backup the OS disk: Back up OS Disk.
2526

2627
## Symptom
2728

29+
The following error message appears when you try to install any patch using the standalone installer (.msu) or try to install a Windows update::
30+
2831
:::image type="content" source="media/install-error-new.jpg" alt-text="Install error":::
2932

3033
:::image type="content" source="media/windows-update-new.jpg" alt-text="Windows update error":::
3134

3235
:::image type="content" source="media/retry-deba-new.jpg" alt-text="Retry screenshot":::
3336

34-
When you try to install any patch using the standalone installer (.msu) or Windows Update and the update was'nt installed:
35-
3637
## Root cause
3738

38-
In order to see exactly what is happening, we need to open and check the CBS.log (location C:\windows\logs\CBS) it looks similar to the following output:
39+
See exactly what is happening, we need to open and check the CBS.log (location C:\windows\logs\CBS) it looks similar to the following output:
40+
41+
Navigate to C:\windows\logs\CBS to open and check the CBS.log. You’ll be able to find out what’s causing the error.
3942

4043
## CBS logs
4144

4245
```output
43-
2017-11-15 12:40:00, Info CBS Store corruption, manifest missing for package: Package_123_for_KB3192392~31bf3856ad364e35~amd64~~6.3.1.4
46+
Info CBS Store corruption, manifest missing for package: Package_123_for_KB3192392~31bf3856ad364e35~amd64~~6.3.1.4
4447
45-
2017-11-15 12:40:00, Error CBS Failed to resolve package 'Package_123_for_KB3192392~31bf3856ad364e35~amd64~~6.3.1.4' [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
48+
Error CBS Failed to resolve package 'Package_123_for_KB3192392~31bf3856ad364e35~amd64~~6.3.1.4' [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
4649
47-
2017-11-15 12:40:00, 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]
50+
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]
4851
49-
2017-11-15 12:40:00, Info CBS Failed to resolve package [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
52+
Info CBS Failed to resolve package [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
5053
```
5154

52-
- For this specific scenario, it happens because there is an assembly missing or corrupted from the KB3192392, specifically "Package_123_for_KB3192392~31bf3856ad364e35~amd64~~6.3.1.4" these packages are located into the registy path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages. An update either was'nt installed at all, or it was installed without applying some packages to the registry.
55+
The issue can occure due to the following scenarios:
5356

54-
> [!IMPORTANT]
55-
> This issue may vary depending on each case but the baseline of the issue is the same.
56-
57-
> [!NOTE]
58-
> To get the CBS.log or logs, you can use the TSSv2 to collect all the logs you need for such cases. For more information, see, [CBS logs](https://aka.ms/dndlogs).
57+
- This issue is occurring due to a missing or corrupted assembly from KB3192392, specifically: "Package_123_for_KB3192392~31bf3856ad364e35~amd64~~6.3.1.4"
58+
- This can also happen if the update was never installed and in some cases even if the installation happened, some packages were not applied to the registry.
5959

60-
## Mitigation
60+
To locate these packages in the system: Go the registry path:
61+
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages
62+
6163

62-
Backup
63-
Before proceeding with the mitigation of this document, follow the process to backup the OS disk: Back up OS Disk
64+
> [!IMPORTANT]
65+
> This issue may vary depending on each case, but the baseline of the issue remains the same.
6466
65-
## Online Mitigation
67+
> [!NOTE]
68+
> For more information on how to collect the CBS.log or just logs using TSSv2, see, [CBS logs](https://aka.ms/dndlogs).
6669
67-
### Mitigation 1
70+
## Adding or removing the culprit KB manually
6871

69-
We need to move to the plan, to either add or remove the culprit KB manually from the OS. It depends if the update was installed or not before:
72+
Add or remove the culprit KB manually from the OS. You’ll have to consider if the update has been installed before or not:
7073

7174
### If KB was installed:
7275

73-
1. Check if the complaining KB that we took from the first step to identify the KB, is installed or not in the machine. If it isn't installed, proceed to the "If KB was'nt installed" steps.
74-
1. If you find that the KB was installed, you need to remove it. The best approach is the following steps:
75-
76-
### Instructions
77-
78-
1. Reproduce the issue by trying to install the patch or the feature with issues. We need to do this step to ensure that the latest data is logged into the latest CBS.log.
79-
1. Identify the package that the CBS process is complaining about, ensure you verify the KB as well.
80-
1. On any web browser, go to [Microsoft Update Catalog](https://www.catalog.update.microsoft.com/Home.aspx).
81-
1. Search for the identified KB number.
82-
1. Select and download the proper KB depending on the OS version and architecture
83-
1. Download the KB, paste it into a temp folder in the C drive C:\temp
84-
1. Run the command in cmd as admin navigating to the folder itself
76+
1. Reproduce the issue by trying to install the patch or the feature with issues. This ensures that the latest data is logged into the latest CBS.log.
77+
1. Verify the KB after you have identified the package that the CBS process is complaining about.
78+
1. Navigate to [Microsoft Update Catalog](https://www.catalog.update.microsoft.com/Home.aspx) and search for the KB number you have identified.
79+
1. Select the KB and download it, depending on the OS version and architecture.
80+
1. Paste the downloaded KB into a temporary folder in the C drive: C:\temp.
81+
1. Run the following command in cmd as admin navigating to the folder.
8582

8683
```output
8784
cd \
@@ -90,17 +87,17 @@ expand -F:* windows10.0-kb4462937-x64_9e250691ae6d00cdf677707e83435a612c3264ea.m
9087
```
9188

9289
> [!NOTE]
93-
> The file name is just an example. Use the name of the file downloaded.
90+
> This is just an example of how you should name the file. In your case, use the name of downloaded file.
9491
95-
8. When you expand it, you can see several packages that are coming from the main package. Check the .cab file with the format "windows 10.0-KBxxxxxxx-x64.cab" (this file can vary depending on the OS version).
96-
9. Then we need to run the command in cmd as admin:
92+
8. On expanding, you’ll see several packages coming from the main package. Check the .cab file with the format "windows 10.0-KBxxxxxxx-x64.cab" (this file can vary depending on the OS version).
93+
9. Run the below following command in cmd as admin:
9794

9895
```output
9996
Dism /online /remove-package /packagepath:C:\temp\windows10.0-kb4462937-x64.cab
10097
```
10198

10299
> [!NOTE]
103-
> We're using KB4462937 as an example, remember to use the KB extracted into the c:\temp folder
100+
> We're using KB4462937 as an example. Remember to use the KB extracted into the c:\temp folder.
104101
105102
10. If you're asked to reboot, do it and then run the command in a cmd with administrator privileges. If the reboot isn't required, just run the command in a cmd with administrator privileges:
106103

@@ -111,11 +108,11 @@ Dism /online /add-package /packagepath:C:\temp\windows10.0-kb4462937-x64.cab
111108
11. Reboot the machine
112109
12. Try again to install the update or feature
113110

114-
### If KB was'nt installed:
111+
### If KB isn't installed:
115112

116113
1. Download the KB that we identified from [Microsoft Update Catalog](https://www.catalog.update.microsoft.com/Home.aspx).
117-
1. When you have it move it to a temp folder in the C drive C:\temp
118-
1. When we have it, we need to run the command in cmd as admin navigating to the folder itself.
114+
1. Paste the downloaded KB into a temporary folder in the C drive: C:\temp.
115+
1. Run the following command in cmd as admin navigating to the folder..
119116

120117
```output
121118
cd \
@@ -124,19 +121,24 @@ expand -F:* windows10.0-kb4462937-x64_9e250691ae6d00cdf677707e83435a612c3264ea.m
124121
```
125122

126123
> [!NOTE]
127-
> The file name is just an example, use the name of the file downloaded.
124+
> This is just an example of how you should name the file. In your case, use the name of downloaded file.
128125
129-
4. When you expand it, you can see several packages that are coming from the main package.
130-
5. Then we need to run the command in cmd as admin:
126+
4. On expanding, you can see several packages that are coming from the main package.
127+
5. Run the following command in cmd as admin:
131128

132129
```output
133130
Dism /online /add-package /packagepath:C:\temp\windows10.0-kb4462937-x64.cab
134131
```
135132

136133
> [!NOTE]
137-
> We are using KB4462937 as an example, remember to use the KB extracted into the c:\temp folder 7. Reboot the machine 8. Try again to install the update or feature.
134+
> We are using KB4462937 as an example. Remember to use the KB extracted into the c:\temp folder
135+
136+
7. Reboot the machine
137+
138+
8. Try again to install the update or feature.
138139

139140
### IPU Process (In-place Upgrade)
140141

141142
> [!NOTE]
142-
> Awareness: If the mitigations given didn't fix the issue, this specific Windows Update (WU) error code is identified that may require an In-Place Upgrade (IPU) to recover the virtual machine (VM). For Windows on Azure (WOA) scenarios—especially in alignment with efforts to reduce days to closure—these WU errors are reviewed and approved as eligible for IPU as a simplified recovery path. Customers encountering these specific issues can be confidently offered the in-place upgrade option as an effective resolution.
143+
> Awareness: If the suggested fixes don’t resolve the issue, this specific Windows Update (WU) error code may require an In-Place Upgrade (IPU) to recover the virtual machine (VM). For Windows on Azure (WOA) scenarios, especially when trying to resolve issues quickly, these types of WU errors are reviewed and approved as eligible for IPU.
144+
> This means that if customers face this error, you can confidently recommend an In-Place Upgrade as a simple and effective solution.

0 commit comments

Comments
 (0)