Skip to content

Commit 1582289

Browse files
committed
Revisions
1 parent 301e40f commit 1582289

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

support/windows-server/installing-updates-features-roles/error-invalid-data-startup-installing-updates.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,29 @@ Typically, this issue has one of the following causes:
3232
## Resolution
3333

3434
> [!IMPORTANT]
35-
> Before you troubleshoot this issue, back up the operating system disk. For information about this process for VMs, see [About Azure Virtual Machine restore](/azure/backup/about-azure-vm-restore).
35+
>
36+
> - If the affected computer is a Windows virtual machine (VM), that can't restart correctly or that you can't access by using SSH, make sure that you can use the Azure Serial Console to access the VM.
37+
> - Before you troubleshoot this issue, back up the operating system disk. For information about this process for VMs, see [About Azure Virtual Machine restore](/azure/backup/about-azure-vm-restore).
3638
3739
The most reliable way to fix this issue is to perform an in-place upgrade on the affected computer.
3840

3941
> [!NOTE]
40-
> For more information about upgrading VMs, see one of the following articles:
42+
> For more information about how to upgrade VMs, see one of the following articles:
4143
>
4244
> - [In-place upgrade for VMs running Windows Server in Azure](/azure/virtual-machines/windows-in-place-upgrade)
4345
> - [In-place upgrade for supported VMs running Windows in Azure (Windows client)](../../azure/virtual-machines/windows/in-place-system-upgrade.md)
4446
47+
If the issue persists, contact Microsoft Support. In the support request, include data from the CBS log that helps describe the issue. For information about how to identify this information, see the next section.
48+
4549
## More information
4650

47-
### Symptom 1: Catalog file errors
51+
Entries in the Component-Based Servicing (CBS) log file might provide more details about how the error actually occurred. This log is typically located at C:\Windows\Logs\CBS. To track down the issue, open the log file in a text editor and search for `ERROR_INVALID_DATA`. To identify the context in which the error occurred, review the log entries that precede and follow the error.
52+
53+
The following sections show examples of log entries that document the error.
54+
55+
### Case 1: Catalog file errors
4856

49-
Entries in the Component-Based Servicing (CBS) log file indicate issues that affect a catalog file. This log is typically located at C:\Windows\Logs\CBS. You see a log entry that resembles the following example:
57+
In this example, `ERROR_INVALID_DATA` occurred when the system attempted to validate C:/WINDOWS/Servicing/Packages/Package_1_for_KB4584642~31bf3856ad364e35~amd64~~10.0.1.0.cat.
5058

5159
```output
5260
20xx-xx-06 xx:51:15, Info CBS Exec: Installing Package: Package_1_for_KB4584642~31bf3856ad364e35~amd64~~10.0.1.0, Update: 4584642-1_neutral, InstallDeployment: amd64_771d1f434ef835536dafe93d6811f766_31bf3856ad364e35_10.0.17763.1549_none_e4d395cdb7886270
@@ -62,15 +70,11 @@ Entries in the Component-Based Servicing (CBS) log file indicate issues that aff
6270
20xx-xx-06 xx:51:15, Info CBS Failed to begin deployment installation for Update: 4584642-1_neutral [HRESULT = 0x8007000d - ERROR_INVALID_DATA]
6371
```
6472

65-
In this situation, the error occurs because the system can't determine whether the following catalog file is valid:
73+
The system can't validate the .cat (catalog) file, which indicates that the package is probably corrupted.
6674

67-
*C:/WINDOWS/Servicing/Packages/Package_1_for_KB4584642~31bf3856ad364e35~amd64~~10.0.1.0.cat*
75+
### Case 2: Registry errors
6876

69-
This symptom indicates that the package is probably corrupted.
70-
71-
### Symptom 2: Registry errors
72-
73-
In the CBS log file, you see the following entry or something similar that indicates registry issues:
77+
In this example, `ERROR_INVALID_DATA` occurred when the system determined that a registry value used the wrong data type.
7478

7579
```output
7680
20xx-xx-24 05:13:10, Info CBS Registry value for Package_7762_for_KB5001347~31bf3856ad364e35~amd64~~10.0.1.4 is not a dword type. [HRESULT = 0x8007000d - ERROR_INVALID_DATA]
@@ -84,7 +88,7 @@ In the CBS log file, you see the following entry or something similar that indic
8488

8589
### Symptom 3: Driver update failure
8690

87-
In the CBS log file, you see the following entry or something similar that indicates driver update failures during restart:
91+
In this example, `ERROR_INVALID_DATA` occurred when the system tried to install drivers during the restart process.
8892

8993
```output
9094
20xx-xx-18 15:21:14, Info CBS Perf: Doqe: Critical install started.
@@ -104,11 +108,9 @@ In the CBS log file, you see the following entry or something similar that indic
104108
20xx-xx-18 15:22:52, Info CBS WER: Generating failure report for package: Package_for_RollupFix~31bf3856ad364e35~amd64~~14393.4889.1.2, status: 0x8007000d, failure source: DOQ, start state: Staged, target state: Installed, client id: WindowsUpdateAgent
105109
```
106110

107-
This entry shows that the driver updates failed. This issue caused the Windows update to also fail.
111+
The mshdc.inf driver didn't install correctly, so the rollback process started.
108112

109-
To verify that this condition is true, go to *C:\Windows\INF\setupapapi.dev*, locate the log, and examine the entries for the driver failure. In this case, it's mshdc.inf.
110-
111-
**setupapapi.dev.log**
113+
The SetupAPI log (typically in C:\Windows\INF\setupapapi.dev) also records driver installations. In this example, the following excerpt from setupapapi.dev.log provides additional information about mshdc.inf, including the names and versions of the driver packages.
112114

113115
```output
114116
sto: {Unstage Driver Package: C:\Windows\System32\DriverStore\FileRepository\mshdc.inf_amd64_b0b5572axx95167b\mshdc.inf} 15:21:14.3xx
@@ -121,5 +123,3 @@ idb: Driver packages registered to 'mshdc.inf':
121123
idb: mshdc.inf_amd64_79f38c21b894a1c1
122124
idb: {Unregister Driver Package: exit(0x00000000)} 15:21:14.3xx
123125
```
124-
125-
Make sure that you note the driver packages.

0 commit comments

Comments
 (0)