0x8007000D The data is invalid
The data used for the operation is corrupted or is not in the expected format.
First, check that this guide matches your problem
When it happens
Occurs from reading a settings file or installing an update package.
Common causes
- Corrupted package
- Invalid configuration file
- Incomplete download
Step-by-step fixes
3 steps, 35 min–1 hr 20 min in total. The easiest checks come first, so stop as soon as the problem is fixed.
An interrupted download can leave broken package data that is judged invalid at install time.
- In an admin terminal, stop the services with net stop wuauserv and net stop bits, then run ren C:\Windows\SoftwareDistribution SoftwareDistribution.old.
- Start them again with net start bits and net start wuauserv and download the update afresh.
What to check
If the freshly downloaded update installs, you're done. If it fails again, check the component store with DISM.
Did this step fix it?
If the component data the update relies on is damaged, the same code can appear even after a fresh download.
- In an admin terminal, first see whether there's damage with
DISM /Online /Cleanup-Image /ScanHealth. - If damage is reported, run
DISM /Online /Cleanup-Image /RestoreHealth, thensfc /scannow.
DISM /Online /Cleanup-Image /ScanHealthDISM /Online /Cleanup-Image /RestoreHealthsfc /scannowWhat to check
If the update installs after the repair, you're done. If the repair fails, consider 'Fix problems using Windows Update' in Settings > System > Recovery (recent Windows 11 versions).
Did this step fix it?
A damaged ISO or install package, or a hand-edited config file with broken formatting, produces the same error. Reusing the same file gives the same result.
- Download the file again from the official site, and if the publisher lists a SHA256 value, compare it in PowerShell with Get-FileHash followed by the file path.
- If it started after you edited an app's config file, restore the backed-up original or use the app's reset-settings option.
What to check
If the new file works, you're done. If each new download has a different hash, suspect the network or storage and try downloading to another drive or over another network.
Did this step fix it?
Frequently asked questions
Related PC FIX problems
Official references
Content reviewed: 2026-10-07