Skip to content

Commit 82b382f

Browse files
authored
Merge pull request #10430 from v-tappelgate/AB#7613-Troubleshoot-Windows-Update-Error-0x8007000d
Ab#7613 troubleshoot windows update error 0x8007000d
2 parents 21c4b32 + 1d85e23 commit 82b382f

3 files changed

Lines changed: 54 additions & 49 deletions

File tree

support/windows-client/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,6 +1431,8 @@ items:
14311431
href: ./installing-updates-features-roles/sfc-detects-opencl-dot-dll-corrupted.md
14321432
- name: System Error 126 when you start TrustedInstaller
14331433
href: ./installing-updates-features-roles/system-error-126-start-windows-modules-installer.md
1434+
- name: Error 0x8007000d at startup after you install a Windows update
1435+
href: ../windows-server/installing-updates-features-roles/error-invalid-data-startup-installing-updates.md?context=/troubleshoot/windows-client/context/context
14341436
- name: Troubleshoot Windows Update error 0x8007000e or 0x800705aa
14351437
href: ./installing-updates-features-roles/error-0x8007000e-0x800705aa-insufficient-virtual-memory.md
14361438
- name: Troubleshoot Windows Update error code 0x80070070

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

Lines changed: 51 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,62 @@
11
---
2-
title: ERROR_INVALID_DATA Error After Installing Windows Updates
3-
description: Helps resolve the 0x8007000d (ERROR_INVALID_DATA) error at system startup after you install Windows updates.
4-
ms.date: 05/23/2025
2+
title: Error 0x8007000d at Startup After You Install a Windows Update
3+
description: Discusses how to fix the 0x8007000d (ERROR_INVALID_DATA) error when the system restarts after you install Windows updates.
4+
ms.date: 12/31/2025
55
manager: dcscontentpm
66
audience: itpro
7+
ai.usage: ai-assisted
78
ms.topic: troubleshooting
8-
ms.reviewer: kaushika, hamansoor, jdickson, v-lianna, dougking
9+
ms.reviewer: kaushika, hamansoor, jdickson, v-lianna, dougking, v-appelgatet
910
ms.custom:
1011
- sap:Windows Servicing, Updates and Features on Demand\Windows Update - Install errors starting with 0x8007 (ERROR)
1112
- pcy:WinComm Devices Deploy
1213
appliesto:
13-
- <a href=https://learn.microsoft.com/windows/release-health/windows-server-release-info target=_blank>Supported versions of Windows Server</a>
14-
- <a href=https://learn.microsoft.com/lifecycle/products/azure-virtual-machine target=_blank>Azure Virtual Machines</a>
14+
- ✅ <a href=https://learn.microsoft.com/windows/release-health/windows-server-release-info target=_blank>Supported versions of Windows Server</a>
15+
- ✅ <a href=https://learn.microsoft.com/windows/release-health/supported-versions-windows-client target=_blank>Supported versions of Windows Client</a>
16+
- ✅ <a href=https://learn.microsoft.com/lifecycle/products/azure-virtual-machine target=_blank>Azure Virtual Machines</a>
1517
---
16-
# Error 0x8007000d at startup after installing updates
18+
# Error 0x8007000d at startup after you install a Windows update
1719

18-
This article helps you resolve an issue that occurs at system startup after you install Windows updates. After you install the updates and restart the system, the system performs a rollback, and you receive a "0x8007000d (ERROR_INVALID_DATA)" error message.
19-
20-
> [!IMPORTANT]
21-
> This article covers the Windows Server upgrade process for non-Azure servers and virtual machines (VMs) only. To do an upgrade of Windows Server running in an Azure VM, see [In-place upgrade for VMs running Windows Server in Azure](/azure/virtual-machines/windows-in-place-upgrade?context=/troubleshoot/azure/virtual-machines/windows/context/context).
20+
This article helps you resolve an issue that occurs when the computer restarts after you install a Windows update.
2221

2322
## Symptoms
2423

25-
When this issue occurs, you might experience any of the following symptoms.
24+
You install a Windows update. The update appears to install successfully. However, when the computer restarts, the installation rolls back, and you receive a "0x8007000d (ERROR_INVALID_DATA)" error message.
25+
26+
## Cause
27+
28+
Typically, this issue has one of the following causes:
29+
30+
- **File corruption or registry corruption** - An old update is reported, and the related file or registry key locations are corrupted. This corruption can prevent the system from verifying the validity of catalog files.
31+
32+
- **Incorrect driver version** - Driver updates fail because of incorrect versioning. This issue causes the Windows update to fail during a restart.
33+
34+
## Resolution
35+
36+
> [!IMPORTANT]
37+
>
38+
> - 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.
39+
> - 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).
40+
41+
The most reliable way to fix this issue is to perform an in-place upgrade on the affected computer.
42+
43+
> [!NOTE]
44+
> For more information about how to upgrade VMs, see one of the following articles:
45+
>
46+
> - [In-place upgrade for VMs running Windows Server in Azure](/azure/virtual-machines/windows-in-place-upgrade)
47+
> - [In-place upgrade for supported VMs running Windows in Azure (Windows client)](../../azure/virtual-machines/windows/in-place-system-upgrade.md)
48+
49+
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.
50+
51+
## More information
52+
53+
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.
54+
55+
The following sections show examples of log entries that document this error.
2656

