There is nothing quite as annoying as watching a Windows 11 cumulative update crawl all the way to 99%, reboot your computer, sit on a black screen for ten minutes, and then hit you with the dreaded message: "We couldn't complete the updates. Undoing changes."
When you finally log back into your desktop and open your Windows Update settings, you are greeted by a cryptic hex code: Install error - 0x8007000d.
I ran into this exact brick wall earlier this week on my main workstation while installing the late October cumulative patch. Even worse, once error 0x8007000d shows up in your update queue, clicking "Retry" almost never works. Windows just keeps trying to read the exact same broken installer package over and over again.
Fortunately, you don't need to wipe your hard drive or reinstall Windows to clear it. Here is what error 0x8007000d actually means under the hood, and the exact step-by-step sequence I used to force the update through.
What Causes Windows Update Error 0x8007000d?
According to Microsoft’s official Win32 Error Code documentation, hex code 0x8007000d translates directly to ERROR_INVALID_DATA (The data is invalid).
In plain English, Windows Update downloaded a compressed patch file to your hard drive, unpacked it, and went to install it—only to realize that a piece of the XML manifest or a core system file inside the package is unreadable or missing. Instead of bricking your operating system, the Windows Component-Based Servicing (CBS) engine aborts the mission and rolls your PC back.
Based on technical diagnostics from the Microsoft Learn Windows IT Pro center, this corruption happens for three main reasons:
- A corrupted SoftwareDistribution cache: Your Wi-Fi briefly dropped or your PC went to sleep mid-download, leaving a half-baked update file stuck in your temporary update folder.
- Damaged WinSxS component store files: Windows needs to verify existing system files before patching them. If a baseline OS file is slightly modified or damaged, the checksum fails.
- File system lockups by third-party antivirus tools: Security suites (like McAfee, Norton, or Avast) sometimes quarantine a temporary
.cabor.msuupdate file while Windows is actively trying to unpack it.
(Note: If your update is failing specifically at the very end with a different hex code like 0x800f0922 or 0x80070002, check out our dedicated guides on Windows Update Stuck at 100% With Error 0x800f0922 and How to Fix Windows 11 Update Error 0x80070002 Without Losing Files, as those point to partition size and path errors rather than invalid data).
Quick Diagnosis: Which Fix Do You Need?
Before running terminal commands, match your symptom to the right starting point below:
| When the Error Happens | Root Culprit | Best Fix to Start With |
|---|---|---|
| Fails immediately during "Downloading" or at 0% | Stuck BITS queue or broken local update cache. | Fix #1 (Purge SoftwareDistribution) |
| Fails at 70%–100% during "Installing" | Corrupted Windows Component Store (WinSxS). | Fix #2 (DISM + SFC Repair) |
| Reboots, hits 98%, and says "Undoing Changes" | Background driver conflict or broken update installer. | Fix #3 (Manual Catalog .MSU Install) or Fix #4 |
Fix 1: Flush the SoftwareDistribution and Catroot2 Folders
Whenever error 0x8007000d appears, your first move should be wiping out the temporary folder where Windows stores downloaded patch files. You can't just delete this folder in File Explorer while Windows Update is running in the background—you have to stop the update services first.
- Click the Start menu, type
cmd, right-click on Command Prompt, and select Run as administrator. - Stop the four core Windows Update services by typing these commands one at a time, pressing Enter after each one:
net stop wuauserv net stop cryptSvc net stop bits net stop msiserver - Once all services confirm they have stopped, rename the corrupted cache folders so Windows is forced to build fresh ones from scratch. Type these two commands and press Enter after each:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 Catroot2.old - Now, turn the update services back on by running these four commands one by one:
net start wuauserv net start cryptSvc net start bits net start msiserver - Close the Command Prompt window, restart your PC, and check for updates again.
Why this works: Renaming those folders forces Windows 11 to pull a brand-new, uncorrupted copy of the update package straight from Microsoft's servers instead of reusing the broken file sitting on your SSD.
Fix 2: Repair the Windows Component Store (DISM & SFC)
If flushing the cache didn't work and the installer still crashes halfway through, the corruption isn't in the downloaded patch—it is inside your existing Windows 11 system image. This is what actually solved the issue on my desktop.
According to Microsoft Support engineering guidelines, you should always run the Deployment Image Servicing and Management (DISM) tool before running the System File Checker (SFC). SFC relies on a local backup image to fix broken files; if that backup image is also damaged, SFC will fail unless DISM repairs it first.
- Open Command Prompt as Administrator again.
- Type the following command and press Enter:
DISM.exe /Online /Cleanup-image /Restorehealth - Be patient here: The progress bar will often look completely frozen at
62.3%for five to ten minutes. Do not close the window. Wait until it hits 100% and says "The restore operation completed successfully." - Immediately after DISM finishes, run the System File Checker in the exact same window:
sfc /scannow - Wait for the verification to reach 100%. If it says "Windows Resource Protection found corrupt files and successfully repaired them," reboot your computer and run Windows Update.
Fix 3: Install the Patch Manually via the Microsoft Update Catalog
Sometimes the built-in Windows Update client trips over its own feet, even after you clean the cache. You can bypass the Settings app entirely by downloading the standalone offline installer package (.msu file) directly from the official Microsoft Update Catalog.
- Go to Settings > Windows Update and look at the failed update's KB number (for example,
KB5044284or whatever seven-digit number is listed next to error 0x8007000d). - Open your browser and search for the official Microsoft Update Catalog.
- Type that exact KB number into the catalog search box and hit Search.
- Look carefully at the list of results. Find the row that matches your exact Windows version (e.g., Windows 11 Version 23H2 or 24H2 for x64-based Systems). Do not download the "ARM64" version unless you are using a Snapdragon processor.
- Click Download on the right side, save the
.msufile to your Downloads folder, double-click it, and let the Windows Update Standalone Installer do the heavy lifting.
Fix 4: Use Windows 11's Built-In "Fix Problems Using Windows Update" Feature
If you are running Windows 11 23H2 or 24H2, Microsoft quietly added a lifesaver feature inside the Settings app that replaces the old Media Creation Tool in-place upgrade. It re-downloads a fresh copy of the entire operating system over the top of your current installation while keeping 100% of your personal files, games, and installed programs intact.
If DISM fails or throws an error of its own, this is the ultimate silver bullet for error 0x8007000d:
- Press Windows Key + I to open Settings.
- Click System on the left sidebar, then scroll down and click Recovery.
- Look for the box labeled Fix problems using Windows Update and click the Reinstall now button next to it.
- Make sure the box for "Automatically restart my PC 15 minutes after installation" is checked, click OK, and let Windows download the repair version in the background.
(Important heads-up: If you have BitLocker drive encryption turned on, suspending it before doing a repair install can save you from a headache on reboot. If your laptop ever asks for a key after an update, keep our guide on Windows 11 Suddenly Asking for a BitLocker Recovery Key? How to Find It and Fix the Problem bookmarked).
Frequently Asked Questions
Can a full hard drive cause error 0x8007000d?
Yes, indirectly. While low disk space usually triggers error 0x80070070, running out of breathing room while Windows is unpacking a massive cumulative update can truncate temporary XML files, which then triggers the 0x8007000d (Invalid Data) flag. According to Microsoft’s system requirements, you should keep at least 20 GB to 25 GB of free space on your C: drive before running major feature or cumulative updates.
Should I delete the "SoftwareDistribution.old" folder after my update succeeds?
Yes! Once your Windows 11 update installs cleanly and your PC boots up normally, you can open File Explorer, navigate to C:\Windows\, and safely delete the SoftwareDistribution.old folder you renamed in Fix #1. Doing so usually frees up anywhere from 2 GB to 8 GB of wasted storage space.
Why does error 0x8007000d happen when activating Windows or opening Xbox Game Pass games?
Because 0x8007000d is a system-wide "invalid data" error, it isn't strictly limited to Windows Update. If you see it inside the Xbox App or Microsoft Store when launching a game, it means the local licensing token is corrupted. Resetting the Microsoft Store cache by pressing Windows Key + R, typing wsreset.exe, and hitting Enter usually clears it right up (similar to the steps we covered in Microsoft Store Error Code 0x80073CF3: Why Apps Won't Install and How to Fix It).
