Error 0x800f081f — “the source files could not be found”, fixed

You’ll meet 0x800f081f when DISM tries to repair Windows and can’t find clean copies of the files it needs — its repair source (Windows Update, or a policy pointing elsewhere) didn’t deliver. The fix is to give DISM a source you control: the install media for your exact Windows build.

The fix, in order

  1. Run the cleanup first, then retry: DISM /Online /Cleanup-Image /StartComponentCleanup, restart, then DISM /Online /Cleanup-Image /RestoreHealth again. A cluttered component store causes a share of these.
  2. Give DISM the install media as its source. Download the Windows ISO from Microsoft for your version, mount it (double-click), note the drive letter, then run: DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\sources\install.wim /LimitAccess (replace D: with the mounted letter; if the ISO contains install.esd, use that name with esd in the path format).
  3. Match the build. The ISO’s Windows version and build should match what’s installed (winver shows yours) — a mismatched source is refused with this same code.
  4. Then run sfc /scannow — with the store repaired, SFC can finally fix the files it flagged.
  5. If this PC is managed by group policy (work machines especially), the policy “Specify settings for optional component installation” may point DISM at a dead server — the fix is in that policy, set to contact Windows Update directly.

If it still happens

On a home PC where the ISO source still fails, an in-place repair install (run setup.exe from the mounted ISO, choose “Keep personal files and apps”) rebuilds the whole component store and is the reliable end of this road.

Common questions

Where do I get install.wim? Inside the official Windows ISO: sources\install.wim (or install.esd on smaller ISOs). Mount the ISO in File Explorer and it appears as a DVD drive.

Is 0x800f081f harmful by itself? It’s a repair that couldn’t complete, not damage. But it leaves the original problem unrepaired, which is why it’s worth finishing.

Related errors

Windows Update error 0x80070002 · UNEXPECTED_STORE_EXCEPTION · CRITICAL_PROCESS_DIED