DISM and component servicing error
0x800F081F CBS_E_SOURCE_MISSING
The source files could not be found: Windows servicing needed files for a feature or update and could not get them. Common when turning on .NET Framework 3.5 or when DISM repairs fail.
Where you will see it
- Windows Update
- DISM /RestoreHealth
- Turning on .NET Framework 3.5
Likely causes, most common first
- The component store is damaged and the files cannot be rebuilt.
- A policy points Windows at an update server without the files.
- No installation media given as a source.
How to fix it, in this order
Start with the first fix and check the result before moving on; each one says how to tell that it worked.
1. Repair the Windows component store and system files (easy)
- Right-click Start, choose Terminal (Admin) or Windows PowerShell (Admin), and say Yes to the prompt.
- Run: DISM /Online /Cleanup-Image /RestoreHealth (it can sit at 20% or 62% for several minutes; let it finish).
- Then run: sfc /scannow
- Restart and try the update or install again.
It worked if: DISM ends with "The restore operation completed successfully" and sfc reports no integrity violations, or that it repaired them.
2. Give DISM a source from installation media (for .NET 3.5) (moderate)
- Download the Windows ISO for your version and double-click it to mount it (say it is drive D:).
- Right-click Start, choose Terminal (Admin) or Windows PowerShell (Admin), and say Yes to the prompt.
- Run: DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /Source:D:\sources\sxs /LimitAccess
It worked if: DISM ends with "The operation completed successfully".
3. Repair Windows while keeping your files and apps (moderate)
- Windows 11: open Settings, System, Recovery, and press Reinstall now next to "Fix problems using Windows Update".
- Or download the Media Creation Tool or Installation Assistant from microsoft.com/software-download and choose to keep personal files and apps.
- Back up anything important first, then let it run; it takes about an hour.
It worked if: Windows restarts on the same or a newer build and the update installs.
What Microsoft's documentation says
Microsoft's own wording for this code, quoted from the page named under each quote. The plain-English explanation and the fixes above are ours.
“The source files could not be found.”
“This error code can occur when an alternative installation source is specified and one of the following conditions is true:”
Microsoft lists three conditions: the source folder does not hold the files, you lack read access to it, or the files are damaged, incomplete or for a different Windows version.
“Component Store corruption”
Microsoft’s fix: run DISM /Online /Cleanup-Image /RestoreHealth and then sfc /scannow from an elevated prompt, and restart.
The same code, written other ways
Search a log or a forum for any of these; they are all this code.
- 0x800F081F (what Windows Update, DISM and installers print)
- -2146498529 (signed decimal, as PowerShell and some logs show it)
- 2148468767 (unsigned decimal)
How the code is put together
Read from the bits as Microsoft's [MS-ERREF] Windows Error Codes specification lays them out.
- Severity: 1 (failure) (bit 31)
- Customer bit: 0 (Microsoft) (bit 29)
- NTSTATUS inside: 0 (bit 28)
- Facility: 15 (FACILITY_SETUPAPI) (bits 16-26)
- Code: 2079 (0x81F) (bits 0-15)
Codes that often come with it
- 0x800F0906 CBS_E_DOWNLOAD_FAILURE
Windows servicing could not download the files it needed, usually from Windows Update.
- 0x800F0907 CBS_E_GROUPPOLICY_DISALLOWED
Group policy stopped Windows from downloading the files it needed.
- 0x80073712 ERROR_SXS_COMPONENT_STORE_CORRUPT
The Windows component store (WinSxS), where Windows keeps the parts updates are built from, is corrupted.
More than one code in your log?
Paste the whole CBS, DISM or Windows Update log into the decoder. It lists every code in it, in order, with the line it was on. Decoded in your browser; nothing is sent.
Open the error code decoder →Helping someone with the same problem?
Send them this page, or link to it from a forum reply or your own site.