27-
### Symptom 1: Catalog file errors
57+
### Case 1: Catalog file errors
2858

29-
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 output:
59+
In this example, `ERROR_INVALID_DATA` occurs when the system tries to validate C:/WINDOWS/Servicing/Packages/Package_1_for_KB4584642~31bf3856ad364e35~amd64~~10.0.1.0.cat.
3060

3161
```output
3262
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
@@ -42,15 +72,11 @@ Entries in the Component-Based Servicing (CBS) log file indicate issues that aff
4272
20xx-xx-06 xx:51:15, Info CBS Failed to begin deployment installation for Update: 4584642-1_neutral [HRESULT = 0x8007000d - ERROR_INVALID_DATA]
4373
```
4474

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

47-
*C:/WINDOWS/Servicing/Packages/Package_1_for_KB4584642~31bf3856ad364e35~amd64~~10.0.1.0.cat*
77+
### Case 2: Registry errors
4878

49-
This symptom indicates that the package is likely corrupted.
50-
51-
### Symptom 2: Registry errors
52-
53-
In the CBS log file, you see the following entry or something similar that indicates registry issues:
79+
In this example, `ERROR_INVALID_DATA` occurs when the system determines that a registry value uses the wrong data type.
5480

5581
```output
5682
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]
@@ -62,9 +88,9 @@ In the CBS log file, you see the following entry or something similar that indic
6288
20xx-xx-24 05:13:10, Info CBS Failed to find or add the component family [HRESULT = 0x8007000d - ERROR_INVALID_DATA]
6389
```
6490

65-
### Symptom 3: Driver update failure
91+
### Case 3: Driver installation failure
6692

67-
In the CBS log file, you see the following entry or something similar that indicates driver update failures during restart:
93+
In this example, `ERROR_INVALID_DATA` occurs when the system tries to install drivers during the restart process.
6894

6995
```output
7096
20xx-xx-18 15:21:14, Info CBS Perf: Doqe: Critical install started.
@@ -84,11 +110,9 @@ In the CBS log file, you see the following entry or something similar that indic
84110
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
85111
```
86112

87-
This entry shows that the driver updates failed. This issue caused the Windows update to also fail.
113+
The mshdc.inf driver doesn't install correctly. This issue triggers the rollback process.
88114

89-
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.
90-
91-
**setupapapi.dev.log**
115+
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.
92116

93117
```output
94118
sto: {Unstage Driver Package: C:\Windows\System32\DriverStore\FileRepository\mshdc.inf_amd64_b0b5572axx95167b\mshdc.inf} 15:21:14.3xx
@@ -101,24 +125,3 @@ idb: Driver packages registered to 'mshdc.inf':
101125
idb: mshdc.inf_amd64_79f38c21b894a1c1
102126
idb: {Unregister Driver Package: exit(0x00000000)} 15:21:14.3xx
103127
```
104-
105-
Make sure that you note the driver packages.
106-
107-
## Cause
108-
109-
This issue occurs either because the database of performance counters is corrupted or the driver version is incorrect.
110-
111-
### File corruption or registry corruption
112-
113-
An old update might be reported, and the related file or registry key locations might be corrupted. This corruption can prevent the system from verifying the validity of catalog files.
114-
115-
### Incorrect driver version
116-
117-
Driver updates might fail because of incorrect versioning. This issue causes the Windows update to fail during a restart.
118-
119-
## Resolution
120-
121-
> [!NOTE]
122-
> Before you proceed, [back up the OS disk](/azure/backup/about-azure-vm-restore).
123-
124-
The most reliable solution for this problem is to perform an [in-place upgrade (IPU) on the Windows virtual machine (VM)](/azure/virtual-machines/windows-in-place-upgrade?context=/troubleshoot/azure/virtual-machines/windows/context/context).

support/windows-server/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3252,7 +3252,7 @@ items:
32523252
href: ./installing-updates-features-roles/system-file-checker.md
32533253
- name: Error 0x80070003 at startup after you install a Windows update
32543254
href: ./installing-updates-features-roles/error-0x80070003-windows-update-fails.md
3255-
- name: Error 0x8007000d after installing Windows updates
3255+
- name: Error 0x8007000d at startup after you install a Windows update
32563256
href: ./installing-updates-features-roles/error-invalid-data-startup-installing-updates.md
32573257
- name: Error 0x800705aa when Windows Update fails
32583258
href: ./installing-updates-features-roles/error-0x800705aa-windows-update-fails.md

0 commit comments

Comments
 (0)